python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Fluid.Examples.BloodGasesTransport.BloodyMary_res.csv --start-time 0 --stop-time 1800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.72 Physiolibrary_Physiolibrary_Fluid_Examples_BloodGasesTransport_BloodyMary.fmu LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:786:7-786:76:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((respiratoryUnit[1].alveoli.massOffset >= 0.0)) --> "Variable violating min constraint: 0.0 <= respiratoryUnit[1].alveoli.massOffset, has value: -5.42101e-20" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:786:7-786:76:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((respiratoryUnit[1].pulmCapysVentilated.massOffset >= 0.0)) --> "Variable violating min constraint: 0.0 <= respiratoryUnit[1].pulmCapysVentilated.massOffset, has value: -3.73818e-09" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:786:7-786:76:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((systemicArteries.massOffset >= 0.0)) --> "Variable violating min constraint: 0.0 <= systemicArteries.massOffset, has value: -2.1183e-08" LOG_ASSERT | warning | [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/Fluid.mo:786:7-786:76:writable] | | | | The following assertion has been violated at time 0.000000 | | | | ((pulmonaryVeins.massOffset >= 0.0)) --> "Variable violating min constraint: 0.0 <= pulmonaryVeins.massOffset, has value: -9.96848e-09" LOG_ASSERT | debug | Solving non-linear system 6444 failed at time=0.10769379827952. | | | | For more information please use -lv LOG_NLS. Exception ignored on calling ctypes callback function: > Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 153, in g self.get_z(gout, self.nz) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 508, in getEventIndicators return self.fmi2GetEventIndicators(self.component, z, nz) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetEventIndicators failed with status 3 (error). 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 "/usr/local/lib/python3.10/dist-packages/fmpy/__main__.py", line 4, in main() File "/usr/local/lib/python3.10/dist-packages/fmpy/command_line.py", line 167, in main result = simulate_fmu(args.fmu_filename, File "/usr/local/lib/python3.10/dist-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 "/usr/local/lib/python3.10/dist-packages/fmpy/simulation.py", line 1059, in simulateME state_event, roots_found, time = solver.step(time, t_next) File "/usr/local/lib/python3.10/dist-packages/fmpy/sundials/__init__.py", line 178, in step raise RuntimeError("CVode error (code %s) in module %s, function %s: %s" % self.error_info) RuntimeError: CVode error (code -12) in module CVODE, function cvRcheck3: At t = 0.10409, the rootfinding routine failed in an unrecoverable manner.