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.001344/0.001344, allocations: 79.62 kB / 20.52 MB, free: 1.367 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.001407/0.001407, allocations: 164.9 kB / 23.78 MB, free: 4.543 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.42/1.42, allocations: 177.2 MB / 204.1 MB, free: 9.297 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.1375/0.1375, allocations: 19.71 MB / 280.3 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.002104/0.002104, allocations: 71.89 kB / 416.9 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2495, allocations: 60.46 MB / 477.3 MB, free: 15.56 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01936/0.2689, allocations: 14.8 MB / 492.1 MB, free: 3.457 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01623/0.2851, allocations: 11.94 MB / 0.4923 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.2852, allocations: 4 kB / 0.4923 GB, free: 7.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004078/0.2857, allocations: 119.2 kB / 0.4924 GB, free: 7.355 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003512/0.286, allocations: 202.9 kB / 0.4926 GB, free: 7.156 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01284/0.2988, allocations: 5.337 MB / 0.4978 GB, free: 1.824 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002023/0.3009, allocations: 1.958 MB / 0.4997 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.301, allocations: 61.92 kB / 0.4998 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009678/0.302, allocations: 0.862 MB / 0.5006 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.3032, allocations: 0.7715 MB / 0.5014 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.3034, allocations: 136 kB / 0.5015 GB, free: 14.03 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01182/0.3152, allocations: 6.509 MB / 0.5078 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005357/0.3157, allocations: 482.9 kB / 0.5083 GB, free: 7.039 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007217/0.3165, allocations: 0.5179 MB / 0.5088 GB, free: 6.52 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007748/0.3242, allocations: 5.066 MB / 0.5138 GB, free: 1.441 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3242, allocations: 0 / 0.5138 GB, free: 1.441 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.3242, allocations: 0 / 0.5138 GB, free: 1.441 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.789e-06/0.3242, allocations: 0 / 0.5138 GB, free: 1.441 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.009348/0.3336, allocations: 2.554 MB / 0.5162 GB, free: 14.85 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3336, allocations: 12.62 kB / 0.5163 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.3354, allocations: 296.2 kB / 0.5165 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.3365, allocations: 0.537 MB / 0.5171 GB, free: 13.99 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001363/0.3379, allocations: 1.102 MB / 0.5181 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002713/0.3382, allocations: 72 kB / 0.5182 GB, free: 12.63 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009156/0.3473, allocations: 3.378 MB / 0.5215 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.3473, allocations: 0 / 0.5215 GB, free: 9.238 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.3475, allocations: 28 kB / 0.5215 GB, free: 9.211 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.644e-05/0.3476, allocations: 49.98 kB / 0.5216 GB, free: 9.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/0.3628, allocations: 5.385 MB / 0.5268 GB, free: 3.773 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01612/0.3789, allocations: 7.813 MB / 0.5345 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007925/0.3869, allocations: 2.637 MB / 0.537 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006375/0.3932, allocations: 2.205 MB / 0.5392 GB, free: 7.059 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1061/0.4993, allocations: 29.3 MB / 0.5678 GB, free: 9.719 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.795e-05/0.4994, allocations: 47.48 kB / 0.5679 GB, free: 9.664 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.075e-06/0.4994, allocations: 0 / 0.5679 GB, free: 9.664 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.0214/0.5208, allocations: 6.622 MB / 0.5743 GB, free: 3.031 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/0.5208, allocations: 64.34 kB / 0.5744 GB, free: 2.953 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.5211, allocations: 210.4 kB / 0.5746 GB, free: 2.738 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.5213, allocations: 37.7 kB / 0.5746 GB, free: 2.695 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.5214, allocations: 257.1 kB / 0.5749 GB, free: 2.438 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004245/0.5219, allocations: 321.2 kB / 0.5752 GB, free: 2.121 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000686/0.5226, allocations: 282.3 kB / 0.5754 GB, free: 1.84 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.5227, allocations: 350.8 kB / 0.5758 GB, free: 1.488 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00647/0.5292, allocations: 2.144 MB / 0.5779 GB, free: 15.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006362/0.5356, allocations: 2.259 MB / 0.5801 GB, free: 13.05 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/0.5465, allocations: 3.398 MB / 0.5834 GB, free: 9.617 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.127e-06/0.5465, allocations: 4 kB / 0.5834 GB, free: 9.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01274/0.5593, allocations: 4.134 MB / 0.5874 GB, free: 5.469 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.5593, allocations: 8 kB / 0.5874 GB, free: 5.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.5593, allocations: 11.92 kB / 0.5875 GB, free: 5.449 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.5593, allocations: 4 kB / 0.5875 GB, free: 5.445 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003718/0.5631, allocations: 0.827 MB / 0.5883 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.826e-05/0.5631, allocations: 4 kB / 0.5883 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/0.566, allocations: 0.6043 MB / 0.5889 GB, free: 4.008 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002456/0.5662, allocations: 95.75 kB / 0.589 GB, free: 3.914 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.0006982/0.5669, allocations: 273.5 kB / 0.5892 GB, free: 3.641 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003286/0.5672, allocations: 39.77 kB / 0.5893 GB, free: 3.602 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01567/0.5829, allocations: 6.654 MB / 0.5957 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01439/0.5973, allocations: 6.067 MB / 0.6017 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.5973, allocations: 4 kB / 0.6017 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.5973, allocations: 7.969 kB / 0.6017 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02058/0.6179, allocations: 8.777 MB / 0.6103 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.6179, allocations: 0 / 0.6103 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00359/0.6215, allocations: 0.8034 MB / 0.611 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.721e-05/0.6215, allocations: 7.938 kB / 0.611 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002166/0.6217, allocations: 79.81 kB / 0.6111 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.6217, allocations: 4 kB / 0.6111 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6217, allocations: 3.984 kB / 0.6111 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01336/0.6351, allocations: 4.872 MB / 0.6159 GB, free: 8.219 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.6353, allocations: 118.8 kB / 0.616 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002036/0.6355, allocations: 16 kB / 0.616 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002794/0.6383, allocations: 0.5656 MB / 0.6166 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003714/0.6386, allocations: 144.6 kB / 0.6167 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000233/0.6389, allocations: 87.81 kB / 0.6168 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001544/0.639, allocations: 148.2 kB / 0.6169 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.639, allocations: 0 / 0.6169 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003322/0.6424, allocations: 1.302 MB / 0.6182 GB, free: 5.844 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.004535/0.6469, allocations: 1.169 MB / 0.6193 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0136/0.6605, allocations: 4.829 MB / 0.6241 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.6605, allocations: 0 / 0.6241 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006886/0.6674, allocations: 2.543 MB / 0.6265 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001537/0.6689, allocations: 281.3 kB / 0.6268 GB, free: 13 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/0.6803, allocations: 4.57 MB / 0.6313 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005949/0.6809, allocations: 0.5148 MB / 0.6318 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002057/0.6829, allocations: 0.7102 MB / 0.6325 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001148/0.6841, allocations: 216 kB / 0.6327 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of SimCode: time 6.01e-07/0.6841, allocations: 0 / 0.6327 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of Templates: time 0.245/0.929, allocations: 58.19 MB / 0.6895 GB, free: 120.8 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: 8.106244074180722] Failed to read output from testmodel.py, exit status != 0: 0.9370204098522663 0.945666122 0.619198636 Calling exit ...