Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001267/0.001267, allocations: 109.8 kB / 17.09 MB, free: 5.848 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.001562/0.001562, allocations: 192.2 kB / 18.03 MB, free: 4.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.671/1.671, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2543/0.2543, allocations: 43.53 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.613e-05/3.614e-05, allocations: 2.281 kB / 442.4 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002777/0.002823, allocations: 1.467 MB / 443.9 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.004952, allocations: 1.451 MB / 445.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.318e-05/0.005038, allocations: 0 / 445.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002703/0.005315, allocations: 27.84 kB / 445.4 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002871/0.005611, allocations: 43.64 kB / 445.4 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006692/0.006312, allocations: 235 kB / 445.6 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.006487, allocations: 63.75 kB / 445.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.889e-05/0.006554, allocations: 4 kB / 445.7 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.144e-05/0.006633, allocations: 31.86 kB / 445.7 MB, free: 2.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.006717, allocations: 27.86 kB / 445.8 MB, free: 2.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.006738, allocations: 4 kB / 445.8 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006484/0.007392, allocations: 335.5 kB / 446.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of combineBinaries: time 9.324e-05/0.007495, allocations: 98.67 kB / 446.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 3.556e-05/0.007537, allocations: 74.94 kB / 446.3 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.007563, allocations: 7.938 kB / 446.3 MB, free: 1.867 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.154e-05/0.00758, allocations: 0 / 446.3 MB, free: 1.867 MB / 318.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.0004852/0.008073, allocations: 442.2 kB / 446.7 MB, free: 1.332 MB / 318.1 MB Notification: Performance of FunctionAlias: time 7.902e-05/0.008159, allocations: 31.86 kB / 446.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0005699/0.008734, allocations: 0.6522 MB / 447.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of simplify1: time 4.895e-05/0.008796, allocations: 63.92 kB / 447.5 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of Alias: time 0.0006171/0.009418, allocations: 385.6 kB / 447.8 MB, free: 116 kB / 318.1 MB Notification: Performance of simplify2: time 7.911e-05/0.009508, allocations: 71.86 kB / 447.9 MB, free: 44 kB / 318.1 MB Notification: Performance of Detect States: time 0.000227/0.009741, allocations: 112 kB / 448 MB, free: 15.92 MB / 334.1 MB Notification: Performance of Events: time 0.0005312/0.01028, allocations: 364.3 kB / 448.4 MB, free: 15.56 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001591/0.01045, allocations: 108.2 kB / 448.5 MB, free: 15.44 MB / 334.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: {}