python3 -m fmpy simulate --output-file ThermofluidStream_ThermofluidStream.Media.Tests.TestXRGMedia_res.csv --start-time 0 --stop-time 10 --timeout 1200 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.01 ThermofluidStream_ThermofluidStream_Media_Tests_TestXRGMedia.fmu LOG_ASSERT | error | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.2.0/Media/myMedia/Interfaces.mo:283:7-284:76:writable] | | | | The following assertion has been violated during initialization at time 0.000000 | | | | ((volumeFlex.medium.p >= 0.0)) --> "Pressure (= -766161 Pa) of medium "CO2_ph" is negative | | | | (Temperature = 216.692 K)" Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/__main__.py", line 4, in main() File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/command_line.py", line 169, in main result = simulate_fmu(args.fmu_filename, File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/simulation.py", line 759, 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.10/site-packages/fmpy/simulation.py", line 933, in simulateME fmu.exitInitializationMode() File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 280, in exitInitializationMode return self.fmi2ExitInitializationMode(self.component) File "/home/hudson/saved_omc/libraries/.local/lib/python3.10/site-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2ExitInitializationMode failed with status 3 (error).