Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.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.001462/0.001462, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.001644/0.001644, allocations: 215.3 kB / 23.75 MB, free: 4.668 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.529/1.529, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.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.1523/0.1523, allocations: 26.81 MB / 340.7 MB, free: 8.203 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.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") [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.002032/0.002032, allocations: 71.89 kB / 477.4 MB, free: 3.133 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3173, allocations: 60.48 MB / 0.5252 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.0177/0.335, allocations: 16.36 MB / 0.5412 GB, free: 14.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01855/0.3536, allocations: 13.64 MB / 0.5545 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003349/0.3539, allocations: 6.25 kB / 0.5545 GB, free: 3.543 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005521/0.3545, allocations: 134.5 kB / 0.5547 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004178/0.3549, allocations: 200 kB / 0.5549 GB, free: 3.273 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01677/0.3716, allocations: 5.388 MB / 0.5601 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002244/0.3739, allocations: 1.958 MB / 0.562 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.3741, allocations: 57.66 kB / 0.5621 GB, free: 14.37 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009063/0.375, allocations: 0.6227 MB / 0.5627 GB, free: 14.07 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.3766, allocations: 0.8011 MB / 0.5635 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002819/0.3769, allocations: 136.7 kB / 0.5636 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01515/0.392, allocations: 6.826 MB / 0.5703 GB, free: 6.844 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006201/0.3927, allocations: 479 kB / 0.5707 GB, free: 6.375 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009449/0.3936, allocations: 0.5723 MB / 0.5713 GB, free: 5.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01141/0.405, allocations: 5.062 MB / 0.5762 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.405, allocations: 8 kB / 0.5762 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.405, allocations: 0 / 0.5762 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.501e-05/0.405, allocations: 0 / 0.5762 GB, free: 0.7188 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.01/0.415, allocations: 2.562 MB / 0.5787 GB, free: 14.12 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.4151, allocations: 8.031 kB / 0.5787 GB, free: 14.11 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001782/0.4169, allocations: 300.2 kB / 0.579 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.4182, allocations: 0.529 MB / 0.5795 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001397/0.4196, allocations: 1.114 MB / 0.5806 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002517/0.4198, allocations: 72 kB / 0.5807 GB, free: 11.89 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009648/0.4295, allocations: 3.374 MB / 0.584 GB, free: 8.504 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/0.4295, allocations: 4 kB / 0.584 GB, free: 8.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001889/0.4297, allocations: 28 kB / 0.584 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.417e-05/0.4298, allocations: 49.98 kB / 0.5841 GB, free: 8.426 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01598/0.4457, allocations: 5.397 MB / 0.5893 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01735/0.4631, allocations: 10.05 MB / 0.5992 GB, free: 8.492 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007913/0.471, allocations: 2.641 MB / 0.6017 GB, free: 5.836 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006425/0.4774, allocations: 2.205 MB / 0.6039 GB, free: 3.629 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1042/0.5816, allocations: 29.2 MB / 0.6324 GB, free: 6.391 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.951e-05/0.5817, allocations: 43.5 kB / 0.6325 GB, free: 6.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.116e-06/0.5817, allocations: 0 / 0.6325 GB, free: 6.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.02306/0.6047, allocations: 6.642 MB / 0.6389 GB, free: 15.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.6048, allocations: 64.41 kB / 0.639 GB, free: 15.61 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/0.6051, allocations: 248.9 kB / 0.6392 GB, free: 15.36 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000279/0.6054, allocations: 37.7 kB / 0.6393 GB, free: 15.32 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.6056, allocations: 253.1 kB / 0.6395 GB, free: 15.07 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.6061, allocations: 321.2 kB / 0.6398 GB, free: 14.75 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007223/0.6069, allocations: 286.3 kB / 0.6401 GB, free: 14.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001935/0.607, allocations: 350.8 kB / 0.6404 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006573/0.6136, allocations: 2.144 MB / 0.6425 GB, free: 11.96 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006711/0.6203, allocations: 2.255 MB / 0.6447 GB, free: 9.676 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01164/0.632, allocations: 3.398 MB / 0.648 GB, free: 6.246 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/0.632, allocations: 4 kB / 0.648 GB, free: 6.242 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01369/0.6457, allocations: 4.142 MB / 0.6521 GB, free: 2.09 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.6457, allocations: 10.66 kB / 0.6521 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.6457, allocations: 0 / 0.6521 GB, free: 2.082 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.475e-05/0.6458, allocations: 11.94 kB / 0.6521 GB, free: 2.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003757/0.6495, allocations: 0.8229 MB / 0.6529 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/0.6495, allocations: 7.984 kB / 0.6529 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/0.6525, allocations: 0.6081 MB / 0.6535 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002756/0.6528, allocations: 91.81 kB / 0.6536 GB, free: 0.5391 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 8 (fluidState[6].phase,fluidState[5].phase,fluidState[4].phase,fluidState[3].phase,fluidState[2].phase,fluidState[1].phase,heatTransfer.dew.phase,heatTransfer.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007337/0.6535, allocations: 261.6 kB / 0.6539 GB, free: 280 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.6539, allocations: 47.72 kB / 0.6539 GB, free: 232 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01618/0.6701, allocations: 6.655 MB / 0.6604 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01494/0.685, allocations: 6.042 MB / 0.6663 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/0.685, allocations: 0 / 0.6663 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.628e-05/0.685, allocations: 11.97 kB / 0.6663 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02145/0.7065, allocations: 9.218 MB / 0.6753 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.7065, allocations: 4 kB / 0.6753 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003704/0.7102, allocations: 0.8034 MB / 0.6761 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.045e-05/0.7102, allocations: 4 kB / 0.6761 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003101/0.7105, allocations: 79.81 kB / 0.6762 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.351e-05/0.7105, allocations: 4 kB / 0.6762 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.7105, allocations: 3.938 kB / 0.6762 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/0.725, allocations: 4.878 MB / 0.681 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.7252, allocations: 118.9 kB / 0.6811 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/0.7255, allocations: 16 kB / 0.6811 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002935/0.7285, allocations: 0.5656 MB / 0.6816 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004003/0.7289, allocations: 140.6 kB / 0.6818 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/0.7291, allocations: 91.81 kB / 0.6819 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002429/0.7294, allocations: 189.2 kB / 0.682 GB, free: 3.289 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.7294, allocations: 4 kB / 0.682 GB, free: 3.285 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003604/0.733, allocations: 1.298 MB / 0.6833 GB, free: 1.984 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 18 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004827/0.7378, allocations: 1.165 MB / 0.6844 GB, free: 0.8125 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0142/0.752, allocations: 4.833 MB / 0.6892 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.752, allocations: 0 / 0.6892 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007023/0.759, allocations: 2.547 MB / 0.6917 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/0.761, allocations: 349.3 kB / 0.692 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.7726, allocations: 4.578 MB / 0.6965 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008598/0.7734, allocations: 1.121 MB / 0.6976 GB, free: 3.316 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002139/0.7756, allocations: 0.7227 MB / 0.6983 GB, free: 2.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001233/0.7768, allocations: 215 kB / 0.6985 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/0.7768, allocations: 0 / 0.6985 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of Templates: time 0.2857/1.063, allocations: 60 MB / 0.7571 GB, free: 179.8 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.569065675139427] Failed to read output from testmodel.py, exit status != 0: 1.0712896715849638 1.079451967 0.67207352 Calling exit ...