Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.001161, allocations: 104.7 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 196 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2839/0.2839, allocations: 48.84 MB / 320.1 MB, free: 11.02 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 71.89 kB / 450.5 MB, free: 8.559 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1236, allocations: 59.16 MB / 0.4977 GB, free: 13.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.4589/0.5825, allocations: 160.8 MB / 0.6547 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01261/0.5952, allocations: 9.926 MB / 0.6644 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003519/0.5956, allocations: 7.938 kB / 0.6645 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004035/0.596, allocations: 99.27 kB / 0.6645 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005766/0.6018, allocations: 2.101 MB / 0.6666 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.008169/0.61, allocations: 2.589 MB / 0.6691 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002365/0.6124, allocations: 2.224 MB / 0.6713 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008127/0.6132, allocations: 0.6246 MB / 0.6719 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008108/0.614, allocations: 0.6941 MB / 0.6726 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003351/0.6174, allocations: 1.558 MB / 0.6741 GB, free: 5.168 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002184/0.6176, allocations: 116 kB / 0.6742 GB, free: 5.055 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01227/0.6299, allocations: 5.964 MB / 0.68 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008018/0.6308, allocations: 0.6197 MB / 0.6806 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0009665/0.6317, allocations: 0.6888 MB / 0.6813 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.01057/0.6423, allocations: 4.502 MB / 0.6857 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.6424, allocations: 0 / 0.6857 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.563e-06/0.6424, allocations: 0 / 0.6857 GB, free: 9.262 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.6424, allocations: 4 kB / 0.6857 GB, free: 9.258 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.005957/0.6484, allocations: 1.989 MB / 0.6877 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.6484, allocations: 11.89 kB / 0.6877 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002463/0.6509, allocations: 283.5 kB / 0.6879 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001278/0.6522, allocations: 0.6512 MB / 0.6886 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.792e-05/0.6523, allocations: 86.31 kB / 0.6887 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002618/0.6525, allocations: 130.7 kB / 0.6888 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003506/0.6561, allocations: 1.761 MB / 0.6905 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/0.6561, allocations: 0 / 0.6905 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.6562, allocations: 36 kB / 0.6905 GB, free: 4.211 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.34e-05/0.6563, allocations: 28 kB / 0.6906 GB, free: 4.184 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/0.66, allocations: 1.85 MB / 0.6924 GB, free: 2.332 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.007754/0.6678, allocations: 4.724 MB / 0.697 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005141/0.6729, allocations: 2.476 MB / 0.6994 GB, free: 10.88 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001601/0.6746, allocations: 1.088 MB / 0.7005 GB, free: 9.793 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04495/0.7195, allocations: 20.15 MB / 0.7201 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.812e-05/0.7196, allocations: 52.56 kB / 0.7202 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 3.616e-06/0.7196, allocations: 0 / 0.7202 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.01498/0.7346, allocations: 6.327 MB / 0.7264 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.892e-05/0.7347, allocations: 77.41 kB / 0.7264 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.7352, allocations: 389.7 kB / 0.7268 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.7354, allocations: 61.7 kB / 0.7269 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/0.7356, allocations: 211.3 kB / 0.7271 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006688/0.7362, allocations: 0.7238 MB / 0.7278 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005267/0.7368, allocations: 347.5 kB / 0.7281 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.7369, allocations: 338 kB / 0.7284 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001482/0.7384, allocations: 0.9408 MB / 0.7294 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.74, allocations: 1.091 MB / 0.7304 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003347/0.7434, allocations: 2.165 MB / 0.7325 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.7434, allocations: 0 / 0.7325 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005317/0.7487, allocations: 3.246 MB / 0.7357 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.7488, allocations: 11.91 kB / 0.7357 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.7488, allocations: 0.625 kB / 0.7357 GB, free: 3.004 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01226/0.7611, allocations: 2.661 MB / 0.7383 GB, free: 352 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.7624, allocations: 239.7 kB / 0.7385 GB, free: 112 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006854/0.7693, allocations: 4.103 MB / 0.7426 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/0.7706, allocations: 146.5 kB / 0.7427 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.7708, allocations: 79.95 kB / 0.7428 GB, free: 11.76 MB / 0.5919 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.0005943/0.7714, allocations: 338.5 kB / 0.7431 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000262/0.7716, allocations: 106.8 kB / 0.7432 GB, free: 11.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01221/0.7838, allocations: 8.904 MB / 0.7519 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001147/0.784, allocations: 123.8 kB / 0.752 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.641e-05/0.784, allocations: 0 / 0.752 GB, free: 2.141 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.189e-05/0.7841, allocations: 15.94 kB / 0.752 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3018/1.086, allocations: 10.67 MB / 0.7624 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.975e-05/1.086, allocations: 8.312 kB / 0.7625 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002954/1.089, allocations: 0.508 MB / 0.763 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005388/1.094, allocations: 2.128 MB / 0.765 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005323/1.095, allocations: 81.91 kB / 0.7651 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0141/1.109, allocations: 20.65 MB / 0.7853 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.109, allocations: 1.438 kB / 0.7853 GB, free: 195 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01567/1.125, allocations: 9.692 MB / 0.7947 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001447/1.126, allocations: 0.653 MB / 0.7954 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/1.126, allocations: 77.03 kB / 0.7955 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.128, allocations: 86.19 kB / 0.7955 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000429/1.128, allocations: 175.2 kB / 0.7957 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001759/1.128, allocations: 81.03 kB / 0.7958 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004349/1.129, allocations: 380.9 kB / 0.7961 GB, free: 190 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.643e-06/1.129, allocations: 1.719 kB / 0.7961 GB, free: 190 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003818/1.132, allocations: 1.269 MB / 0.7974 GB, free: 189.9 MB / 0.5919 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: 37 ($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 (210): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 39 * 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.003916/1.136, allocations: 1.044 MB / 0.7984 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007555/1.144, allocations: 3.983 MB / 0.8023 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/1.144, allocations: 0 / 0.8023 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004972/1.149, allocations: 3.782 MB / 0.806 GB, free: 186.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003538/1.153, allocations: 0.7883 MB / 0.8068 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007858/1.16, allocations: 7.089 MB / 0.8137 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008228/1.161, allocations: 1.643 MB / 0.8153 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001188/1.162, allocations: 426.3 kB / 0.8157 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/1.163, allocations: 111.4 kB / 0.8158 GB, free: 177 MB / 0.5919 GB Notification: Performance of SimCode: time 9.31e-07/1.163, allocations: 0 / 0.8158 GB, free: 177 MB / 0.5919 GB Notification: Performance of Templates: time 0.09412/1.257, allocations: 80.53 MB / 0.8944 GB, free: 96.35 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1)