Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001357/0.001357, allocations: 119.1 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00145/0.00145, allocations: 209 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.155/1.155, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1769/0.1769, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.615e-05/1.617e-05, allocations: 2.281 kB / 481.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.001916/0.00194, allocations: 1.469 MB / 483.4 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00165/0.003601, allocations: 1.452 MB / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.801e-05/0.003649, allocations: 0 / 484.8 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.003794, allocations: 31.78 kB / 484.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000175/0.003976, allocations: 47.69 kB / 484.9 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004624/0.004453, allocations: 231.1 kB / 485.1 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000106/0.004568, allocations: 55.72 kB / 485.2 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.004608, allocations: 4 kB / 485.2 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.744e-05/0.004661, allocations: 31.84 kB / 485.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.004716, allocations: 27.8 kB / 485.3 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.317e-06/0.00473, allocations: 4 kB / 485.3 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005383/0.005273, allocations: 335.6 kB / 485.6 MB, free: 460 kB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001312/0.005414, allocations: 106.7 kB / 485.7 MB, free: 352 kB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 3.258e-05/0.005453, allocations: 74.88 kB / 485.8 MB, free: 276 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.523e-05/0.005474, allocations: 7.938 kB / 485.8 MB, free: 268 kB / 350.1 MB Notification: Performance of FrontEnd: time 7.695e-06/0.005486, allocations: 4 kB / 485.8 MB, free: 264 kB / 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.0004304/0.00592, allocations: 426.5 kB / 486.2 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FunctionAlias: time 4.901e-05/0.005975, allocations: 30.17 kB / 486.2 MB, free: 15.71 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0005203/0.006501, allocations: 0.66 MB / 486.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simplify1: time 4.086e-05/0.006551, allocations: 51.94 kB / 486.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of Alias: time 0.0004883/0.007045, allocations: 405.5 kB / 487.3 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simplify2: time 5.609e-05/0.00711, allocations: 59.92 kB / 487.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Events: time 0.0003602/0.007475, allocations: 368.8 kB / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001485/0.007631, allocations: 142.5 kB / 487.9 MB, free: 13.94 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0001199/0.007758, allocations: 120.2 kB / 488 MB, free: 13.8 MB / 366.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: {}