Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.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.00186/0.00186, allocations: 79.12 kB / 21.28 MB, free: 380 kB / 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.002227/0.002227, allocations: 165.1 kB / 24.54 MB, free: 3.586 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.416/1.416, allocations: 177.2 MB / 204.9 MB, free: 9.234 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.1393/0.1393, allocations: 19.7 MB / 281 MB, free: 13.02 MB / 270.1 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves") translateModel(ThermoPower.Test.WaterComponents.TestValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves") [Timeout 660] "Notification: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002184/0.002184, allocations: 63.91 kB / 417.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.2708, allocations: 60.45 MB / 478.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestValves): time 0.07428/0.3451, allocations: 65.23 MB / 0.5306 GB, free: 0.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01581/0.3609, allocations: 10.85 MB / 0.5412 GB, free: 5.941 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007191/0.3616, allocations: 31.69 kB / 0.5412 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.3628, allocations: 393.2 kB / 0.5416 GB, free: 5.523 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001451/0.3643, allocations: 0.5704 MB / 0.5421 GB, free: 4.945 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0151/0.3794, allocations: 5.706 MB / 0.5477 GB, free: 15.24 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002117/0.3815, allocations: 1.567 MB / 0.5492 GB, free: 13.66 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008146/0.3823, allocations: 0.543 MB / 0.5498 GB, free: 13.11 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.3835, allocations: 0.8841 MB / 0.5506 GB, free: 12.22 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009706/0.3844, allocations: 0.634 MB / 0.5512 GB, free: 11.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001231/0.3846, allocations: 72 kB / 0.5513 GB, free: 11.52 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.012/0.3966, allocations: 6.201 MB / 0.5574 GB, free: 5.309 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003299/0.3969, allocations: 203.2 kB / 0.5576 GB, free: 5.109 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006614/0.3976, allocations: 434.1 kB / 0.558 GB, free: 4.684 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009293/0.4069, allocations: 4.485 MB / 0.5624 GB, free: 192 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.4069, allocations: 0 / 0.5624 GB, free: 192 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4069, allocations: 0 / 0.5624 GB, free: 192 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.4069, allocations: 0 / 0.5624 GB, free: 192 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.007377/0.4143, allocations: 1.834 MB / 0.5641 GB, free: 14.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4143, allocations: 8.031 kB / 0.5641 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005655/0.4149, allocations: 144.3 kB / 0.5643 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.4161, allocations: 0.6116 MB / 0.5649 GB, free: 13.53 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.4164, allocations: 370.7 kB / 0.5652 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.4165, allocations: 64.12 kB / 0.5653 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/0.4196, allocations: 1.126 MB / 0.5664 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.4196, allocations: 0 / 0.5664 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.113e-05/0.4197, allocations: 24 kB / 0.5664 GB, free: 11.86 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.046e-05/0.4197, allocations: 23.94 kB / 0.5664 GB, free: 11.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003931/0.4236, allocations: 1.613 MB / 0.568 GB, free: 10.22 MB / 478.1 MB 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.003767/0.4274, allocations: 1.992 MB / 0.57 GB, free: 8.18 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.4291, allocations: 0.5393 MB / 0.5705 GB, free: 7.637 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006742/0.4298, allocations: 270.2 kB / 0.5707 GB, free: 7.371 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.929e-05/0.4299, allocations: 12.5 kB / 0.5708 GB, free: 7.359 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.4299, allocations: 39.06 kB / 0.5708 GB, free: 7.312 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005641/0.4305, allocations: 95.75 kB / 0.5709 GB, free: 7.219 MB / 478.1 MB Notification: Performance of pre-optimization done (n=51): time 2.385e-06/0.4305, allocations: 0 / 0.5709 GB, free: 7.219 MB / 478.1 MB Notification: Performance of matching and sorting (n=51): time 0.01039/0.4409, allocations: 2.023 MB / 0.5729 GB, free: 5.184 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.4409, allocations: 59.91 kB / 0.5729 GB, free: 5.113 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000631/0.4415, allocations: 0.5196 MB / 0.5734 GB, free: 4.582 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.4416, allocations: 33.7 kB / 0.5735 GB, free: 4.543 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002915/0.4419, allocations: 361 kB / 0.5738 GB, free: 4.188 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.442, allocations: 186.3 kB / 0.574 GB, free: 4.004 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001861/0.4422, allocations: 98.16 kB / 0.5741 GB, free: 3.902 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.4425, allocations: 378.8 kB / 0.5744 GB, free: 3.523 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006607/0.4431, allocations: 230.7 kB / 0.5747 GB, free: 3.293 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006327/0.4437, allocations: 232.4 kB / 0.5749 GB, free: 3.07 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001266/0.445, allocations: 466.6 kB / 0.5753 GB, free: 2.613 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.445, allocations: 3.938 kB / 0.5753 GB, free: 2.609 MB / 478.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.003316/0.4483, allocations: 0.9037 MB / 0.5762 GB, free: 1.691 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4483, allocations: 7.938 kB / 0.5762 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.4484, allocations: 0 / 0.5762 GB, free: 1.684 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009165/0.4575, allocations: 1.217 MB / 0.5774 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004036/0.4579, allocations: 71.94 kB / 0.5775 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/0.4602, allocations: 0.9971 MB / 0.5784 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006158/0.4608, allocations: 31.91 kB / 0.5785 GB, free: 15.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-05/0.4609, allocations: 27.97 kB / 0.5785 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008041/0.4617, allocations: 341.9 kB / 0.5788 GB, free: 14.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006296/0.4623, allocations: 255.9 kB / 0.5791 GB, free: 14.71 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001187/0.4635, allocations: 440.3 kB / 0.5795 GB, free: 14.28 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.288e-06/0.4635, allocations: 8 kB / 0.5795 GB, free: 14.27 MB / 494.1 MB Notification: Performance of matching and sorting (n=55) (initialization_lambda0): time 0.001779/0.4653, allocations: 0.6462 MB / 0.5801 GB, free: 13.62 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.159e-05/0.4653, allocations: 4 kB / 0.5801 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4653, allocations: 3.938 kB / 0.5801 GB, free: 13.61 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003282/0.4656, allocations: 68.73 kB / 0.5802 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.4662, allocations: 119.8 kB / 0.5803 GB, free: 13.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/0.4679, allocations: 1.437 MB / 0.5817 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.4685, allocations: 31.95 kB / 0.5818 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.4685, allocations: 19.98 kB / 0.5818 GB, free: 11.83 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (V5.fluidState.phase,V4.fluidState.phase,V3.fluidState.phase,V2.fluidState.phase,V1.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * 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 {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002227/0.4688, allocations: 212.1 kB / 0.582 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.4689, allocations: 79.59 kB / 0.5821 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002232/0.4711, allocations: 0.8488 MB / 0.5829 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.4712, allocations: 3.984 kB / 0.5829 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4712, allocations: 0 / 0.5829 GB, free: 10.67 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.4713, allocations: 71.45 kB / 0.583 GB, free: 10.6 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.491e-05/0.4714, allocations: 12 kB / 0.583 GB, free: 10.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.4718, allocations: 31.97 kB / 0.583 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.472, allocations: 60.48 kB / 0.5831 GB, free: 10.5 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002965/0.4749, allocations: 0.9277 MB / 0.584 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002259/0.4772, allocations: 1.068 MB / 0.585 GB, free: 8.477 MB / 494.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006085/0.4778, allocations: 221 kB / 0.5852 GB, free: 8.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004404/0.4783, allocations: 363.1 kB / 0.5856 GB, free: 7.914 MB / 494.1 MB Notification: Performance of Backend: time 6.01e-07/0.4783, allocations: 0 / 0.5856 GB, free: 7.914 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007681/0.4859, allocations: 2.05 MB / 0.5876 GB, free: 5.844 MB / 494.1 MB Notification: Performance of SimCode: time 0.003399/0.4893, allocations: 2.147 MB / 0.5897 GB, free: 3.637 MB / 494.1 MB Notification: Performance of Templates: time 0.07158/0.5609, allocations: 48.92 MB / 0.6374 GB, free: 2.906 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestValves.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 7.568068476044573] Failed to read output from testmodel.py, exit status != 0: 0.5698838150128722 0.738548575 0.329217692 Calling exit ...