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.001395/0.001395, allocations: 80.88 kB / 20.5 MB, free: 1.371 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.001492/0.001492, allocations: 160.2 kB / 23.75 MB, free: 4.547 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.292/1.292, allocations: 158.6 MB / 185.5 MB, free: 6.488 MB / 174.1 MB " [Timeout remaining time 179] 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.2723/0.2723, allocations: 36.35 MB / 274.1 MB, free: 14.79 MB / 270.1 MB " [Timeout remaining time 180] 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.002343/0.002343, allocations: 75.89 kB / 414.5 MB, free: 9.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2624, allocations: 62.4 MB / 476.9 MB, free: 4.312 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestHeatTransfer2phDB): time 0.01698/0.2794, allocations: 14.7 MB / 491.6 MB, free: 9.016 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01601/0.2954, allocations: 11.95 MB / 0.4918 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.2956, allocations: 3.938 kB / 0.4918 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004149/0.296, allocations: 115.3 kB / 0.4919 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003692/0.2963, allocations: 206.8 kB / 0.4921 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01388/0.3102, allocations: 5.306 MB / 0.4973 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.3123, allocations: 1.958 MB / 0.4992 GB, free: 8.199 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.3125, allocations: 61.91 kB / 0.4992 GB, free: 8.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009902/0.3135, allocations: 0.8619 MB / 0.5001 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001189/0.3147, allocations: 0.7676 MB / 0.5008 GB, free: 6.5 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002263/0.3149, allocations: 136 kB / 0.501 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01259/0.3275, allocations: 6.493 MB / 0.5073 GB, free: 15.87 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000521/0.328, allocations: 486.9 kB / 0.5078 GB, free: 15.39 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007425/0.3287, allocations: 0.518 MB / 0.5083 GB, free: 14.87 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008284/0.337, allocations: 5.043 MB / 0.5132 GB, free: 9.816 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.337, allocations: 3.984 kB / 0.5132 GB, free: 9.812 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.337, allocations: 3.938 kB / 0.5132 GB, free: 9.809 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.337, allocations: 0 / 0.5132 GB, free: 9.809 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.00931/0.3464, allocations: 2.55 MB / 0.5157 GB, free: 7.223 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.3464, allocations: 8.031 kB / 0.5157 GB, free: 7.215 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001838/0.3482, allocations: 300.2 kB / 0.516 GB, free: 6.922 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001153/0.3494, allocations: 0.5256 MB / 0.5165 GB, free: 6.371 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001434/0.3508, allocations: 1.11 MB / 0.5176 GB, free: 5.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003017/0.3511, allocations: 71.98 kB / 0.5177 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009979/0.3611, allocations: 3.371 MB / 0.5209 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.3611, allocations: 0 / 0.5209 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/0.3614, allocations: 28 kB / 0.521 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.048e-05/0.3614, allocations: 53.92 kB / 0.521 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01701/0.3784, allocations: 5.393 MB / 0.5263 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01613/0.3946, allocations: 7.786 MB / 0.5339 GB, free: 4.309 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00863/0.4032, allocations: 2.63 MB / 0.5365 GB, free: 1.664 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007131/0.4103, allocations: 2.201 MB / 0.5386 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1007/0.511, allocations: 28.05 MB / 0.566 GB, free: 3.387 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.923e-05/0.511, allocations: 43.56 kB / 0.566 GB, free: 3.332 MB / 478.1 MB Notification: Performance of pre-optimization done (n=88): time 3.206e-06/0.511, allocations: 0 / 0.566 GB, free: 3.332 MB / 478.1 MB Notification: Performance of matching and sorting (n=88): time 0.02352/0.5346, allocations: 6.618 MB / 0.5725 GB, free: 12.7 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.5346, allocations: 68.34 kB / 0.5726 GB, free: 12.62 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.5349, allocations: 194.8 kB / 0.5728 GB, free: 12.43 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001851/0.5351, allocations: 37.7 kB / 0.5728 GB, free: 12.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.5353, allocations: 261 kB / 0.573 GB, free: 12.12 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004349/0.5357, allocations: 317.2 kB / 0.5733 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007489/0.5364, allocations: 282.3 kB / 0.5736 GB, free: 11.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.5366, allocations: 350.8 kB / 0.5739 GB, free: 11.17 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007081/0.5437, allocations: 2.144 MB / 0.576 GB, free: 9.027 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007258/0.551, allocations: 2.263 MB / 0.5782 GB, free: 6.734 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/0.5634, allocations: 3.402 MB / 0.5816 GB, free: 3.297 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.5634, allocations: 0 / 0.5816 GB, free: 3.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=97) (initialization): time 0.01438/0.5778, allocations: 4.134 MB / 0.5856 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.5778, allocations: 8 kB / 0.5856 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.5778, allocations: 4 kB / 0.5856 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.5778, allocations: 8.219 kB / 0.5856 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004/0.5818, allocations: 0.8228 MB / 0.5864 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.5819, allocations: 8 kB / 0.5864 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003005/0.5849, allocations: 0.6004 MB / 0.587 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/0.5851, allocations: 95.8 kB / 0.5871 GB, free: 13.6 MB / 0.4981 GB 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.0006757/0.5858, allocations: 269.5 kB / 0.5874 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.5861, allocations: 47.72 kB / 0.5874 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01711/0.6032, allocations: 6.64 MB / 0.5939 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01589/0.6191, allocations: 6.063 MB / 0.5998 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.6192, allocations: 0 / 0.5998 GB, free: 0.5508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.324e-05/0.6192, allocations: 7.969 kB / 0.5998 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02216/0.6413, allocations: 8.779 MB / 0.6084 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.6413, allocations: 4 kB / 0.6084 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003926/0.6453, allocations: 0.8034 MB / 0.6092 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.19e-05/0.6453, allocations: 7.938 kB / 0.6092 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002205/0.6455, allocations: 75.81 kB / 0.6093 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.338e-06/0.6455, allocations: 7.938 kB / 0.6093 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6455, allocations: 4 kB / 0.6093 GB, free: 6.809 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01501/0.6605, allocations: 4.868 MB / 0.614 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.6607, allocations: 114.8 kB / 0.6141 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002554/0.6609, allocations: 16 kB / 0.6142 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003004/0.6639, allocations: 0.5695 MB / 0.6147 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003557/0.6643, allocations: 144.6 kB / 0.6149 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002427/0.6645, allocations: 87.81 kB / 0.6149 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001529/0.6647, allocations: 144.2 kB / 0.6151 GB, free: 0.8477 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6647, allocations: 4 kB / 0.6151 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003425/0.6681, allocations: 1.294 MB / 0.6163 GB, free: 15.55 MB / 0.5294 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.003973/0.6721, allocations: 1.152 MB / 0.6175 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01509/0.6872, allocations: 4.829 MB / 0.6222 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.6872, allocations: 4 kB / 0.6222 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007768/0.6949, allocations: 2.551 MB / 0.6247 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001668/0.6966, allocations: 273.3 kB / 0.6249 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/0.7091, allocations: 4.57 MB / 0.6294 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.7096, allocations: 0.5148 MB / 0.6299 GB, free: 1.562 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002143/0.7118, allocations: 0.7029 MB / 0.6306 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.713, allocations: 216 kB / 0.6308 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.713, allocations: 0 / 0.6308 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of Templates: time 0.2588/0.9719, allocations: 58 MB / 0.6874 GB, free: 170.4 MB / 0.5606 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: 8.528907883912325] Failed to read output from testmodel.py, exit status != 0: 0.9797853995114565 0.988328612 0.649043584 Calling exit ...