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.001557/0.001557, allocations: 80.83 kB / 21.28 MB, free: 0.5312 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.002101/0.002101, allocations: 160.6 kB / 24.54 MB, free: 3.832 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.389/1.389, allocations: 177.2 MB / 204.9 MB, free: 9.281 MB / 190.1 MB " [Timeout remaining time 179] 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.1403/0.1403, allocations: 19.7 MB / 281 MB, free: 13.06 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.00216/0.00216, allocations: 67.89 kB / 417.7 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2795, allocations: 60.45 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01989/0.2994, allocations: 14.8 MB / 492.9 MB, free: 3.441 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.3155, allocations: 11.94 MB / 0.493 GB, free: 7.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002133/0.3157, allocations: 7.938 kB / 0.493 GB, free: 7.445 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004106/0.3161, allocations: 111.2 kB / 0.4931 GB, free: 7.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004111/0.3165, allocations: 206.8 kB / 0.4933 GB, free: 7.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01514/0.3316, allocations: 5.345 MB / 0.4985 GB, free: 1.793 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002126/0.3338, allocations: 1.954 MB / 0.5005 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001811/0.3339, allocations: 61.91 kB / 0.5005 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.335, allocations: 0.8619 MB / 0.5014 GB, free: 14.91 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001147/0.3362, allocations: 0.7599 MB / 0.5021 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001956/0.3364, allocations: 136 kB / 0.5022 GB, free: 14.01 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01277/0.3491, allocations: 6.513 MB / 0.5086 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006224/0.3498, allocations: 479 kB / 0.509 GB, free: 7.023 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008252/0.3506, allocations: 0.518 MB / 0.5095 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01166/0.3622, allocations: 5.07 MB / 0.5145 GB, free: 1.422 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3623, allocations: 0 / 0.5145 GB, free: 1.422 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.3623, allocations: 0 / 0.5145 GB, free: 1.422 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.3623, allocations: 0 / 0.5145 GB, free: 1.422 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.009935/0.3722, allocations: 2.554 MB / 0.517 GB, free: 14.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.3723, allocations: 12.62 kB / 0.517 GB, free: 14.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.374, allocations: 296.2 kB / 0.5173 GB, free: 14.53 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/0.3752, allocations: 0.54 MB / 0.5178 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001312/0.3765, allocations: 1.102 MB / 0.5189 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002605/0.3767, allocations: 72 kB / 0.519 GB, free: 12.61 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008776/0.3855, allocations: 3.378 MB / 0.5223 GB, free: 9.215 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.094e-05/0.3855, allocations: 4 kB / 0.5223 GB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000187/0.3857, allocations: 28 kB / 0.5223 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.747e-05/0.3858, allocations: 53.97 kB / 0.5223 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01495/0.4007, allocations: 5.389 MB / 0.5276 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01554/0.4163, allocations: 7.802 MB / 0.5352 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007499/0.4238, allocations: 2.644 MB / 0.5378 GB, free: 9.234 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006142/0.4299, allocations: 2.205 MB / 0.54 GB, free: 7.027 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1002/0.5301, allocations: 29.3 MB / 0.5686 GB, free: 9.691 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/0.5302, allocations: 39.56 kB / 0.5686 GB, free: 9.645 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 2.875e-06/0.5302, allocations: 0 / 0.5686 GB, free: 9.645 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.021/0.5512, allocations: 6.63 MB / 0.5751 GB, free: 3.004 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.5512, allocations: 68.28 kB / 0.5751 GB, free: 2.922 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.5515, allocations: 206.5 kB / 0.5753 GB, free: 2.711 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002727/0.5518, allocations: 37.7 kB / 0.5754 GB, free: 2.668 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.5519, allocations: 253.1 kB / 0.5756 GB, free: 2.414 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004131/0.5524, allocations: 325.1 kB / 0.5759 GB, free: 2.094 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006424/0.553, allocations: 286.3 kB / 0.5762 GB, free: 1.809 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.5532, allocations: 350.8 kB / 0.5765 GB, free: 1.457 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006039/0.5592, allocations: 2.144 MB / 0.5786 GB, free: 15.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006643/0.5659, allocations: 2.251 MB / 0.5808 GB, free: 13.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01083/0.5767, allocations: 3.402 MB / 0.5841 GB, free: 9.594 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.5767, allocations: 4 kB / 0.5842 GB, free: 9.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0126/0.5893, allocations: 4.134 MB / 0.5882 GB, free: 5.445 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.5893, allocations: 8.281 kB / 0.5882 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.5894, allocations: 8 kB / 0.5882 GB, free: 5.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.5894, allocations: 4 kB / 0.5882 GB, free: 5.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003623/0.593, allocations: 0.8306 MB / 0.589 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.593, allocations: 4 kB / 0.589 GB, free: 4.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/0.5957, allocations: 0.6081 MB / 0.5896 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002496/0.596, allocations: 91.81 kB / 0.5897 GB, free: 3.891 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.0006869/0.5966, allocations: 261.6 kB / 0.59 GB, free: 3.625 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000299/0.5969, allocations: 39.77 kB / 0.59 GB, free: 3.586 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01503/0.612, allocations: 6.663 MB / 0.5965 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01386/0.6258, allocations: 6.067 MB / 0.6024 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-05/0.6258, allocations: 4 kB / 0.6024 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/0.6259, allocations: 3.984 kB / 0.6024 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02013/0.646, allocations: 8.779 MB / 0.611 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.646, allocations: 0 / 0.611 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003493/0.6495, allocations: 0.8034 MB / 0.6118 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.511e-05/0.6495, allocations: 7.938 kB / 0.6118 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002383/0.6497, allocations: 79.81 kB / 0.6119 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.766e-06/0.6498, allocations: 4 kB / 0.6119 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6498, allocations: 4 kB / 0.6119 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/0.6626, allocations: 4.868 MB / 0.6166 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001846/0.6628, allocations: 126.8 kB / 0.6168 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002308/0.663, allocations: 20 kB / 0.6168 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/0.6656, allocations: 0.5617 MB / 0.6173 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003436/0.666, allocations: 144.6 kB / 0.6175 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/0.6662, allocations: 83.81 kB / 0.6175 GB, free: 7.266 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001507/0.6663, allocations: 148.1 kB / 0.6177 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6663, allocations: 0 / 0.6177 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003252/0.6696, allocations: 1.302 MB / 0.619 GB, free: 5.816 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.003992/0.6736, allocations: 1.169 MB / 0.6201 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01321/0.6868, allocations: 4.833 MB / 0.6248 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.6868, allocations: 0 / 0.6248 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00677/0.6935, allocations: 2.547 MB / 0.6273 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/0.695, allocations: 273.3 kB / 0.6276 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/0.706, allocations: 4.618 MB / 0.6321 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005508/0.7065, allocations: 0.5148 MB / 0.6326 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001471/0.708, allocations: 259.9 kB / 0.6328 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of SimCode: time 1.132e-06/0.708, allocations: 0 / 0.6328 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of Templates: time 0.2372/0.9451, allocations: 37.23 MB / 0.6692 GB, free: 141.9 MB / 0.5294 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: 10.458189727040008] Failed to read output from testmodel.py, exit status != 0: 0.9540198741015047 0.962674535 0.598049977 Calling exit ...