Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rho_a|rho_b|mu_a|mu_b|dp|m_flow1|m_flow2|der_m_flow1",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 107.2 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 179.8 kB / 19.39 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 243.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2262/0.2262, allocations: 44.18 MB / 337.4 MB, free: 2.695 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.219e-05/3.22e-05, allocations: 2.281 kB / 471.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.003131/0.003174, allocations: 1.453 MB / 472.6 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.005606, allocations: 1.417 MB / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.432e-05/0.005703, allocations: 0 / 474 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.005926, allocations: 31.78 kB / 474.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.006236, allocations: 47.69 kB / 474.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007511/0.007018, allocations: 227.1 kB / 474.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001955/0.007224, allocations: 67.7 kB / 474.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.934e-05/0.007291, allocations: 7.984 kB / 474.4 MB, free: 10 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.00737, allocations: 19.88 kB / 474.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.094e-05/0.007458, allocations: 27.86 kB / 474.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.007477, allocations: 0 / 474.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006922/0.008175, allocations: 327.6 kB / 474.8 MB, free: 9.633 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001281/0.008318, allocations: 106.7 kB / 474.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 5.577e-05/0.008381, allocations: 82.81 kB / 475 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.113e-05/0.008408, allocations: 4 kB / 475 MB, free: 9.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.25e-05/0.008426, allocations: 0 / 475 MB, free: 9.441 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 (8) * Number of variables: 8 (8) Notification: Performance of Bindings: time 0.000603/0.009034, allocations: 442.3 kB / 475.4 MB, free: 8.906 MB / 350.1 MB Notification: Performance of FunctionAlias: time 9.496e-05/0.009136, allocations: 31.33 kB / 475.4 MB, free: 8.879 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0007088/0.009853, allocations: 0.6678 MB / 476.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of simplify1: time 6.469e-05/0.009928, allocations: 55.92 kB / 476.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of Alias: time 0.0006619/0.0106, allocations: 393.6 kB / 476.5 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simplify2: time 8.154e-05/0.01069, allocations: 59.94 kB / 476.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of Detect States: time 0.000191/0.01089, allocations: 116.1 kB / 476.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of Events: time 0.0004644/0.01136, allocations: 364.6 kB / 477.1 MB, free: 7.133 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001727/0.01154, allocations: 112.2 kB / 477.2 MB, free: 7.008 MB / 350.1 MB Error: Internal error NBResolveSingularities.noIndexReduction failed. (1|1) Unmatched Variables *************************** [ALGB] (1) Real der_m_flow1 slice: {} (1|1) Unmatched Equations *************************** [SCAL] (1) m_flow1 = smooth(2, if $SEV_0 then (if $SEV_1 then sqrt((1.2337005501361697 * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (0.1 + time)) / data.zeta1) else 0.0) * sqrt((-1.0) + time) else if $SEV_2 then -(if $SEV_3 then sqrt((1.2337005501361697 * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (0.2 + 0.5 * time)) / data.zeta2) else 0.0) * sqrt(abs((-1.0) + time)) else if $SEV_4 then Modelica.Fluid.Utilities.regRoot2.regRoot2_utility((-1.0) + time, dp_small, (1.2337005501361697 * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (0.1 + time)) / data.zeta1, (1.2337005501361697 * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (0.2 + 0.5 * time)) / data.zeta2, false, 1.0) else -Modelica.Fluid.Utilities.regRoot2.regRoot2_utility(-((-1.0) + time), dp_small, (1.2337005501361697 * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (if data.zeta2_at_a then data.diameter_a else data.diameter_b) * (0.2 + 0.5 * time)) / data.zeta2, (1.2337005501361697 * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (if data.zeta1_at_a then data.diameter_a else data.diameter_b) * (0.1 + time)) / data.zeta1, false, 1.0)) ($RES_SIM_2) slice: {}