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.001453/0.001453, allocations: 115 kB / 17.07 MB, free: 5.996 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.001814/0.001814, allocations: 196 kB / 18 MB, free: 5.074 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.505/1.505, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3084/0.3084, allocations: 48.85 MB / 320.1 MB, free: 11.01 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.002162/0.002163, allocations: 59.91 kB / 450.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.152/0.1541, allocations: 59.17 MB / 0.4977 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.4716/0.6258, allocations: 160.8 MB / 0.6548 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01343/0.6392, allocations: 9.92 MB / 0.6644 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004091/0.6397, allocations: 7.938 kB / 0.6644 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0004127/0.6401, allocations: 99.25 kB / 0.6645 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00551/0.6457, allocations: 2.104 MB / 0.6666 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007064/0.6528, allocations: 2.591 MB / 0.6691 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002309/0.6551, allocations: 2.228 MB / 0.6713 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008129/0.656, allocations: 0.6292 MB / 0.6719 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007439/0.6567, allocations: 0.6979 MB / 0.6726 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/0.6597, allocations: 1.554 MB / 0.6741 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001711/0.6599, allocations: 116 kB / 0.6742 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01131/0.6712, allocations: 5.96 MB / 0.68 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008306/0.6721, allocations: 0.6236 MB / 0.6807 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0008499/0.673, allocations: 0.6966 MB / 0.6813 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008009/0.681, allocations: 4.498 MB / 0.6857 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.037e-06/0.681, allocations: 3.984 kB / 0.6857 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.074e-06/0.681, allocations: 0 / 0.6857 GB, free: 9.238 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.6811, allocations: 0 / 0.6857 GB, free: 9.238 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.00581/0.6869, allocations: 1.989 MB / 0.6877 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.6869, allocations: 11.89 kB / 0.6877 GB, free: 7.188 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/0.6895, allocations: 285.3 kB / 0.688 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.6905, allocations: 0.6434 MB / 0.6886 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.6906, allocations: 86.31 kB / 0.6887 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/0.6909, allocations: 128.4 kB / 0.6888 GB, free: 6.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003509/0.6944, allocations: 1.761 MB / 0.6905 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.6944, allocations: 0 / 0.6905 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.6945, allocations: 47.92 kB / 0.6906 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.6946, allocations: 27.94 kB / 0.6906 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003782/0.6984, allocations: 1.838 MB / 0.6924 GB, free: 2.32 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.006838/0.7052, allocations: 4.728 MB / 0.697 GB, free: 13.35 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005223/0.7105, allocations: 2.48 MB / 0.6994 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001665/0.7121, allocations: 1.092 MB / 0.7005 GB, free: 9.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04312/0.7553, allocations: 20.14 MB / 0.7202 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.376e-05/0.7554, allocations: 57.44 kB / 0.7202 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 4.037e-06/0.7554, allocations: 4 kB / 0.7202 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.01456/0.77, allocations: 6.323 MB / 0.7264 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.7701, allocations: 73.41 kB / 0.7265 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004535/0.7705, allocations: 393.6 kB / 0.7268 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001411/0.7707, allocations: 61.7 kB / 0.7269 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.7708, allocations: 207.3 kB / 0.7271 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006078/0.7714, allocations: 0.7316 MB / 0.7278 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005188/0.772, allocations: 347.5 kB / 0.7281 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.7721, allocations: 334 kB / 0.7285 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.7736, allocations: 0.9369 MB / 0.7294 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001722/0.7754, allocations: 1.087 MB / 0.7304 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003367/0.7787, allocations: 2.168 MB / 0.7326 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7788, allocations: 0 / 0.7326 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005267/0.784, allocations: 3.25 MB / 0.7357 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.7841, allocations: 7.906 kB / 0.7357 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.7841, allocations: 0.75 kB / 0.7357 GB, free: 2.988 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01252/0.7966, allocations: 2.665 MB / 0.7383 GB, free: 332 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.7979, allocations: 239.7 kB / 0.7386 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006716/0.8047, allocations: 4.099 MB / 0.7426 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.8059, allocations: 150.5 kB / 0.7427 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001656/0.806, allocations: 71.97 kB / 0.7428 GB, free: 11.75 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.0005907/0.8066, allocations: 330.2 kB / 0.7431 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003002/0.8069, allocations: 110.8 kB / 0.7432 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01273/0.8197, allocations: 8.919 MB / 0.7519 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001199/0.8198, allocations: 115.8 kB / 0.752 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.8199, allocations: 0 / 0.752 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.352e-05/0.8199, allocations: 11.95 kB / 0.752 GB, free: 2.113 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2542/1.074, allocations: 10.68 MB / 0.7625 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/1.074, allocations: 0 / 0.7625 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002766/1.077, allocations: 0.5122 MB / 0.763 GB, free: 214.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00518/1.082, allocations: 2.129 MB / 0.765 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004636/1.083, allocations: 81.81 kB / 0.7651 GB, free: 213.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/1.096, allocations: 20.65 MB / 0.7853 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/1.096, allocations: 1.062 kB / 0.7853 GB, free: 194.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01445/1.11, allocations: 9.695 MB / 0.7948 GB, free: 190.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000966/1.111, allocations: 0.6601 MB / 0.7954 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002431/1.112, allocations: 71.88 kB / 0.7955 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009906/1.113, allocations: 91.2 kB / 0.7956 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004122/1.113, allocations: 173.8 kB / 0.7957 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001696/1.113, allocations: 78.47 kB / 0.7958 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004228/1.114, allocations: 380.8 kB / 0.7962 GB, free: 190 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/1.114, allocations: 3.875 kB / 0.7962 GB, free: 190 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003396/1.117, allocations: 1.267 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.003377/1.12, allocations: 1.049 MB / 0.7984 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006984/1.127, allocations: 3.975 MB / 0.8023 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/1.128, allocations: 0 / 0.8023 GB, free: 188.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00468/1.132, allocations: 3.773 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.003357/1.136, allocations: 0.7977 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.007587/1.143, allocations: 7.099 MB / 0.8137 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007723/1.144, allocations: 1.643 MB / 0.8153 GB, free: 177.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001137/1.145, allocations: 426.2 kB / 0.8157 GB, free: 177.1 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/1.146, allocations: 107.4 kB / 0.8158 GB, free: 177 MB / 0.5919 GB Notification: Performance of SimCode: time 8.42e-07/1.146, allocations: 4 kB / 0.8158 GB, free: 177 MB / 0.5919 GB Notification: Performance of Templates: time 0.08587/1.231, allocations: 79.26 MB / 0.8932 GB, free: 97.6 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)