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.001107/0.001107, allocations: 107.4 kB / 18.46 MB, free: 4.59 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.001268/0.001268, allocations: 187.1 kB / 19.39 MB, free: 3.668 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.379/1.379, allocations: 222.9 MB / 243.1 MB, free: 15.09 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.2213/0.2213, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.986e-05/2.987e-05, allocations: 5.656 kB / 471.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestPressureLossDerivatives): time 0.002581/0.002619, allocations: 1.445 MB / 472.6 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.004607, allocations: 1.421 MB / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.004663, allocations: 0 / 474 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001965/0.004869, allocations: 31.78 kB / 474.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.00511, allocations: 47.69 kB / 474.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.005602, allocations: 235.1 kB / 474.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.005734, allocations: 59.66 kB / 474.4 MB, free: 9.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.735e-05/0.005789, allocations: 4 kB / 474.4 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.647e-05/0.005851, allocations: 23.92 kB / 474.4 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.193e-05/0.005919, allocations: 23.86 kB / 474.5 MB, free: 9.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.005939, allocations: 4 kB / 474.5 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005137/0.006457, allocations: 335.6 kB / 474.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0001388/0.006607, allocations: 106.6 kB / 474.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 4.401e-05/0.006657, allocations: 74.88 kB / 475 MB, free: 9.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.006683, allocations: 4 kB / 475 MB, free: 9.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.29e-05/0.006701, allocations: 4 kB / 475 MB, free: 9.41 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.0005327/0.007239, allocations: 430.3 kB / 475.4 MB, free: 8.887 MB / 350.1 MB Notification: Performance of FunctionAlias: time 8.312e-05/0.007328, allocations: 31.81 kB / 475.4 MB, free: 8.855 MB / 350.1 MB Notification: Performance of Early Inline: time 0.0006514/0.007988, allocations: 0.6561 MB / 476.1 MB, free: 8.172 MB / 350.1 MB Notification: Performance of simplify1: time 5.034e-05/0.008048, allocations: 55.92 kB / 476.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of Alias: time 0.0006084/0.008665, allocations: 405.5 kB / 476.5 MB, free: 7.652 MB / 350.1 MB Notification: Performance of simplify2: time 5.659e-05/0.008731, allocations: 59.94 kB / 476.6 MB, free: 7.594 MB / 350.1 MB Notification: Performance of Events: time 0.0003919/0.009129, allocations: 360.6 kB / 476.9 MB, free: 7.242 MB / 350.1 MB Notification: Performance of Detect States: time 0.0002131/0.009351, allocations: 156 kB / 477.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of Partitioning: time 0.000129/0.009488, allocations: 116.1 kB / 477.2 MB, free: 6.945 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: {}