Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001952/0.001952, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.49/1.49, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2351/0.2351, allocations: 46.97 MB / 361.6 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,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.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5050,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.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 63.89 kB / 0.4973 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3334, allocations: 66.04 MB / 0.5618 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend): time 0.2182/0.5516, allocations: 160 MB / 0.7181 GB, free: 3.566 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.008551/0.5601, allocations: 4.604 MB / 0.7226 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006999/0.5608, allocations: 19.81 kB / 0.7226 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.5619, allocations: 333.8 kB / 0.7229 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006274/0.5682, allocations: 2.176 MB / 0.725 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002673/0.5709, allocations: 0.9419 MB / 0.726 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002413/0.5733, allocations: 1.695 MB / 0.7276 GB, free: 9.789 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007295/0.574, allocations: 382.4 kB / 0.728 GB, free: 9.406 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002008/0.576, allocations: 0.8878 MB / 0.7288 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008293/0.5768, allocations: 0.5253 MB / 0.7294 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.577, allocations: 52 kB / 0.7294 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003025/0.58, allocations: 1.326 MB / 0.7307 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.5802, allocations: 179.3 kB / 0.7309 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004102/0.5806, allocations: 314.7 kB / 0.7312 GB, free: 6.121 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.5839, allocations: 1.803 MB / 0.7329 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.5839, allocations: 0 / 0.7329 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5839, allocations: 3.938 kB / 0.7329 GB, free: 4.309 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.5839, allocations: 8 kB / 0.7329 GB, free: 4.301 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.002397/0.5863, allocations: 1.084 MB / 0.734 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.5863, allocations: 8.031 kB / 0.734 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001389/0.5877, allocations: 167.5 kB / 0.7342 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001053/0.5888, allocations: 433.6 kB / 0.7346 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.5888, allocations: 37 kB / 0.7346 GB, free: 2.531 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.605e-05/0.5889, allocations: 44 kB / 0.7347 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.5905, allocations: 1.045 MB / 0.7357 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/0.5905, allocations: 4 kB / 0.7357 GB, free: 1.289 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.684e-05/0.5906, allocations: 24 kB / 0.7357 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.5906, allocations: 15.94 kB / 0.7357 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.5916, allocations: 499.5 kB / 0.7362 GB, free: 0.7656 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.2484/0.84, allocations: 1.998 MB / 0.7381 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008386/0.8408, allocations: 299.5 kB / 0.7384 GB, free: 174.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003212/0.8412, allocations: 146.1 kB / 0.7386 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.8414, allocations: 52.22 kB / 0.7386 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.8414, allocations: 38.38 kB / 0.7387 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 3.196e-06/0.8414, allocations: 0 / 0.7387 GB, free: 174.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.001864/0.8433, allocations: 0.6163 MB / 0.7393 GB, free: 174.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.8433, allocations: 163.2 kB / 0.7394 GB, free: 174.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005756/0.8439, allocations: 437.3 kB / 0.7398 GB, free: 174.2 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.024e-05/0.844, allocations: 30.73 kB / 0.7399 GB, free: 174.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001653/0.8441, allocations: 314.3 kB / 0.7402 GB, free: 173.9 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.553e-05/0.8442, allocations: 129.7 kB / 0.7403 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000193/0.8444, allocations: 117.6 kB / 0.7404 GB, free: 173.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.488e-05/0.8445, allocations: 356.4 kB / 0.7407 GB, free: 173.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002798/0.8448, allocations: 144.5 kB / 0.7409 GB, free: 173.4 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004118/0.8452, allocations: 424.7 kB / 0.7413 GB, free: 173 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006029/0.8458, allocations: 467.2 kB / 0.7417 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.8458, allocations: 3.609 kB / 0.7417 GB, free: 172.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0008874/0.8467, allocations: 0.5749 MB / 0.7423 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.8467, allocations: 4.562 kB / 0.7423 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.8467, allocations: 7.375 kB / 0.7423 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.8483, allocations: 242.1 kB / 0.7425 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003795/0.8487, allocations: 119.1 kB / 0.7426 GB, free: 172.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003118/0.849, allocations: 0.5833 MB / 0.7432 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.8493, allocations: 44.83 kB / 0.7433 GB, free: 171.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.692e-05/0.8494, allocations: 54.75 kB / 0.7433 GB, free: 171.9 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.0002352/0.8496, allocations: 190.9 kB / 0.7435 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/0.8498, allocations: 60.95 kB / 0.7436 GB, free: 171.7 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/0.8514, allocations: 1.081 MB / 0.7446 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.431e-06/0.8514, allocations: 3.531 kB / 0.7446 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8514, allocations: 3.969 kB / 0.7446 GB, free: 171.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.311e-05/0.8515, allocations: 51.45 kB / 0.7447 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.813e-05/0.8516, allocations: 7.875 kB / 0.7447 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000277/0.8518, allocations: 11.48 kB / 0.7447 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.8519, allocations: 27.22 kB / 0.7447 GB, free: 171.3 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006365/0.8525, allocations: 417 kB / 0.7451 GB, free: 170.9 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006827/0.8532, allocations: 0.6238 MB / 0.7457 GB, free: 170.3 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001664/0.8534, allocations: 104.2 kB / 0.7458 GB, free: 170.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003216/0.8537, allocations: 345.9 kB / 0.7461 GB, free: 170 MB / 0.5606 GB Notification: Performance of Backend: time 8.12e-07/0.8537, allocations: 3.938 kB / 0.7461 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002065/0.8558, allocations: 0.8035 MB / 0.7469 GB, free: 169.3 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0021/0.8579, allocations: 1.65 MB / 0.7485 GB, free: 167.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.02379/0.8817, allocations: 21 MB / 0.7691 GB, free: 146.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.sim & ./ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.134059310999874] Failed to read output from testmodel.py, exit status != 0: ['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'] 0.8897413320009946 0.898384736 0.312182858 Calling exit ...