Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.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.001843/0.001843, allocations: 84.94 kB / 20.68 MB, free: 1.023 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.002343/0.002343, allocations: 163.7 kB / 23.95 MB, free: 4.156 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.511/1.511, allocations: 177.1 MB / 204.3 MB, free: 9.184 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.1398/0.1398, allocations: 19.74 MB / 280.4 MB, free: 12.91 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.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 417.1 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.473e-05, allocations: 2.281 kB / 417.1 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3615/0.3616, allocations: 142.1 MB / 0.5461 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01272/0.3743, allocations: 8.843 MB / 0.5547 GB, free: 6.367 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002926/0.3746, allocations: 7.938 kB / 0.5547 GB, free: 6.359 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004155/0.375, allocations: 103.2 kB / 0.5548 GB, free: 6.258 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00554/0.3805, allocations: 2.124 MB / 0.5569 GB, free: 4.133 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006928/0.3875, allocations: 2.606 MB / 0.5594 GB, free: 1.531 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002708/0.3902, allocations: 2.267 MB / 0.5616 GB, free: 15.26 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000892/0.3911, allocations: 0.6092 MB / 0.5622 GB, free: 14.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.3925, allocations: 0.9478 MB / 0.5632 GB, free: 13.71 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00372/0.3962, allocations: 1.531 MB / 0.5646 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002604/0.3964, allocations: 123.9 kB / 0.5648 GB, free: 12.04 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01177/0.4082, allocations: 5.74 MB / 0.5704 GB, free: 6.297 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008572/0.4091, allocations: 0.6627 MB / 0.571 GB, free: 5.633 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009878/0.4101, allocations: 0.5536 MB / 0.5716 GB, free: 5.078 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.4206, allocations: 5.554 MB / 0.577 GB, free: 15.51 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4206, allocations: 0 / 0.577 GB, free: 15.51 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.645e-06/0.4206, allocations: 0 / 0.577 GB, free: 15.51 MB / 478.1 MB Notification: Performance of Transformations before backend: time 3.13e-05/0.4206, allocations: 0 / 0.577 GB, free: 15.51 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.00623/0.4268, allocations: 1.937 MB / 0.5789 GB, free: 13.54 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.4269, allocations: 12.03 kB / 0.5789 GB, free: 13.52 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002737/0.4296, allocations: 288.1 kB / 0.5792 GB, free: 13.24 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001197/0.4308, allocations: 0.592 MB / 0.5797 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.829e-05/0.4309, allocations: 82.38 kB / 0.5798 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/0.4312, allocations: 134.7 kB / 0.5799 GB, free: 12.41 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003916/0.4351, allocations: 1.75 MB / 0.5817 GB, free: 10.64 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.539e-05/0.4351, allocations: 4.312 kB / 0.5817 GB, free: 10.63 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001471/0.4353, allocations: 43.94 kB / 0.5817 GB, free: 10.59 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/0.4353, allocations: 24 kB / 0.5817 GB, free: 10.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004283/0.4396, allocations: 1.823 MB / 0.5835 GB, free: 8.742 MB / 478.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007263/0.4469, allocations: 3.616 MB / 0.587 GB, free: 5.074 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00567/0.4525, allocations: 2.361 MB / 0.5893 GB, free: 2.707 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/0.4545, allocations: 0.9983 MB / 0.5903 GB, free: 1.703 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04474/0.4992, allocations: 11.74 MB / 0.6018 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.236e-05/0.4993, allocations: 61.38 kB / 0.6018 GB, free: 5.883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=207): time 5.14e-06/0.4993, allocations: 0 / 0.6018 GB, free: 5.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=207): time 0.01669/0.516, allocations: 4.953 MB / 0.6067 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.648e-05/0.5161, allocations: 77.41 kB / 0.6068 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004444/0.5165, allocations: 329.7 kB / 0.6071 GB, free: 464 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001994/0.5167, allocations: 61.7 kB / 0.6071 GB, free: 396 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.5169, allocations: 219.5 kB / 0.6073 GB, free: 172 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008337/0.5177, allocations: 0.7591 MB / 0.6081 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000602/0.5183, allocations: 343.6 kB / 0.6084 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.5185, allocations: 334 kB / 0.6087 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001769/0.5203, allocations: 0.9369 MB / 0.6096 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/0.5223, allocations: 1.192 MB / 0.6108 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003945/0.5262, allocations: 2.161 MB / 0.6129 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.822e-06/0.5262, allocations: 0 / 0.6129 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006105/0.5323, allocations: 3.187 MB / 0.616 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.5323, allocations: 4 kB / 0.616 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.5324, allocations: 2.188 kB / 0.616 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01341/0.5458, allocations: 2.668 MB / 0.6186 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/0.547, allocations: 235.7 kB / 0.6189 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007485/0.5545, allocations: 4.1 MB / 0.6229 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.5557, allocations: 147 kB / 0.623 GB, free: 32 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002173/0.5559, allocations: 75.95 kB / 0.6231 GB, free: 15.96 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(36,117)} Notification: Performance of prepare postOptimizeDAE: time 0.0006166/0.5566, allocations: 329.6 kB / 0.6234 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.5569, allocations: 107.4 kB / 0.6235 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01481/0.5717, allocations: 9.176 MB / 0.6325 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001252/0.5718, allocations: 115.8 kB / 0.6326 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.5718, allocations: 4 kB / 0.6326 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.304e-05/0.5718, allocations: 15.94 kB / 0.6326 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1755/0.7473, allocations: 10.29 MB / 0.6426 GB, free: 194.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.7474, allocations: 0 / 0.6426 GB, free: 194.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002892/0.7503, allocations: 0.5152 MB / 0.6431 GB, free: 194.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004992/0.7552, allocations: 2.127 MB / 0.6452 GB, free: 194.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003255/0.7556, allocations: 80.5 kB / 0.6453 GB, free: 194.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01245/0.768, allocations: 19.64 MB / 0.6645 GB, free: 177 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.768, allocations: 1.25 kB / 0.6645 GB, free: 177 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01262/0.7806, allocations: 9.921 MB / 0.6742 GB, free: 172.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009247/0.7816, allocations: 0.5891 MB / 0.6747 GB, free: 172.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.7818, allocations: 82.53 kB / 0.6748 GB, free: 172.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001078/0.7829, allocations: 71.39 kB / 0.6749 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003897/0.7833, allocations: 188.5 kB / 0.6751 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/0.7835, allocations: 87.84 kB / 0.6751 GB, free: 172.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002597/0.7837, allocations: 294 kB / 0.6754 GB, free: 172.3 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.7837, allocations: 7.516 kB / 0.6754 GB, free: 172.3 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002821/0.7865, allocations: 1.286 MB / 0.6767 GB, free: 171.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 27 (coolingTower.M[1],coolingTower.M[2],coolingTower.M[3],coolingTower.M[4],coolingTower.M[5],coolingTower.M[6],coolingTower.M[7],coolingTower.M[8],coolingTower.M[9],coolingTower.hltilde[1],coolingTower.hltilde[2],coolingTower.hltilde[3],coolingTower.hltilde[4],coolingTower.hltilde[5],coolingTower.hltilde[6],coolingTower.hltilde[7],coolingTower.hltilde[8],coolingTower.hltilde[9],coolingTower.Tp[1],coolingTower.Tp[2],coolingTower.Tp[3],coolingTower.Tp[4],coolingTower.Tp[5],coolingTower.Tp[6],coolingTower.Tp[7],coolingTower.Tp[8],coolingTower.Tp[9]) * Number of discrete variables: 38 ($cse6.region3boundary,$cse8.region3boundary,$cse10.phase,$cse10.region,$cse14.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,$cse22.region3boundary,$cse24.region3boundary,$cse26.phase,$cse26.region,$cse30.region3boundary,$cse32.region3boundary,$cse34.phase,$cse34.region,$cse38.region3boundary,$cse40.region3boundary,$cse42.phase,$cse42.region,$cse46.region3boundary,$cse48.region3boundary,$cse50.phase,$cse50.region,$cse54.region3boundary,$cse56.region3boundary,$cse58.phase,$cse58.region,$cse62.region3boundary,$cse64.region3boundary,$cse66.phase,$cse66.region,$cse70.region3boundary,$cse72.region3boundary,$cse74.phase,$cse74.region,$cse77.region3boundary,$cse79.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 41 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6), (2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003477/0.79, allocations: 1.183 MB / 0.6778 GB, free: 170.8 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006876/0.7969, allocations: 3.944 MB / 0.6817 GB, free: 167.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.7969, allocations: 0 / 0.6817 GB, free: 167.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004618/0.8015, allocations: 3.512 MB / 0.6851 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003421/0.8049, allocations: 0.7523 MB / 0.6859 GB, free: 162.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006739/0.8117, allocations: 6.766 MB / 0.6925 GB, free: 156 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006729/0.8123, allocations: 1.07 MB / 0.6935 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0009695/0.8133, allocations: 410.1 kB / 0.6939 GB, free: 154.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004125/0.8137, allocations: 104.5 kB / 0.694 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of SimCode: time 7.01e-07/0.8137, allocations: 3.5 kB / 0.694 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.08089/0.8946, allocations: 74.3 MB / 0.7666 GB, free: 80.71 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.3828746676445] Failed to read output from testmodel.py, exit status != 0: 0.9036987125873566 0.912243253 0.48923293599999995 Calling exit ...