python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionTraceSubstances.fmu LOG_ASSERT | debug | The arguments u_min and u_max provided in the function call | | | | solveOneNonlinearEquation(f,u_min,u_max) | | | | do not bracket the root of the single non-linear equation 0=f(u): | | | | u_min = 190 | | | | u_max = 647 | | | | fa = f(u_min) = -723790 | | | | fb = f(u_max) = -357565 | | | | fa and fb must have opposite sign which is not the case LOG_ASSERT | debug | The arguments u_min and u_max provided in the function call | | | | solveOneNonlinearEquation(f,u_min,u_max) | | | | do not bracket the root of the single non-linear equation 0=f(u): | | | | u_min = 190 | | | | u_max = 647 | | | | fa = f(u_min) = -719336 | | | | fb = f(u_max) = -352356 | | | | fa and fb must have opposite sign which is not the case LOG_ASSERT | debug | The arguments u_min and u_max provided in the function call | | | | solveOneNonlinearEquation(f,u_min,u_max) | | | | do not bracket the root of the single non-linear equation 0=f(u): | | | | u_min = 190 | | | | u_max = 647 | | | | fa = f(u_min) = -679253 | | | | fb = f(u_max) = -305474 | | | | fa and fb must have opposite sign which is not the case LOG_ASSERT | debug | Solving non-linear system 690 failed at time=0.500222352575877. | | | | 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 -8) in module CVODE, function CVode: At t = 0.499999, the right-hand side routine failed in an unrecoverable manner.