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.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.0009555/0.0009555, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001218/0.001218, allocations: 169.6 kB / 24.91 MB, free: 8.727 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9373/0.9373, allocations: 158.6 MB / 186.8 MB, free: 2.773 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1902/0.1902, allocations: 36.35 MB / 275.4 MB, free: 10.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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.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_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 305.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.848e-05/2.003e-05, allocations: 2.312 kB / 305.2 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.1488/0.1489, allocations: 148.8 MB / 454 MB, free: 14.79 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.009033/0.1579, allocations: 9.776 MB / 463.8 MB, free: 4.977 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002707/0.1582, allocations: 7.938 kB / 463.8 MB, free: 4.969 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003675/0.1585, allocations: 99.19 kB / 463.9 MB, free: 4.871 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00547/0.164, allocations: 2.121 MB / 466 MB, free: 2.742 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005684/0.1697, allocations: 2.623 MB / 468.6 MB, free: 112 kB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.1785/0.3482, allocations: 2.244 MB / 470.9 MB, free: 7.285 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001006/0.3492, allocations: 0.659 MB / 471.5 MB, free: 7.285 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001308/0.3505, allocations: 0.948 MB / 472.5 MB, free: 7.285 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002463/0.3529, allocations: 1.521 MB / 474 MB, free: 7.07 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000296/0.3532, allocations: 119.1 kB / 474.1 MB, free: 7.07 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007988/0.3612, allocations: 5.724 MB / 479.8 MB, free: 7.07 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006395/0.3619, allocations: 0.657 MB / 480.5 MB, free: 7.07 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008505/0.3627, allocations: 0.5525 MB / 481 MB, free: 7.07 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008268/0.371, allocations: 5.262 MB / 486.3 MB, free: 6.957 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.371, allocations: 4.406 kB / 486.3 MB, free: 6.957 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.371, allocations: 0 / 486.3 MB, free: 6.957 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.566e-05/0.371, allocations: 0 / 486.3 MB, free: 6.957 MB / 426.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.003588/0.3746, allocations: 1.8 MB / 488.1 MB, free: 6.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.3746, allocations: 9.438 kB / 488.1 MB, free: 6.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00147/0.3761, allocations: 0.5069 MB / 488.6 MB, free: 6.145 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006073/0.3767, allocations: 0.5361 MB / 489.2 MB, free: 5.938 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.055e-05/0.3768, allocations: 79.62 kB / 489.2 MB, free: 5.938 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.3769, allocations: 133.3 kB / 489.4 MB, free: 5.926 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001407/0.3783, allocations: 1.131 MB / 490.5 MB, free: 5.809 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.922e-05/0.3784, allocations: 3.469 kB / 490.5 MB, free: 5.809 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.571e-05/0.3784, allocations: 41.34 kB / 490.5 MB, free: 5.805 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.3785, allocations: 26.12 kB / 490.6 MB, free: 5.805 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0012/0.3797, allocations: 0.7586 MB / 491.3 MB, free: 5.793 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.002876/0.3825, allocations: 2.516 MB / 493.8 MB, free: 5.117 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.3843, allocations: 1.157 MB / 495 MB, free: 5.023 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004912/0.3848, allocations: 338.2 kB / 495.3 MB, free: 5.008 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06571/0.4505, allocations: 31.77 MB / 0.5147 GB, free: 10.64 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.024e-05/0.4506, allocations: 50.62 kB / 0.5148 GB, free: 10.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=207): time 5.621e-06/0.4506, allocations: 1.172 kB / 0.5148 GB, free: 10.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=207): time 0.006818/0.4574, allocations: 2.75 MB / 0.5175 GB, free: 7.953 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.4574, allocations: 73.41 kB / 0.5176 GB, free: 7.867 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001961/0.4576, allocations: 293.5 kB / 0.5178 GB, free: 7.621 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.541e-05/0.4577, allocations: 65.8 kB / 0.5179 GB, free: 7.582 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.74e-05/0.4578, allocations: 170.2 kB / 0.5181 GB, free: 7.434 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004068/0.4582, allocations: 0.773 MB / 0.5188 GB, free: 6.773 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.4586, allocations: 313 kB / 0.5191 GB, free: 6.598 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.14e-05/0.4586, allocations: 335.5 kB / 0.5194 GB, free: 6.277 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003528/0.459, allocations: 227.1 kB / 0.5196 GB, free: 6.059 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004338/0.4594, allocations: 485.3 kB / 0.5201 GB, free: 5.59 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008412/0.4603, allocations: 0.7889 MB / 0.5209 GB, free: 4.844 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.4603, allocations: 0 / 0.5209 GB, free: 4.844 MB / 442.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.001531/0.4618, allocations: 1.136 MB / 0.522 GB, free: 3.809 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4618, allocations: 5.203 kB / 0.522 GB, free: 3.805 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.4618, allocations: 0 / 0.522 GB, free: 3.805 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005488/0.4673, allocations: 1.937 MB / 0.5239 GB, free: 1.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.4679, allocations: 240.4 kB / 0.5241 GB, free: 1.777 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.4702, allocations: 1.821 MB / 0.5259 GB, free: 116 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006266/0.4708, allocations: 129.9 kB / 0.526 GB, free: 16 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001184/0.471, allocations: 57.34 kB / 0.5261 GB, free: 15.98 MB / 458.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.000375/0.4713, allocations: 193.5 kB / 0.5263 GB, free: 15.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002106/0.4715, allocations: 136 kB / 0.5264 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005116/0.4767, allocations: 5.023 MB / 0.5313 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-05/0.4767, allocations: 115.5 kB / 0.5314 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.4767, allocations: 1.078 kB / 0.5314 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.051e-05/0.4768, allocations: 15.95 kB / 0.5314 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005536/0.4823, allocations: 5.13 MB / 0.5364 GB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.4823, allocations: 0 / 0.5364 GB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.4836, allocations: 498.5 kB / 0.5369 GB, free: 6.172 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002183/0.4858, allocations: 1.524 MB / 0.5384 GB, free: 4.672 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000217/0.486, allocations: 73.94 kB / 0.5385 GB, free: 4.637 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008121/0.4942, allocations: 16.44 MB / 0.5545 GB, free: 3.512 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4942, allocations: 3.938 kB / 0.5545 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005267/0.4994, allocations: 4.12 MB / 0.5585 GB, free: 15.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006665/0.5001, allocations: 0.4996 MB / 0.559 GB, free: 15.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/0.5003, allocations: 72.36 kB / 0.5591 GB, free: 15.14 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004977/0.5008, allocations: 74.86 kB / 0.5592 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002545/0.501, allocations: 184.9 kB / 0.5593 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.5011, allocations: 57.16 kB / 0.5594 GB, free: 14.91 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001554/0.5013, allocations: 170.5 kB / 0.5596 GB, free: 14.77 MB / 490.7 MB Notification: Performance of sort global known variables: time 7e-08/0.5013, allocations: 0 / 0.5596 GB, free: 14.77 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002966/0.5042, allocations: 1.279 MB / 0.5608 GB, free: 13.58 MB / 490.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.003675/0.5079, allocations: 1.241 MB / 0.562 GB, free: 12.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003345/0.5113, allocations: 1.898 MB / 0.5639 GB, free: 10.64 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.5113, allocations: 4 kB / 0.5639 GB, free: 10.63 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.5135, allocations: 2.315 MB / 0.5661 GB, free: 8.344 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001858/0.5154, allocations: 0.7439 MB / 0.5669 GB, free: 7.723 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005459/0.5208, allocations: 4.906 MB / 0.5717 GB, free: 3.289 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.5212, allocations: 0.555 MB / 0.5722 GB, free: 2.719 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006532/0.5219, allocations: 205.5 kB / 0.5724 GB, free: 2.516 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/0.5229, allocations: 0.499 MB / 0.5729 GB, free: 2.031 MB / 490.7 MB Notification: Performance of SimCode: time 2.004e-06/0.5229, allocations: 0 / 0.5729 GB, free: 2.031 MB / 490.7 MB Notification: Performance of Templates: time 0.251/0.774, allocations: 84.22 MB / 0.6551 GB, free: 155.2 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile [Timeout 660] (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=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.485995282884687]