opm-simulators icon indicating copy to clipboard operation
opm-simulators copied to clipboard

Assertion `old_value >= -EPSILON && old_value <= (1.0+EPSILON)' failed

Open iffanh opened this issue 1 year ago • 0 comments

Hi, I got the following error message below. Any ideas on what could be the reason for this?

I can reproduce it but it will take a while since the input data comes from an optimization study (I have to debug the code a bit)

Thanks in advance!

flow: ./opm/simulators/wells/StandardWellPrimaryVariables.cpp:55: Scalar {anonymous}::relaxationFactorFraction(Scalar, Scalar) [with Scalar = double]: Assertion `old_value >= -EPSILON && old_value <= (1.0+EPSILON)' failed.
[bcf:2288901] *** Process received signal ***
[bcf:2288901] Signal: Aborted (6)
[bcf:2288901] Signal code:  (-6)
[bcf:2288901] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f7b078d3520]
[bcf:2288901] [ 1] /lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f7b079279fc]
[bcf:2288901] [ 2] /lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f7b078d3476]
[bcf:2288901] [ 3] /lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f7b078b97f3]
[bcf:2288901] [ 4] /lib/x86_64-linux-gnu/libc.so.6(+0x2871b)[0x7f7b078b971b]
[bcf:2288901] [ 5] /lib/x86_64-linux-gnu/libc.so.6(+0x39e96)[0x7f7b078cae96]
[bcf:2288901] [ 6] /lib/x86_64-linux-gnu/libopmsimulators.so.2023.10(+0x19be234)[0x7f7b0a93b234]
[bcf:2288901] [ 7] /lib/x86_64-linux-gnu/libopmsimulators.so.2023.10(_ZNK3Opm28StandardWellPrimaryVariablesINS_19BlackOilFluidSystemIdNS_26BlackOilDefaultIndexTraitsEEENS_23BlackOilTwoPhaseIndicesILj0ELj0ELj0ELj0ELb0ELb0ELj0ELj2ELj0EEEdE33relaxationFactorFractionsProducerERKN4Dune11BlockVectorINS7_13DynamicVectorIdSaIdEEESaISB_EEE+0x3d)[0x7f7b0a93e3dd]
[bcf:2288901] [ 8] /lib/x86_64-linux-gnu/libopmsimulators.so.2023.10(_ZN3Opm28StandardWellPrimaryVariablesINS_19BlackOilFluidSystemIdNS_26BlackOilDefaultIndexTraitsEEENS_23BlackOilTwoPhaseIndicesILj0ELj0ELj0ELj0ELb0ELb0ELj0ELj2ELj0EEEdE12updateNewtonERKN4Dune11BlockVectorINS7_13DynamicVectorIdSaIdEEESaISB_EEEbdd+0x15b)[0x7f7b0a93e8db]
[bcf:2288901] [ 9] /usr/bin/flow(+0x89731b)[0x55746e16a31b]
[bcf:2288901] [10] /usr/bin/flow(+0x89767b)[0x55746e16a67b]
[bcf:2288901] [11] /usr/bin/flow(+0x8a8a67)[0x55746e17ba67]
[bcf:2288901] [12] /usr/bin/flow(+0x82e207)[0x55746e101207]
[bcf:2288901] [13] /usr/bin/flow(+0x84163c)[0x55746e11463c]
[bcf:2288901] [14] /usr/bin/flow(+0x883e46)[0x55746e156e46]
[bcf:2288901] [15] /usr/bin/flow(+0x88432b)[0x55746e15732b]
[bcf:2288901] [16] /usr/bin/flow(+0x8848b5)[0x55746e1578b5]
[bcf:2288901] [17] /usr/bin/flow(+0x88755c)[0x55746e15a55c]
[bcf:2288901] [18] /usr/bin/flow(+0x889a58)[0x55746e15ca58]
[bcf:2288901] [19] /usr/bin/flow(+0x88a249)[0x55746e15d249]
[bcf:2288901] [20] /usr/bin/flow(+0x89060c)[0x55746e16360c]
[bcf:2288901] [21] /usr/bin/flow(+0x8915ab)[0x55746e1645ab]
[bcf:2288901] [22] /usr/bin/flow(+0x88199b)[0x55746e15499b]
[bcf:2288901] [23] /usr/bin/flow(+0x802963)[0x55746e0d5963]
[bcf:2288901] [24] /usr/bin/flow(+0x142112)[0x55746da15112]
[bcf:2288901] [25] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f7b078bad90]
[bcf:2288901] [26] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f7b078bae40]
[bcf:2288901] [27] /usr/bin/flow(+0x15a3d5)[0x55746da2d3d5]
[bcf:2288901] *** End of error message ***

iffanh avatar Feb 14 '24 13:02 iffanh