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.001231/0.001232, allocations: 110.6 kB / 18.45 MB, free: 4.617 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.001252/0.001252, allocations: 191.2 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.382/1.382, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2069/0.2069, allocations: 44.18 MB / 337.4 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 63.89 kB / 471.2 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.403, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.2096/0.6126, allocations: 181.1 MB / 0.6965 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0074/0.6201, allocations: 4.588 MB / 0.701 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007065/0.6208, allocations: 19.88 kB / 0.701 GB, free: 1.645 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.622, allocations: 345.8 kB / 0.7013 GB, free: 1.305 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004849/0.6269, allocations: 1.8 MB / 0.7031 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002459/0.6294, allocations: 0.9461 MB / 0.704 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002348/0.6317, allocations: 1.699 MB / 0.7056 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008079/0.6325, allocations: 445.8 kB / 0.7061 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.6346, allocations: 0.8565 MB / 0.7069 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009812/0.6355, allocations: 498.1 kB / 0.7074 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003191/0.6359, allocations: 56 kB / 0.7074 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002875/0.6388, allocations: 1.295 MB / 0.7087 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002927/0.6391, allocations: 179.5 kB / 0.7089 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006254/0.6397, allocations: 370.4 kB / 0.7092 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003003/0.6427, allocations: 1.639 MB / 0.7108 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.6427, allocations: 4 kB / 0.7108 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.6427, allocations: 0 / 0.7108 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.566e-05/0.6428, allocations: 0 / 0.7108 GB, free: 7.523 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.002306/0.6451, allocations: 1.124 MB / 0.7119 GB, free: 6.348 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.6451, allocations: 8.031 kB / 0.7119 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001321/0.6465, allocations: 159.5 kB / 0.7121 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/0.6475, allocations: 0.5085 MB / 0.7126 GB, free: 5.633 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.476e-05/0.6476, allocations: 33 kB / 0.7126 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.29e-05/0.6477, allocations: 40 kB / 0.7127 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.6489, allocations: 0.6438 MB / 0.7133 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.649, allocations: 0 / 0.7133 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.616e-05/0.649, allocations: 28 kB / 0.7133 GB, free: 4.844 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.6491, allocations: 12 kB / 0.7133 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009918/0.6501, allocations: 0.4956 MB / 0.7138 GB, free: 4.336 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.003795/0.6539, allocations: 2.637 MB / 0.7164 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007285/0.6546, allocations: 326.6 kB / 0.7167 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004948/0.6551, allocations: 161 kB / 0.7168 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006304/0.6558, allocations: 437.5 kB / 0.7173 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.6558, allocations: 46.41 kB / 0.7173 GB, free: 460 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 2.655e-06/0.6558, allocations: 0 / 0.7173 GB, free: 460 kB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.2603/0.9161, allocations: 0.6989 MB / 0.718 GB, free: 190.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.9162, allocations: 157.8 kB / 0.7181 GB, free: 190.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008021/0.917, allocations: 0.5184 MB / 0.7186 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.9171, allocations: 36.64 kB / 0.7187 GB, free: 190.6 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.9173, allocations: 312.7 kB / 0.719 GB, free: 190.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.9174, allocations: 132.4 kB / 0.7191 GB, free: 190.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002247/0.9176, allocations: 117.1 kB / 0.7192 GB, free: 190.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.54e-05/0.9177, allocations: 365.5 kB / 0.7196 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.918, allocations: 145.2 kB / 0.7197 GB, free: 189.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.9184, allocations: 317.5 kB / 0.72 GB, free: 189.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006591/0.9191, allocations: 479.2 kB / 0.7205 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.9191, allocations: 2.734 kB / 0.7205 GB, free: 189.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001118/0.9202, allocations: 0.5772 MB / 0.721 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.9203, allocations: 6.875 kB / 0.721 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.9203, allocations: 11.78 kB / 0.721 GB, free: 189.1 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001592/0.9219, allocations: 243.1 kB / 0.7213 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004188/0.9223, allocations: 114.2 kB / 0.7214 GB, free: 189 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003762/0.9227, allocations: 0.5837 MB / 0.722 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.9231, allocations: 60.67 kB / 0.722 GB, free: 188.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.9232, allocations: 53.22 kB / 0.7221 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.0002595/0.9235, allocations: 200.5 kB / 0.7223 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.9236, allocations: 62.42 kB / 0.7223 GB, free: 188.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002064/0.9257, allocations: 1.103 MB / 0.7234 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.9257, allocations: 1.312 kB / 0.7234 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.9257, allocations: 1.703 kB / 0.7234 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.9259, allocations: 139.4 kB / 0.7235 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.926, allocations: 9.094 kB / 0.7235 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002821/0.9263, allocations: 17.38 kB / 0.7236 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.26e-05/0.9264, allocations: 23.94 kB / 0.7236 GB, free: 187.8 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007459/0.9271, allocations: 416.8 kB / 0.724 GB, free: 187.6 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008264/0.9279, allocations: 0.6427 MB / 0.7246 GB, free: 187.2 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002292/0.9282, allocations: 112.7 kB / 0.7247 GB, free: 187.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0005693/0.9288, allocations: 417 kB / 0.7251 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of Backend: time 5.92e-07/0.9288, allocations: 0 / 0.7251 GB, free: 186.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002397/0.9312, allocations: 0.7712 MB / 0.7259 GB, free: 186.8 MB / 0.5606 GB Notification: Performance of SimCode: time 0.002974/0.9342, allocations: 1.724 MB / 0.7275 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.02766/0.9618, allocations: 18.73 MB / 0.7458 GB, free: 173.7 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)