python3 -m fmpy simulate --output-file ThermofluidStream_dev_ThermofluidStream.Idealized.Tests.Processes.Isenthalpic.EnforcePressureDrop_res.csv --start-time 0 --stop-time 1 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_dev_ThermofluidStream_Idealized_Tests_Processes_Isenthalpic_EnforcePressureDrop.fmu LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Interfaces/SISOFlow.mo:27:3-28:58:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((pout1.p_min >= 611.657 and pout1.p_min <= 1e8)) --> "Variable violating min/max constraint: 611.657 <= pout1.p_min <= 1e8, has value: 100" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Interfaces/SISOFlow.mo:27:3-28:58:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((prLoss1.p_min >= 611.657 and prLoss1.p_min <= 1e8)) --> "Variable violating min/max constraint: 611.657 <= prLoss1.p_min <= 1e8, has value: 100" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Interfaces/SISOFlow.mo:27:3-28:58:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((dpLoss1.p_min >= 611.657 and dpLoss1.p_min <= 1e8)) --> "Variable violating min/max constraint: 611.657 <= dpLoss1.p_min <= 1e8, has value: 100" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Interfaces/SISOFlow.mo:27:3-28:58:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((pout.p_min >= 611.657 and pout.p_min <= 1e8)) --> "Variable violating min/max constraint: 611.657 <= pout.p_min <= 1e8, has value: 100" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Interfaces/SISOFlow.mo:27:3-28:58:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((prLoss.p_min >= 611.657 and prLoss.p_min <= 1e8)) --> "Variable violating min/max constraint: 611.657 <= prLoss.p_min <= 1e8, has value: 100" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Interfaces/SISOFlow.mo:27:3-28:58:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((dpLoss.p_min >= 611.657 and dpLoss.p_min <= 1e8)) --> "Variable violating min/max constraint: 611.657 <= dpLoss.p_min <= 1e8, has value: 100" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Idealized/Processes/Isenthalpic.mo:51:5-53:22:writable] | | | | The following assertion has been violated at time 0.250000 | | | | ((noEvent(firstOrder.y * dpLoss1.dpLoss >= -2.220446049250313e-16))) --> "In "EnforcePressureDrop.dpLoss" the prescribed pressure loss would cause a pressure rise in flow direction and was clipped." LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Idealized/Processes/Isenthalpic.mo:51:5-53:22:writable] | | | | The following assertion has been violated at time 0.250000 | | | | ((noEvent(firstOrder.y * prLoss.dpLoss_set >= -2.220446049250313e-16))) --> "In "EnforcePressureDrop.prLoss" the prescribed pressure loss would cause a pressure rise in flow direction and was clipped." LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Idealized/Processes/Isenthalpic.mo:51:5-53:22:writable] | | | | The following assertion has been violated at time 0.250000 | | | | ((noEvent(firstOrder.y * pout.dpLoss_set >= -2.220446049250313e-16))) --> "In "EnforcePressureDrop.pout" the prescribed pressure loss would cause a pressure rise in flow direction and was clipped." LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Idealized/Processes/Isenthalpic.mo:55:3-58:20:writable] | | | | The following assertion has been violated at time 0.250000 | | | | ((noEvent(firstOrder.y * dpLoss1.dpLoss >= -2.220446049250313e-16))) --> "In "EnforcePressureDrop.dpLoss1" the pressure rises in the direction of the flow. | | | | An isenthalpic pressure increase however violates the second law of thermodynamics." LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Idealized/Processes/Isenthalpic.mo:55:3-58:20:writable] | | | | The following assertion has been violated at time 0.250000 | | | | ((noEvent(firstOrder.y * prLoss1.dpLoss >= -2.220446049250313e-16))) --> "In "EnforcePressureDrop.prLoss1" the pressure rises in the direction of the flow. | | | | An isenthalpic pressure increase however violates the second law of thermodynamics." LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream main/Idealized/Processes/Isenthalpic.mo:55:3-58:20:writable] | | | | The following assertion has been violated at time 0.250000 | | | | ((noEvent(firstOrder.y * pout1.dpLoss >= -2.220446049250313e-16))) --> "In "EnforcePressureDrop.pout1" the pressure rises in the direction of the flow. | | | | An isenthalpic pressure increase however violates the second law of thermodynamics." [ERROR][rank 0][/home/runner/work/FMPy/FMPy/native/sundials-7.5.0/src/cvode/cvode.c:3739][cvHandleFailure] At t = 0.510192076577657 and h = 5.74631072155032e-08, the error test failed repeatedly or with |h| = hmin. Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/__main__.py", line 4, in main() File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/cli.py", line 186, in main result = simulate_fmu(args.fmu_filename, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/simulation.py", line 788, in simulate_fmu result = simulateME(model_description, fmu, start_time, stop_time, solver, step_size, relative_tolerance, start_values, apply_default_start_values, input, output, output_interval, record_events, timeout, step_finished, validate, set_stop_time) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/simulation.py", line 1101, in simulateME state_event, roots_found, time = solver.step(time, next_communication_point) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/hudson/saved_omc/libraries/.local/lib/python3.12/site-packages/fmpy/sundials/__init__.py", line 185, in step raise RuntimeError("CVode error (code %s) in module %s, function %s: %s" % self.error_info) RuntimeError: CVode error (code -3) in module cvHandleFailure, function /home/runner/work/FMPy/FMPy/native/sundials-7.5.0/src/cvode/cvode.c: At t = 0.510192076577657 and h = 5.74631072155032e-08, the error test failed repeatedly or with |h| = hmin.