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.001168/0.001168, allocations: 88.66 kB / 16.31 MB, free: 6.461 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.001159/0.001159, allocations: 181.5 kB / 17.21 MB, free: 6.328 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.619/1.619, allocations: 205.4 MB / 223.4 MB, free: 5.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4128/0.4128, allocations: 48.77 MB / 320.4 MB, free: 3.816 MB / 254.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.0005939/0.000594, allocations: 16 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1163, allocations: 60.26 MB / 451.4 MB, free: 1.906 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3329/0.4493, allocations: 146.4 MB / 0.5838 GB, free: 10.79 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01027/0.4596, allocations: 9.27 MB / 0.5928 GB, free: 1.496 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000467/0.4601, allocations: 7.938 kB / 0.5929 GB, free: 1.488 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003539/0.4605, allocations: 79.45 kB / 0.5929 GB, free: 1.41 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004589/0.4651, allocations: 1.67 MB / 0.5946 GB, free: 15.75 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005514/0.4706, allocations: 1.984 MB / 0.5965 GB, free: 13.77 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.002083/0.4727, allocations: 2.226 MB / 0.5987 GB, free: 11.54 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006995/0.4734, allocations: 0.5521 MB / 0.5992 GB, free: 10.98 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007156/0.4742, allocations: 0.6158 MB / 0.5998 GB, free: 10.37 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003405/0.4776, allocations: 2.228 MB / 0.602 GB, free: 8.137 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001441/0.4777, allocations: 60 kB / 0.602 GB, free: 8.078 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009514/0.4873, allocations: 5.654 MB / 0.6076 GB, free: 2.418 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008105/0.4881, allocations: 0.5924 MB / 0.6081 GB, free: 1.824 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003992/0.4885, allocations: 241.2 kB / 0.6084 GB, free: 1.582 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005788/0.4943, allocations: 3.052 MB / 0.6114 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.4944, allocations: 0 / 0.6114 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.116e-06/0.4944, allocations: 0 / 0.6114 GB, free: 14.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.955e-05/0.4944, allocations: 0 / 0.6114 GB, free: 14.52 MB / 494.1 MB 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.00584/0.5003, allocations: 1.778 MB / 0.6131 GB, free: 12.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.5003, allocations: 11.97 kB / 0.6131 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00242/0.5028, allocations: 286.5 kB / 0.6134 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.5038, allocations: 0.6346 MB / 0.614 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.47e-05/0.5039, allocations: 78 kB / 0.6141 GB, free: 11.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/0.5041, allocations: 127.8 kB / 0.6142 GB, free: 11.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003815/0.508, allocations: 1.753 MB / 0.6159 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.478e-05/0.5081, allocations: 0 / 0.6159 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001642/0.5082, allocations: 43.98 kB / 0.6159 GB, free: 9.707 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.75e-05/0.5083, allocations: 24 kB / 0.616 GB, free: 9.684 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/0.5121, allocations: 1.85 MB / 0.6178 GB, free: 7.832 MB / 494.1 MB 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.007813/0.5199, allocations: 4.728 MB / 0.6224 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005935/0.5259, allocations: 2.48 MB / 0.6248 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2785/0.8044, allocations: 1.087 MB / 0.6259 GB, free: 26.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03665/0.8411, allocations: 20.25 MB / 0.6456 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.812e-05/0.8412, allocations: 60.7 kB / 0.6457 GB, free: 14.58 MB / 494.1 MB Notification: Performance of pre-optimization done (n=207): time 4.178e-06/0.8412, allocations: 0.6875 kB / 0.6457 GB, free: 14.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=207): time 0.01476/0.856, allocations: 6.349 MB / 0.6519 GB, free: 12.61 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/0.8561, allocations: 74.47 kB / 0.652 GB, free: 12.55 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004745/0.8565, allocations: 383.4 kB / 0.6523 GB, free: 12.44 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001399/0.8567, allocations: 65.27 kB / 0.6524 GB, free: 12.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.8568, allocations: 203.7 kB / 0.6526 GB, free: 12.31 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005418/0.8574, allocations: 0.7337 MB / 0.6533 GB, free: 11.86 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.8575, allocations: 37.19 kB / 0.6534 GB, free: 11.86 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8576, allocations: 415.2 kB / 0.6537 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.8592, allocations: 0.9359 MB / 0.6547 GB, free: 11.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.8609, allocations: 1.092 MB / 0.6557 GB, free: 11.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.8627, allocations: 1.106 MB / 0.6568 GB, free: 11.45 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/0.8627, allocations: 0 / 0.6568 GB, free: 11.45 MB / 494.1 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005195/0.8679, allocations: 3.25 MB / 0.66 GB, free: 11.31 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.684e-05/0.868, allocations: 10.41 kB / 0.66 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.868, allocations: 0 / 0.66 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01059/0.8786, allocations: 2.665 MB / 0.6626 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.8798, allocations: 243.8 kB / 0.6628 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006198/0.886, allocations: 4.081 MB / 0.6668 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.8875, allocations: 162.8 kB / 0.667 GB, free: 10.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001808/0.8877, allocations: 72.84 kB / 0.667 GB, free: 10.54 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {36 117} Notification: Performance of prepare postOptimizeDAE: time 0.0005825/0.8882, allocations: 334.3 kB / 0.6674 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/0.8885, allocations: 102.2 kB / 0.6675 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01045/0.8989, allocations: 8.941 MB / 0.6762 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.59e-05/0.899, allocations: 120.2 kB / 0.6763 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-05/0.8991, allocations: 4.219 kB / 0.6763 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-05/0.8991, allocations: 11.16 kB / 0.6763 GB, free: 9.332 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/0.9113, allocations: 10.66 MB / 0.6867 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/0.9114, allocations: 0 / 0.6867 GB, free: 4.859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/0.9139, allocations: 0.5092 MB / 0.6872 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004608/0.9185, allocations: 2.193 MB / 0.6894 GB, free: 2.551 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004605/0.919, allocations: 85.88 kB / 0.6894 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01724/0.9362, allocations: 19.7 MB / 0.7087 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.9363, allocations: 0.7031 kB / 0.7087 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01833/0.9546, allocations: 9.678 MB / 0.7181 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001924/0.9566, allocations: 0.6983 MB / 0.7188 GB, free: 8.176 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000636/0.9573, allocations: 67.19 kB / 0.7189 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.9589, allocations: 97.64 kB / 0.719 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006584/0.9596, allocations: 178.9 kB / 0.7191 GB, free: 7.938 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003315/0.9599, allocations: 78.59 kB / 0.7192 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006144/0.9605, allocations: 372.8 kB / 0.7196 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.51e-07/0.9605, allocations: 0 / 0.7196 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004234/0.9648, allocations: 1.266 MB / 0.7208 GB, free: 6.488 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(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%) 1} * Non-linear torn systems: 9 {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.004894/0.9697, allocations: 1.061 MB / 0.7218 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008584/0.9783, allocations: 3.921 MB / 0.7257 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.9784, allocations: 1.969 kB / 0.7257 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005988/0.9844, allocations: 3.749 MB / 0.7293 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00382/0.9882, allocations: 0.7713 MB / 0.7301 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01122/0.9994, allocations: 8.539 MB / 0.7384 GB, free: 7.77 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/1.001, allocations: 1.643 MB / 0.74 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001756/1.003, allocations: 409.4 kB / 0.7404 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005982/1.003, allocations: 121 kB / 0.7405 GB, free: 5.613 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/1.003, allocations: 3.938 kB / 0.7405 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of Templates: time 0.1082/1.111, allocations: 74.6 MB / 0.8134 GB, free: 11.31 MB / 0.6075 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: