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.001313/0.001313, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 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.001216/0.001216, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 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 0.8951/0.8951, allocations: 177.1 MB / 205 MB, free: 5.191 MB / 186.7 MB " [Timeout remaining time 179] 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.08995/0.08995, allocations: 19.74 MB / 281.2 MB, free: 8.957 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 358 MB, free: 6.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.607e-05, allocations: 9.203 kB / 358 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.2542/0.2542, allocations: 152.4 MB / 0.4984 GB, free: 6.008 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007855/0.2621, allocations: 9.817 MB / 0.508 GB, free: 12.21 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.2622, allocations: 11.88 kB / 0.508 GB, free: 12.2 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003272/0.2626, allocations: 103.2 kB / 0.5081 GB, free: 12.09 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003584/0.2662, allocations: 2.109 MB / 0.5101 GB, free: 9.977 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004472/0.2706, allocations: 2.617 MB / 0.5127 GB, free: 7.352 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.2721, allocations: 2.263 MB / 0.5149 GB, free: 5.086 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000741/0.2728, allocations: 0.6566 MB / 0.5155 GB, free: 4.426 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007909/0.2736, allocations: 0.9439 MB / 0.5165 GB, free: 3.48 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.2758, allocations: 1.547 MB / 0.518 GB, free: 1.922 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001681/0.276, allocations: 120 kB / 0.5181 GB, free: 1.805 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006501/0.2825, allocations: 5.732 MB / 0.5237 GB, free: 12.07 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003846/0.2828, allocations: 0.6549 MB / 0.5243 GB, free: 11.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006716/0.2835, allocations: 0.5536 MB / 0.5249 GB, free: 10.86 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004767/0.2883, allocations: 5.269 MB / 0.53 GB, free: 5.574 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2883, allocations: 0 / 0.53 GB, free: 5.574 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2883, allocations: 0 / 0.53 GB, free: 5.574 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.2883, allocations: 4 kB / 0.53 GB, free: 5.57 MB / 410.7 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.003059/0.2914, allocations: 2.048 MB / 0.532 GB, free: 3.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.2914, allocations: 8.031 kB / 0.532 GB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.2928, allocations: 486.4 kB / 0.5325 GB, free: 2.996 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006153/0.2934, allocations: 0.6087 MB / 0.5331 GB, free: 2.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.557e-05/0.2935, allocations: 82.38 kB / 0.5332 GB, free: 2.273 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001566/0.2936, allocations: 132.2 kB / 0.5333 GB, free: 2.145 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.2953, allocations: 1.224 MB / 0.5345 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.2953, allocations: 12.3 kB / 0.5345 GB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.7e-05/0.2954, allocations: 43.94 kB / 0.5345 GB, free: 0.832 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.927e-05/0.2954, allocations: 24 kB / 0.5346 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.297, allocations: 0.9715 MB / 0.5355 GB, free: 15.83 MB / 426.7 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.003259/0.3002, allocations: 3.191 MB / 0.5386 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002382/0.3026, allocations: 1.303 MB / 0.5399 GB, free: 11.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/0.3032, allocations: 481.4 kB / 0.5404 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02125/0.3244, allocations: 11.76 MB / 0.5518 GB, free: 15.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.874e-05/0.3245, allocations: 59.33 kB / 0.5519 GB, free: 14.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=207): time 4.058e-06/0.3245, allocations: 4 kB / 0.5519 GB, free: 14.95 MB / 442.7 MB Notification: Performance of matching and sorting (n=207): time 0.007295/0.3318, allocations: 3.436 MB / 0.5553 GB, free: 11.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/0.3318, allocations: 73.41 kB / 0.5553 GB, free: 11.35 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.3321, allocations: 366.8 kB / 0.5557 GB, free: 10.98 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001103/0.3322, allocations: 61.7 kB / 0.5557 GB, free: 10.91 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.3324, allocations: 270.2 kB / 0.556 GB, free: 10.64 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000498/0.3329, allocations: 0.7862 MB / 0.5568 GB, free: 9.848 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003978/0.3333, allocations: 357.2 kB / 0.5571 GB, free: 9.488 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3334, allocations: 0.5004 MB / 0.5576 GB, free: 8.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006322/0.334, allocations: 359.8 kB / 0.5579 GB, free: 8.629 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007406/0.3348, allocations: 0.6435 MB / 0.5586 GB, free: 7.945 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.3361, allocations: 1.024 MB / 0.5596 GB, free: 6.922 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3361, allocations: 0 / 0.5596 GB, free: 6.922 MB / 442.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.00239/0.3385, allocations: 1.723 MB / 0.5612 GB, free: 5.188 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3385, allocations: 4 kB / 0.5612 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3385, allocations: 0 / 0.5612 GB, free: 5.184 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005759/0.3443, allocations: 2.099 MB / 0.5633 GB, free: 3.086 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.3449, allocations: 235.7 kB / 0.5635 GB, free: 2.855 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/0.348, allocations: 2.486 MB / 0.5659 GB, free: 344 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006067/0.3486, allocations: 142.9 kB / 0.5661 GB, free: 200 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/0.3487, allocations: 75.95 kB / 0.5662 GB, free: 124 kB / 442.7 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 (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.1526/0.5013, allocations: 231.4 kB / 0.5664 GB, free: 57.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003394/0.5016, allocations: 167.1 kB / 0.5665 GB, free: 57.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0078/0.5094, allocations: 5.955 MB / 0.5724 GB, free: 57.06 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000108/0.5096, allocations: 112.2 kB / 0.5725 GB, free: 57.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-05/0.5096, allocations: 4.562 kB / 0.5725 GB, free: 57.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.478e-05/0.5096, allocations: 13.31 kB / 0.5725 GB, free: 57.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006623/0.5162, allocations: 6.272 MB / 0.5786 GB, free: 56.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-05/0.5162, allocations: 0 / 0.5786 GB, free: 56.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001346/0.5176, allocations: 0.5115 MB / 0.5791 GB, free: 56.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002191/0.5198, allocations: 1.633 MB / 0.5807 GB, free: 55.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001971/0.52, allocations: 83.77 kB / 0.5808 GB, free: 55.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006427/0.5264, allocations: 24.09 MB / 0.6043 GB, free: 33.05 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5264, allocations: 0 / 0.6043 GB, free: 33.05 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006808/0.5332, allocations: 5.306 MB / 0.6095 GB, free: 32.13 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006597/0.5339, allocations: 0.569 MB / 0.61 GB, free: 32 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001759/0.534, allocations: 83.08 kB / 0.6101 GB, free: 31.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005864/0.5346, allocations: 79.34 kB / 0.6102 GB, free: 31.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002957/0.5349, allocations: 187.6 kB / 0.6104 GB, free: 31.99 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/0.535, allocations: 83.75 kB / 0.6105 GB, free: 31.98 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002158/0.5353, allocations: 319.3 kB / 0.6108 GB, free: 31.85 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5353, allocations: 0.9062 kB / 0.6108 GB, free: 31.85 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002246/0.5375, allocations: 1.288 MB / 0.612 GB, free: 31.84 MB / 442.7 MB 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.003007/0.5405, allocations: 1.199 MB / 0.6132 GB, free: 31.68 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003807/0.5443, allocations: 2.349 MB / 0.6155 GB, free: 31.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5443, allocations: 3.906 kB / 0.6155 GB, free: 31.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002484/0.5468, allocations: 3.142 MB / 0.6186 GB, free: 29.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.5487, allocations: 0.753 MB / 0.6193 GB, free: 29.78 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005364/0.554, allocations: 5.564 MB / 0.6247 GB, free: 27.44 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.5544, allocations: 0.5479 MB / 0.6253 GB, free: 26.99 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007336/0.5551, allocations: 325 kB / 0.6256 GB, free: 26.77 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003102/0.5554, allocations: 106.8 kB / 0.6257 GB, free: 26.68 MB / 442.7 MB Notification: Performance of SimCode: time 1.854e-06/0.5554, allocations: 0 / 0.6257 GB, free: 26.68 MB / 442.7 MB Notification: Performance of Templates: time 0.08061/0.636, allocations: 87.05 MB / 0.7107 GB, free: 8.957 MB / 0.4948 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=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.710228447802365]