python3 -m fmpy simulate --output-file MEV_MEV.Simulations.OnOffControl.Scenario6_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.005 MEV_MEV_Simulations_OnOffControl_Scenario6.fmu LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -18.8221 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -18.6887 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -17.4882 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1865 failed at time=0.857142859478668. | | | | 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 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.80397 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.77737 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.53801 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1865 failed at time=0.857142857610029. | | | | 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 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -10.6087 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -6.81085 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -4.32322 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.69383 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.62658 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.927529 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.469652 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.169742 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.298832 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.186524 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.112962 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0647786 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0332187 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0125469 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0720534 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0468523 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0303457 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0195338 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0124521 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00781349 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00477524 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00278518 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00148169 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000627904 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -6.86752e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0408704 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0266675 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0173645 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0112711 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00727987 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00466564 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00295331 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00183174 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00109711 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000615929 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000300755 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -9.43157e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0155972 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0102021 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00666825 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00435359 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00283749 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00184445 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.001194 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000767959 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000488902 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00030612 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000186397 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000107979 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.6615e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.29716e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -9.35228e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0090355 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0059136 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00386875 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00252937 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00165208 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00107746 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000701077 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000454549 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000293072 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000187305 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000118028 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -7.26513e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -4.29296e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.34618e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.07105e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.35834e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00438243 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00286942 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00187839 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00122927 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000804101 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000525613 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000343202 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000223724 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000145465 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -9.42061e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -6.06312e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.86397e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.42353e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.48003e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -8.62048e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -4.57267e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.92135e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.84735e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00246378 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00161344 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00105648 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000691664 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000452711 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000296197 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00019368 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000126532 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -8.25497e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.37414e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.48719e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.25124e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.44169e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -9.11439e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.64123e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.36631e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.87623e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -9.00235e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.60956e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00109487 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000717085 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000469636 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000307557 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000201396 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00013186 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -8.63137e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.6481e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.69406e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.41417e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.57584e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.02673e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -6.67065e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -4.31485e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.77179e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.76109e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.09909e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -6.65469e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.81451e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.95419e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -7.35684e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000459889 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.000301225 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.0001973 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -0.00012923 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -8.46432e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.54391e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.63105e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.37812e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.55745e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.01992e-05 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -6.6783e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -4.37213e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.86159e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.87219e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.22413e-06 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -7.99651e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.21617e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.39505e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -2.20222e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -1.42091e-07 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -9.09155e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -5.73955e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.54399e-08 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -10.6089 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 0.857143. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -45.5649 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -45.2532 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -42.4482 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1742 failed at time=0.942857144977632. | | | | 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 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -8.15161 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -8.08936 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -7.52915 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1742 failed at time=0.942857143281254. | | | | 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 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.668955 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.656593 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[6].valve_out.air.rho) was -0.545335 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1742 failed at time=0.942857142941979. | | | | 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 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -17.4076 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -17.4076 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -17.4076 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1584 failed at time=1.41428571578382. | | | | 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 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.52123 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.52123 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_out.air.rho) was -2.52123 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1584 failed at time=1.41428571458535. | | | | 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 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_in.air.rho) was -135.454 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_in.air.rho) was -24.8304 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[10].valve_in.air.rho) was -3.78868 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -11903.1 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -7796.1 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -5106.03 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -3344.04 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -2189.93 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -1433.99 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -938.855 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -614.538 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -402.111 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -262.971 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -171.834 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -112.14 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -73.0396 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -47.4292 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -30.6543 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -19.6668 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -12.47 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -7.75605 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -4.66843 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -2.64604 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -1.32138 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -0.45372 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[2].valve_in.air.rho) was -11877.6 should be >= 0 LOG_STDOUT | warning | While solving non-linear system an assertion failed at time 2.06897. | | | | | The non-linear solver tries to solve the problem that could take some time. | | | | | It could help to provide better start-values for the iteration variables. | | | | | For more information simulate with -lv LOG_NLS_V LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -21.6366 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -21.4845 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -20.1152 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1865 failed at time=2.14285714605185. | | | | 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 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives failed with status 3 (error). LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.35758 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.3273 should be >= 0 LOG_ASSERT | debug | Model error: Argument of sqrt(patients[3].valve_out.air.rho) was -3.05472 should be >= 0 LOG_ASSERT | debug | Solving non-linear system 1865 failed at time=2.14285714349609. | | | | 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 141, in f self.get_dx(NV_DATA_S(ydot), self.nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 505, in getDerivatives return self.fmi2GetDerivatives(self.component, dx, nx) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2GetDerivatives 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 -1) in module CVODE, function CVode: At t = 2.3071, mxstep steps taken before reaching tout.