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.001435/0.001435, allocations: 109.9 kB / 17.74 MB, free: 5.23 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.001564/0.001564, allocations: 185.5 kB / 18.66 MB, free: 4.312 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.427/1.427, allocations: 205.1 MB / 224.5 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.2885/0.2885, allocations: 48.84 MB / 320.7 MB, free: 11.03 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.001473/0.001473, allocations: 67.89 kB / 451.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/0.1326, allocations: 59.15 MB / 0.4984 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.5209/0.6536, allocations: 160.8 MB / 0.6554 GB, free: 9 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01361/0.6672, allocations: 9.92 MB / 0.6651 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004087/0.6677, allocations: 4 kB / 0.6651 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.6683, allocations: 99.2 kB / 0.6652 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006158/0.6745, allocations: 2.1 MB / 0.6673 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007967/0.6824, allocations: 2.591 MB / 0.6698 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002502/0.685, allocations: 2.224 MB / 0.672 GB, free: 8.066 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.6861, allocations: 0.6207 MB / 0.6726 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001149/0.6873, allocations: 0.7018 MB / 0.6732 GB, free: 6.746 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003423/0.6907, allocations: 1.558 MB / 0.6748 GB, free: 5.176 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004662/0.6912, allocations: 120 kB / 0.6749 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01201/0.7032, allocations: 5.964 MB / 0.6807 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0009276/0.7042, allocations: 0.6158 MB / 0.6813 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001457/0.7057, allocations: 0.6888 MB / 0.682 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009497/0.7152, allocations: 4.502 MB / 0.6864 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.7153, allocations: 0 / 0.6864 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7153, allocations: 0 / 0.6864 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.338e-05/0.7153, allocations: 4 kB / 0.6864 GB, free: 9.266 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.005867/0.7212, allocations: 1.993 MB / 0.6883 GB, free: 7.223 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.7212, allocations: 11.89 kB / 0.6883 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002506/0.7237, allocations: 283.5 kB / 0.6886 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.7248, allocations: 0.6434 MB / 0.6892 GB, free: 6.254 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.804e-05/0.7249, allocations: 82.38 kB / 0.6893 GB, free: 6.172 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.7251, allocations: 136.4 kB / 0.6894 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003491/0.7286, allocations: 1.757 MB / 0.6912 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.049e-05/0.7287, allocations: 0 / 0.6912 GB, free: 4.258 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.7288, allocations: 36 kB / 0.6912 GB, free: 4.223 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.7288, allocations: 28 kB / 0.6912 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003512/0.7323, allocations: 1.842 MB / 0.693 GB, free: 2.352 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.006886/0.7392, allocations: 4.728 MB / 0.6976 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005052/0.7443, allocations: 2.479 MB / 0.7001 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00158/0.7459, allocations: 1.084 MB / 0.7011 GB, free: 9.812 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0435/0.7894, allocations: 20.16 MB / 0.7208 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.764e-05/0.7895, allocations: 52.56 kB / 0.7208 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 4.438e-06/0.7895, allocations: 3.938 kB / 0.7209 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.01621/0.8058, allocations: 6.327 MB / 0.727 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.391e-05/0.8059, allocations: 77.41 kB / 0.7271 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004751/0.8063, allocations: 389.7 kB / 0.7275 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002875/0.8066, allocations: 69.62 kB / 0.7275 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001753/0.8068, allocations: 207.3 kB / 0.7277 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000812/0.8077, allocations: 0.7238 MB / 0.7284 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006276/0.8083, allocations: 343.6 kB / 0.7288 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.8084, allocations: 337.9 kB / 0.7291 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.8101, allocations: 0.9408 MB / 0.73 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001743/0.8118, allocations: 1.095 MB / 0.7311 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003567/0.8154, allocations: 2.164 MB / 0.7332 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/0.8154, allocations: 0 / 0.7332 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005829/0.8213, allocations: 3.242 MB / 0.7364 GB, free: 3.027 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.8213, allocations: 7.906 kB / 0.7364 GB, free: 3.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8214, allocations: 3.984 kB / 0.7364 GB, free: 3.016 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01233/0.8337, allocations: 2.661 MB / 0.739 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.835, allocations: 240.8 kB / 0.7392 GB, free: 124 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007017/0.842, allocations: 4.099 MB / 0.7432 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.8432, allocations: 150.5 kB / 0.7434 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.8434, allocations: 75.95 kB / 0.7434 GB, free: 11.77 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.0006484/0.8441, allocations: 334.5 kB / 0.7437 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003302/0.8444, allocations: 106.8 kB / 0.7438 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01287/0.8573, allocations: 8.923 MB / 0.7526 GB, free: 2.262 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001131/0.8574, allocations: 115.8 kB / 0.7527 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.671e-05/0.8575, allocations: 4 kB / 0.7527 GB, free: 2.145 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.332e-05/0.8575, allocations: 11.95 kB / 0.7527 GB, free: 2.133 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2779/1.135, allocations: 10.67 MB / 0.7631 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.937e-05/1.136, allocations: 8.031 kB / 0.7631 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002826/1.138, allocations: 0.5111 MB / 0.7636 GB, free: 214.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005055/1.143, allocations: 2.136 MB / 0.7657 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004583/1.144, allocations: 83.25 kB / 0.7658 GB, free: 213.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/1.157, allocations: 20.64 MB / 0.7859 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.157, allocations: 0 / 0.7859 GB, free: 195.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01546/1.172, allocations: 9.694 MB / 0.7954 GB, free: 190.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/1.174, allocations: 0.6606 MB / 0.796 GB, free: 190.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002667/1.174, allocations: 75.25 kB / 0.7961 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.175, allocations: 85.98 kB / 0.7962 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004088/1.176, allocations: 172.7 kB / 0.7964 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001626/1.176, allocations: 82.11 kB / 0.7964 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004601/1.176, allocations: 372.6 kB / 0.7968 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.176, allocations: 3.062 kB / 0.7968 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003572/1.18, allocations: 1.269 MB / 0.798 GB, free: 190 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.003498/1.183, allocations: 1.059 MB / 0.7991 GB, free: 189.8 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007005/1.19, allocations: 3.98 MB / 0.803 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/1.19, allocations: 0 / 0.803 GB, free: 188.6 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004688/1.195, allocations: 3.774 MB / 0.8066 GB, free: 186.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/1.198, allocations: 0.7862 MB / 0.8074 GB, free: 186.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007526/1.206, allocations: 7.187 MB / 0.8144 GB, free: 179.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000734/1.207, allocations: 1.639 MB / 0.816 GB, free: 177.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005263/1.207, allocations: 111.4 kB / 0.8161 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/1.207, allocations: 0 / 0.8161 GB, free: 177.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.0813/1.289, allocations: 99.7 MB / 0.9135 GB, free: 77.41 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)