Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.001358/0.001358, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.0015/0.0015, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.304/0.304, allocations: 49.57 MB / 337.1 MB, free: 4.121 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002245/0.002245, allocations: 76.48 kB / 477.6 MB, free: 12.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1316, allocations: 62.43 MB / 0.5274 GB, free: 13.8 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.2386/0.3702, allocations: 16.24 MB / 0.5432 GB, free: 12.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.3834, allocations: 13.64 MB / 0.5566 GB, free: 7.133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003183/0.3837, allocations: 9.062 kB / 0.5566 GB, free: 7.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.3842, allocations: 139.7 kB / 0.5567 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003732/0.3846, allocations: 198.3 kB / 0.5569 GB, free: 6.957 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01539/0.4, allocations: 5.345 MB / 0.5621 GB, free: 4.945 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002335/0.4023, allocations: 1.965 MB / 0.564 GB, free: 4.121 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.4025, allocations: 60.86 kB / 0.5641 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000852/0.4034, allocations: 0.6302 MB / 0.5647 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.4045, allocations: 0.7963 MB / 0.5655 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001983/0.4047, allocations: 136.4 kB / 0.5656 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01377/0.4185, allocations: 6.803 MB / 0.5723 GB, free: 0.5859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000466/0.419, allocations: 482.8 kB / 0.5727 GB, free: 240 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008654/0.4198, allocations: 0.5749 MB / 0.5733 GB, free: 15.85 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01219/0.432, allocations: 5.039 MB / 0.5782 GB, free: 12.62 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.432, allocations: 0 / 0.5782 GB, free: 12.62 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.432, allocations: 1.312 kB / 0.5782 GB, free: 12.62 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.4321, allocations: 3.938 kB / 0.5782 GB, free: 12.62 MB / 430.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.01035/0.4424, allocations: 2.553 MB / 0.5807 GB, free: 11.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.4424, allocations: 10 kB / 0.5807 GB, free: 11.17 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.4442, allocations: 298 kB / 0.581 GB, free: 11.03 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/0.4455, allocations: 0.5358 MB / 0.5815 GB, free: 10.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001345/0.4468, allocations: 1.108 MB / 0.5826 GB, free: 9.543 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/0.4471, allocations: 74.03 kB / 0.5827 GB, free: 9.516 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008943/0.456, allocations: 3.374 MB / 0.586 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.456, allocations: 0 / 0.586 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001874/0.4562, allocations: 25.78 kB / 0.586 GB, free: 7.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.277e-05/0.4563, allocations: 59.84 kB / 0.586 GB, free: 7.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01482/0.4711, allocations: 5.406 MB / 0.5913 GB, free: 4.043 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/0.4889, allocations: 10.05 MB / 0.6011 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007884/0.4968, allocations: 2.629 MB / 0.6037 GB, free: 6.859 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006469/0.5032, allocations: 2.202 MB / 0.6059 GB, free: 4.656 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09834/0.6016, allocations: 27.92 MB / 0.6331 GB, free: 8.703 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.372e-05/0.6017, allocations: 39.56 kB / 0.6332 GB, free: 8.656 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.646e-06/0.6017, allocations: 0 / 0.6332 GB, free: 8.656 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.02236/0.624, allocations: 6.634 MB / 0.6396 GB, free: 2.012 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.504e-05/0.6241, allocations: 60.41 kB / 0.6397 GB, free: 1.941 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003795/0.6244, allocations: 248.9 kB / 0.6399 GB, free: 1.691 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002922/0.6247, allocations: 45.64 kB / 0.64 GB, free: 1.641 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.6249, allocations: 249.1 kB / 0.6402 GB, free: 1.391 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005439/0.6255, allocations: 317.2 kB / 0.6405 GB, free: 1.078 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007757/0.6263, allocations: 286.2 kB / 0.6408 GB, free: 0.793 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.6265, allocations: 358.8 kB / 0.6411 GB, free: 444 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006275/0.6327, allocations: 2.144 MB / 0.6432 GB, free: 14.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00643/0.6392, allocations: 2.247 MB / 0.6454 GB, free: 12 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/0.6503, allocations: 3.398 MB / 0.6487 GB, free: 8.574 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.6503, allocations: 0 / 0.6487 GB, free: 8.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01289/0.6632, allocations: 4.145 MB / 0.6528 GB, free: 4.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.15e-05/0.6632, allocations: 8.281 kB / 0.6528 GB, free: 4.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6632, allocations: 4 kB / 0.6528 GB, free: 4.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/0.6633, allocations: 11.94 kB / 0.6528 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003636/0.6669, allocations: 0.8151 MB / 0.6536 GB, free: 3.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.468e-05/0.6669, allocations: 9.5 kB / 0.6536 GB, free: 3.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/0.6699, allocations: 0.6158 MB / 0.6542 GB, free: 2.953 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002933/0.6702, allocations: 87.81 kB / 0.6543 GB, free: 2.867 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.0007899/0.6709, allocations: 264.5 kB / 0.6546 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003932/0.6713, allocations: 47.72 kB / 0.6546 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/0.6873, allocations: 6.642 MB / 0.6611 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01543/0.7027, allocations: 6.05 MB / 0.667 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.695e-05/0.7027, allocations: 0 / 0.667 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/0.7027, allocations: 3.984 kB / 0.667 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02197/0.7247, allocations: 9.233 MB / 0.676 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.7247, allocations: 0 / 0.676 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003732/0.7285, allocations: 0.8034 MB / 0.6768 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.881e-05/0.7285, allocations: 8 kB / 0.6768 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003467/0.7288, allocations: 79.81 kB / 0.6769 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.871e-05/0.7288, allocations: 4 kB / 0.6769 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.7289, allocations: 3.984 kB / 0.6769 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0141/0.743, allocations: 4.878 MB / 0.6817 GB, free: 6.73 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002713/0.7432, allocations: 118.8 kB / 0.6818 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/0.7435, allocations: 16 kB / 0.6818 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002857/0.7464, allocations: 0.5617 MB / 0.6823 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000379/0.7468, allocations: 152.5 kB / 0.6825 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002575/0.747, allocations: 84.62 kB / 0.6826 GB, free: 5.805 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002667/0.7473, allocations: 193.2 kB / 0.6827 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7473, allocations: 0 / 0.6827 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005349/0.7526, allocations: 1.283 MB / 0.684 GB, free: 4.328 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.006778/0.7594, allocations: 1.156 MB / 0.6851 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0146/0.774, allocations: 4.835 MB / 0.6898 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.774, allocations: 0 / 0.6898 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007437/0.7815, allocations: 2.547 MB / 0.6923 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002403/0.7839, allocations: 343.9 kB / 0.6927 GB, free: 11.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/0.796, allocations: 4.619 MB / 0.6972 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008559/0.7969, allocations: 1.129 MB / 0.6983 GB, free: 5.617 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001796/0.7987, allocations: 262.9 kB / 0.6985 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of SimCode: time 1.733e-06/0.7987, allocations: 0 / 0.6985 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of Templates: time 0.05941/0.8581, allocations: 37.3 MB / 0.735 GB, free: 15.88 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.757483495166525] Failed to read output from testmodel.py, exit status != 0: 0.8685260079801083 0.8840058700000001 0.448569667 Calling exit ...