Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.001109, allocations: 110.7 kB / 18.45 MB, free: 4.609 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.001052/0.001052, allocations: 187.1 kB / 19.39 MB, free: 3.688 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.424/1.424, allocations: 222.9 MB / 243.1 MB, free: 15.14 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.2088/0.2088, allocations: 44.18 MB / 337.4 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 68.12 kB / 471.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.328, allocations: 60.82 MB / 0.5196 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.1959/0.5239, allocations: 181.1 MB / 0.6965 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006983/0.5309, allocations: 4.587 MB / 0.7009 GB, free: 1.668 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006692/0.5316, allocations: 19.88 kB / 0.701 GB, free: 1.648 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009563/0.5326, allocations: 349.8 kB / 0.7013 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004675/0.5373, allocations: 1.798 MB / 0.7031 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002385/0.5397, allocations: 0.9501 MB / 0.704 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002322/0.542, allocations: 1.703 MB / 0.7056 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007949/0.5428, allocations: 442.2 kB / 0.7061 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001737/0.5446, allocations: 0.8527 MB / 0.7069 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008873/0.5455, allocations: 0.4903 MB / 0.7074 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.5457, allocations: 56 kB / 0.7074 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002706/0.5484, allocations: 1.295 MB / 0.7087 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.5486, allocations: 171.5 kB / 0.7089 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000489/0.5491, allocations: 378.4 kB / 0.7092 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002506/0.5516, allocations: 1.629 MB / 0.7108 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5516, allocations: 4 kB / 0.7108 GB, free: 7.531 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.5516, allocations: 3.938 kB / 0.7108 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.884e-05/0.5517, allocations: 0 / 0.7108 GB, free: 7.527 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.002291/0.554, allocations: 1.095 MB / 0.7119 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/0.554, allocations: 8.031 kB / 0.7119 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001234/0.5553, allocations: 151.2 kB / 0.712 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000983/0.5563, allocations: 0.5003 MB / 0.7125 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.504e-05/0.5563, allocations: 36.94 kB / 0.7126 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.475e-05/0.5564, allocations: 40 kB / 0.7126 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.5577, allocations: 0.6517 MB / 0.7132 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.5577, allocations: 0 / 0.7132 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.71e-05/0.5578, allocations: 20 kB / 0.7133 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.5578, allocations: 16 kB / 0.7133 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008785/0.5587, allocations: 0.4917 MB / 0.7138 GB, free: 4.383 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003219/0.5619, allocations: 2.648 MB / 0.7163 GB, free: 1.547 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007049/0.5626, allocations: 322.6 kB / 0.7166 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002888/0.5629, allocations: 164.9 kB / 0.7168 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004222/0.5634, allocations: 437.5 kB / 0.7172 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.052e-05/0.5634, allocations: 42.42 kB / 0.7173 GB, free: 500 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.064e-06/0.5634, allocations: 0 / 0.7173 GB, free: 500 kB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.259/0.8224, allocations: 0.6965 MB / 0.7179 GB, free: 191 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.8225, allocations: 162 kB / 0.7181 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009102/0.8234, allocations: 0.5151 MB / 0.7186 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.907e-05/0.8235, allocations: 33.66 kB / 0.7186 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002286/0.8238, allocations: 305 kB / 0.7189 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.8239, allocations: 122.5 kB / 0.719 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002418/0.8241, allocations: 121.9 kB / 0.7192 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.699e-05/0.8243, allocations: 364.3 kB / 0.7195 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003216/0.8246, allocations: 142.1 kB / 0.7196 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004057/0.825, allocations: 323.3 kB / 0.7199 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007003/0.8257, allocations: 481.5 kB / 0.7204 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.8257, allocations: 1.375 kB / 0.7204 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001059/0.8268, allocations: 0.569 MB / 0.721 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.8268, allocations: 10.22 kB / 0.721 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.8268, allocations: 5.625 kB / 0.721 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001635/0.8285, allocations: 236.8 kB / 0.7212 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/0.8289, allocations: 118.1 kB / 0.7213 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003605/0.8293, allocations: 0.5908 MB / 0.7219 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003818/0.8297, allocations: 58.11 kB / 0.722 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.999e-05/0.8298, allocations: 53.2 kB / 0.722 GB, free: 188.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002615/0.8301, allocations: 191.6 kB / 0.7222 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.8302, allocations: 63.69 kB / 0.7222 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00191/0.8321, allocations: 1.103 MB / 0.7233 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.8321, allocations: 3.719 kB / 0.7233 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.8321, allocations: 1.094 kB / 0.7233 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.8323, allocations: 134.6 kB / 0.7235 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.8324, allocations: 10.22 kB / 0.7235 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.8327, allocations: 13.45 kB / 0.7235 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.684e-05/0.8328, allocations: 25.86 kB / 0.7235 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007379/0.8335, allocations: 419.9 kB / 0.7239 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008559/0.8344, allocations: 0.6443 MB / 0.7245 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002137/0.8346, allocations: 117.1 kB / 0.7246 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005083/0.8351, allocations: 417.8 kB / 0.725 GB, free: 187 MB / 0.5606 GB Notification: Performance of Backend: time 4.6e-07/0.8351, allocations: 0 / 0.725 GB, free: 187 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002342/0.8375, allocations: 0.752 MB / 0.7258 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002735/0.8402, allocations: 1.71 MB / 0.7274 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.02594/0.8662, allocations: 18.73 MB / 0.7457 GB, free: 173.8 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1)