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.001419/0.001419, allocations: 79.55 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.001492/0.001492, allocations: 165 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.444/1.444, allocations: 177.2 MB / 204.2 MB, free: 9.262 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.1419/0.1419, allocations: 19.7 MB / 280.3 MB, free: 13.04 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: 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.00207/0.00207, allocations: 67.84 kB / 416.9 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2916, allocations: 60.46 MB / 477.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.1806/0.4722, allocations: 142.1 MB / 0.6049 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01242/0.4846, allocations: 8.853 MB / 0.6136 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002609/0.4849, allocations: 7.938 kB / 0.6136 GB, free: 10.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.4852, allocations: 103.2 kB / 0.6137 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005621/0.4908, allocations: 2.1 MB / 0.6157 GB, free: 8.535 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00713/0.498, allocations: 2.567 MB / 0.6182 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002462/0.5004, allocations: 2.242 MB / 0.6204 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008069/0.5012, allocations: 0.6131 MB / 0.621 GB, free: 3.109 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001137/0.5024, allocations: 0.9477 MB / 0.622 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003653/0.506, allocations: 1.558 MB / 0.6235 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002161/0.5062, allocations: 120 kB / 0.6236 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01089/0.5171, allocations: 5.725 MB / 0.6292 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007752/0.5179, allocations: 0.6274 MB / 0.6298 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009146/0.5188, allocations: 0.6151 MB / 0.6304 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007795/0.5266, allocations: 4.524 MB / 0.6348 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.5266, allocations: 4 kB / 0.6348 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.412e-06/0.5266, allocations: 0 / 0.6348 GB, free: 4.957 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.345e-05/0.5266, allocations: 0 / 0.6348 GB, free: 4.957 MB / 0.5294 GB 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.006461/0.5331, allocations: 1.949 MB / 0.6367 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.728e-05/0.5332, allocations: 12.03 kB / 0.6367 GB, free: 2.957 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002721/0.5359, allocations: 288 kB / 0.637 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.5371, allocations: 0.595 MB / 0.6376 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.68e-05/0.5372, allocations: 82.38 kB / 0.6377 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002636/0.5374, allocations: 140.2 kB / 0.6378 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003731/0.5412, allocations: 1.757 MB / 0.6395 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.5412, allocations: 7.875 kB / 0.6395 GB, free: 44 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001238/0.5413, allocations: 40 kB / 0.6396 GB, free: 4 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2357/0.777, allocations: 21.98 kB / 0.6396 GB, free: 168.7 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004819/0.7819, allocations: 1.819 MB / 0.6414 GB, free: 168.6 MB / 0.5294 GB 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.005873/0.7877, allocations: 3.607 MB / 0.6449 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004771/0.7925, allocations: 2.365 MB / 0.6472 GB, free: 165.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/0.7937, allocations: 1.006 MB / 0.6482 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03463/0.8284, allocations: 11.74 MB / 0.6596 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.8284, allocations: 56.5 kB / 0.6597 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=207): time 4.538e-06/0.8284, allocations: 0 / 0.6597 GB, free: 154.4 MB / 0.5294 GB Notification: Performance of matching and sorting (n=207): time 0.01249/0.8409, allocations: 4.961 MB / 0.6645 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.8409, allocations: 73.41 kB / 0.6646 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.8413, allocations: 335.7 kB / 0.6649 GB, free: 148.9 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001138/0.8414, allocations: 61.7 kB / 0.665 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.8415, allocations: 217.5 kB / 0.6652 GB, free: 148.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004278/0.8419, allocations: 0.7686 MB / 0.6659 GB, free: 148 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004229/0.8423, allocations: 343.5 kB / 0.6663 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.8424, allocations: 330 kB / 0.6666 GB, free: 147.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.8436, allocations: 0.9369 MB / 0.6675 GB, free: 146.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.845, allocations: 1.204 MB / 0.6687 GB, free: 145.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002813/0.8478, allocations: 2.161 MB / 0.6708 GB, free: 143 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.8478, allocations: 0 / 0.6708 GB, free: 143 MB / 0.5294 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004366/0.8522, allocations: 3.18 MB / 0.6739 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.8522, allocations: 4 kB / 0.6739 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8522, allocations: 6.922 kB / 0.6739 GB, free: 139.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01163/0.8638, allocations: 2.648 MB / 0.6765 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.865, allocations: 247.7 kB / 0.6767 GB, free: 136.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005519/0.8705, allocations: 4.095 MB / 0.6807 GB, free: 132.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.8717, allocations: 152.7 kB / 0.6809 GB, free: 132.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001437/0.8718, allocations: 67.97 kB / 0.6809 GB, free: 132.6 MB / 0.5294 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.0004949/0.8723, allocations: 329.6 kB / 0.6812 GB, free: 132.3 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.8725, allocations: 103.4 kB / 0.6813 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01022/0.8828, allocations: 9.186 MB / 0.6903 GB, free: 122.8 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.218e-05/0.8828, allocations: 111.8 kB / 0.6904 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.497e-05/0.8828, allocations: 4 kB / 0.6904 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-05/0.8829, allocations: 19.88 kB / 0.6904 GB, free: 122.7 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01076/0.8936, allocations: 10.29 MB / 0.7005 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.8936, allocations: 0 / 0.7005 GB, free: 112.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002598/0.8962, allocations: 0.5151 MB / 0.701 GB, free: 111.8 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004355/0.9006, allocations: 2.128 MB / 0.7031 GB, free: 109.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000298/0.9009, allocations: 95.72 kB / 0.7032 GB, free: 109.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01089/0.9118, allocations: 19.66 MB / 0.7224 GB, free: 88.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9118, allocations: 0 / 0.7224 GB, free: 88.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01151/0.9233, allocations: 9.91 MB / 0.732 GB, free: 78.68 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009042/0.9242, allocations: 0.602 MB / 0.7326 GB, free: 78.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002013/0.9244, allocations: 71.94 kB / 0.7327 GB, free: 78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.9255, allocations: 75.94 kB / 0.7328 GB, free: 77.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/0.9259, allocations: 193.8 kB / 0.733 GB, free: 77.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001509/0.926, allocations: 75.97 kB / 0.733 GB, free: 77.66 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0002549/0.9263, allocations: 307.1 kB / 0.7333 GB, free: 77.37 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.9263, allocations: 0 / 0.7333 GB, free: 77.37 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002613/0.9289, allocations: 1.28 MB / 0.7346 GB, free: 76.09 MB / 0.5294 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.00292/0.9318, allocations: 1.068 MB / 0.7356 GB, free: 75.09 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006819/0.9386, allocations: 3.935 MB / 0.7395 GB, free: 71.11 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.9386, allocations: 0 / 0.7395 GB, free: 71.11 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004644/0.9433, allocations: 3.526 MB / 0.7429 GB, free: 67.46 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/0.9461, allocations: 0.7403 MB / 0.7436 GB, free: 66.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007418/0.9535, allocations: 7.326 MB / 0.7508 GB, free: 59.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007583/0.9543, allocations: 1.07 MB / 0.7518 GB, free: 58.28 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001018/0.9553, allocations: 406.1 kB / 0.7522 GB, free: 57.88 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003681/0.9556, allocations: 112.5 kB / 0.7523 GB, free: 57.77 MB / 0.5294 GB Notification: Performance of SimCode: time 8.22e-07/0.9556, allocations: 0 / 0.7523 GB, free: 57.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.08724/1.043, allocations: 74.55 MB / 0.8251 GB, free: 15.75 MB / 0.5606 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.286673476919532] Failed to read output from testmodel.py, exit status != 0: 1.0528315529227257 1.067919206 0.538111615 Calling exit ...