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.001345/0.001345, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001499/0.001499, allocations: 209.4 kB / 23.73 MB, free: 4.387 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.486/1.486, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.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.157/0.157, allocations: 26.84 MB / 340.7 MB, free: 7.957 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.002061/0.002061, allocations: 67.89 kB / 477.3 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3044, allocations: 60.5 MB / 0.5252 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.1874/0.4918, allocations: 142.2 MB / 0.6641 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.5057, allocations: 8.868 MB / 0.6727 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004063/0.5061, allocations: 11.88 kB / 0.6727 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000502/0.5066, allocations: 99.23 kB / 0.6728 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007565/0.5141, allocations: 2.1 MB / 0.6749 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007822/0.522, allocations: 2.565 MB / 0.6774 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00289/0.5249, allocations: 2.234 MB / 0.6796 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.5261, allocations: 0.6208 MB / 0.6802 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001497/0.5276, allocations: 0.7019 MB / 0.6809 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003887/0.5315, allocations: 1.554 MB / 0.6824 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004538/0.5319, allocations: 124 kB / 0.6825 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01248/0.5444, allocations: 5.725 MB / 0.6881 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008937/0.5453, allocations: 0.6196 MB / 0.6887 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/0.5466, allocations: 0.6152 MB / 0.6893 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009984/0.5566, allocations: 4.532 MB / 0.6937 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.5566, allocations: 0 / 0.6937 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.924e-06/0.5566, allocations: 4 kB / 0.6937 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.706e-05/0.5566, allocations: 0 / 0.6937 GB, free: 7.605 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.00648/0.5631, allocations: 1.945 MB / 0.6956 GB, free: 5.621 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.5631, allocations: 11.97 kB / 0.6956 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002605/0.5657, allocations: 292 kB / 0.6959 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.5672, allocations: 0.5988 MB / 0.6965 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.121e-05/0.5673, allocations: 82.38 kB / 0.6966 GB, free: 4.617 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003541/0.5676, allocations: 132.2 kB / 0.6967 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003888/0.5715, allocations: 1.757 MB / 0.6984 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.239e-05/0.5716, allocations: 4 kB / 0.6984 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001272/0.5717, allocations: 40 kB / 0.6985 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.5717, allocations: 20 kB / 0.6985 GB, free: 2.641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004013/0.5757, allocations: 1.819 MB / 0.7002 GB, free: 0.8203 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.007963/0.5837, allocations: 3.619 MB / 0.7038 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005795/0.5895, allocations: 2.363 MB / 0.7061 GB, free: 10.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001827/0.5913, allocations: 0.9944 MB / 0.7071 GB, free: 9.785 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04408/0.6354, allocations: 11.76 MB / 0.7185 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.369e-05/0.6355, allocations: 56.55 kB / 0.7186 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 5.25e-06/0.6355, allocations: 0 / 0.7186 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.01546/0.6509, allocations: 4.957 MB / 0.7234 GB, free: 8.93 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.603e-05/0.651, allocations: 73.41 kB / 0.7235 GB, free: 8.848 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.6515, allocations: 333.7 kB / 0.7238 GB, free: 8.512 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001915/0.6517, allocations: 61.7 kB / 0.7239 GB, free: 8.445 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.6518, allocations: 219.4 kB / 0.7241 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008415/0.6527, allocations: 0.7667 MB / 0.7248 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000621/0.6533, allocations: 347.5 kB / 0.7252 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6535, allocations: 334 kB / 0.7255 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.6552, allocations: 0.9447 MB / 0.7264 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.6572, allocations: 1.196 MB / 0.7276 GB, free: 4.598 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003818/0.661, allocations: 2.153 MB / 0.7297 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.08e-05/0.661, allocations: 7.922 kB / 0.7297 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.2484/0.9094, allocations: 3.163 MB / 0.7328 GB, free: 191.9 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.9095, allocations: 6.641 kB / 0.7328 GB, free: 191.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.517e-06/0.9095, allocations: 5.188 kB / 0.7328 GB, free: 191.9 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01203/0.9215, allocations: 2.649 MB / 0.7354 GB, free: 191.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.9227, allocations: 239.4 kB / 0.7356 GB, free: 191.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006453/0.9292, allocations: 4.1 MB / 0.7396 GB, free: 190.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/0.9303, allocations: 145.2 kB / 0.7397 GB, free: 190 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/0.9305, allocations: 74.47 kB / 0.7398 GB, free: 190 MB / 0.5606 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.0005609/0.931, allocations: 331.9 kB / 0.7401 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.9313, allocations: 99.69 kB / 0.7402 GB, free: 189.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01193/0.9432, allocations: 9.174 MB / 0.7492 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-05/0.9433, allocations: 117.5 kB / 0.7493 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.7e-05/0.9433, allocations: 6.438 kB / 0.7493 GB, free: 185.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.464e-05/0.9434, allocations: 15.92 kB / 0.7493 GB, free: 185.7 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01183/0.9552, allocations: 10.29 MB / 0.7594 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/0.9552, allocations: 4 kB / 0.7594 GB, free: 179.8 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00251/0.9577, allocations: 0.5068 MB / 0.7599 GB, free: 179.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004142/0.9619, allocations: 2.148 MB / 0.762 GB, free: 177.1 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004171/0.9623, allocations: 83.94 kB / 0.762 GB, free: 177 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.9725, allocations: 19.65 MB / 0.7812 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.9725, allocations: 352 / 0.7812 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.011/0.9835, allocations: 9.92 MB / 0.7909 GB, free: 146.2 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00116/0.9846, allocations: 0.5892 MB / 0.7915 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.9848, allocations: 83.86 kB / 0.7916 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009924/0.9858, allocations: 75.94 kB / 0.7916 GB, free: 145.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/0.9861, allocations: 181.9 kB / 0.7918 GB, free: 145.3 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00014/0.9863, allocations: 87.91 kB / 0.7919 GB, free: 145.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002589/0.9865, allocations: 303.1 kB / 0.7922 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.9865, allocations: 7.875 kB / 0.7922 GB, free: 144.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002657/0.9892, allocations: 1.276 MB / 0.7934 GB, free: 143.6 MB / 0.5606 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.003295/0.9925, allocations: 1.075 MB / 0.7945 GB, free: 142.6 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00685/0.9993, allocations: 3.927 MB / 0.7983 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.9993, allocations: 4 kB / 0.7983 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00428/1.004, allocations: 3.519 MB / 0.8018 GB, free: 135 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.007, allocations: 0.7475 MB / 0.8025 GB, free: 134.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007127/1.014, allocations: 7.342 MB / 0.8097 GB, free: 126.9 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/1.014, allocations: 1.066 MB / 0.8107 GB, free: 125.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001019/1.015, allocations: 410 kB / 0.8111 GB, free: 125.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000362/1.016, allocations: 111.4 kB / 0.8112 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/1.016, allocations: 0 / 0.8112 GB, free: 125.3 MB / 0.5606 GB Notification: Performance of Templates: time 0.07734/1.093, allocations: 76.93 MB / 0.8863 GB, free: 48.99 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.424749052152038] Failed to read output from testmodel.py, exit status != 0: 1.1016112882643938 1.11023754 0.551248555 Calling exit ...