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.001889/0.001889, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002081/0.002081, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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 1.293/1.293, allocations: 158.6 MB / 186.1 MB, free: 2.887 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.3039/0.3039, allocations: 36.34 MB / 274.7 MB, free: 10.71 MB / 266.7 MB " [Timeout remaining time 179] 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.643e-06/1.643e-06, allocations: 0 / 353.1 MB, free: 3.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.62e-05, allocations: 5.688 kB / 353.1 MB, free: 3.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3552/0.3553, allocations: 153.7 MB / 0.4949 GB, free: 15.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0154/0.3707, allocations: 9.802 MB / 0.5045 GB, free: 7.457 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003679/0.371, allocations: 11.88 kB / 0.5045 GB, free: 7.445 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004689/0.3715, allocations: 103.2 kB / 0.5046 GB, free: 7.344 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006401/0.3779, allocations: 2.101 MB / 0.5067 GB, free: 5.234 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008593/0.3865, allocations: 2.606 MB / 0.5092 GB, free: 2.621 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003099/0.3896, allocations: 2.261 MB / 0.5114 GB, free: 364 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001237/0.3908, allocations: 0.6489 MB / 0.512 GB, free: 15.7 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.3925, allocations: 0.9555 MB / 0.513 GB, free: 14.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004058/0.3965, allocations: 1.527 MB / 0.5145 GB, free: 13.21 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003094/0.3968, allocations: 120 kB / 0.5146 GB, free: 13.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01318/0.41, allocations: 5.728 MB / 0.5202 GB, free: 7.355 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009711/0.411, allocations: 0.6588 MB / 0.5208 GB, free: 6.695 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.412, allocations: 0.5459 MB / 0.5214 GB, free: 6.148 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.013/0.425, allocations: 5.554 MB / 0.5268 GB, free: 0.582 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.425, allocations: 4 kB / 0.5268 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.425, allocations: 0 / 0.5268 GB, free: 0.5781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.39e-05/0.4251, allocations: 0 / 0.5268 GB, free: 0.5781 MB / 394.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.006715/0.4318, allocations: 2.088 MB / 0.5288 GB, free: 14.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.4318, allocations: 8.031 kB / 0.5288 GB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002782/0.4346, allocations: 486.4 kB / 0.5293 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/0.4361, allocations: 0.6126 MB / 0.5299 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.837e-05/0.4362, allocations: 86.36 kB / 0.53 GB, free: 13.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002817/0.4365, allocations: 128.2 kB / 0.5301 GB, free: 13.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/0.4397, allocations: 1.306 MB / 0.5314 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.4398, allocations: 384 / 0.5314 GB, free: 11.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/0.4399, allocations: 47.92 kB / 0.5314 GB, free: 11.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.4399, allocations: 24 kB / 0.5314 GB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003175/0.4431, allocations: 1.132 MB / 0.5325 GB, free: 10.57 MB / 410.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.00804/0.4511, allocations: 3.37 MB / 0.5358 GB, free: 7.137 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004442/0.4556, allocations: 1.456 MB / 0.5373 GB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.4568, allocations: 0.5287 MB / 0.5378 GB, free: 5.148 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04426/0.501, allocations: 11.32 MB / 0.5488 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.295e-05/0.5011, allocations: 63.33 kB / 0.5489 GB, free: 9.746 MB / 426.7 MB Notification: Performance of pre-optimization done (n=207): time 4.428e-06/0.5011, allocations: 0 / 0.5489 GB, free: 9.746 MB / 426.7 MB Notification: Performance of matching and sorting (n=207): time 0.01402/0.5151, allocations: 3.651 MB / 0.5525 GB, free: 6.016 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.5152, allocations: 73.41 kB / 0.5525 GB, free: 5.934 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005472/0.5157, allocations: 418.8 kB / 0.5529 GB, free: 5.508 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001463/0.5159, allocations: 65.7 kB / 0.553 GB, free: 5.438 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.5161, allocations: 274.2 kB / 0.5532 GB, free: 5.164 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009323/0.5171, allocations: 0.8098 MB / 0.554 GB, free: 4.348 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006996/0.5178, allocations: 389.2 kB / 0.5544 GB, free: 3.957 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002859/0.518, allocations: 0.5082 MB / 0.5549 GB, free: 3.441 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/0.5191, allocations: 431.7 kB / 0.5553 GB, free: 3.02 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.5207, allocations: 0.7401 MB / 0.556 GB, free: 2.238 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/0.5234, allocations: 1.23 MB / 0.5572 GB, free: 1.008 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5234, allocations: 4 kB / 0.5572 GB, free: 1.004 MB / 426.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004524/0.5279, allocations: 1.887 MB / 0.5591 GB, free: 15.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.5279, allocations: 7.938 kB / 0.5591 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.5279, allocations: 3.984 kB / 0.5591 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01261/0.5405, allocations: 2.199 MB / 0.5612 GB, free: 12.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/0.5419, allocations: 235.7 kB / 0.5615 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005906/0.5478, allocations: 2.665 MB / 0.5641 GB, free: 9.969 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.549, allocations: 143 kB / 0.5642 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002111/0.5492, allocations: 67.97 kB / 0.5643 GB, free: 9.762 MB / 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.0005037/0.5497, allocations: 256.4 kB / 0.5645 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004238/0.5501, allocations: 163.4 kB / 0.5647 GB, free: 9.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01157/0.5617, allocations: 5.988 MB / 0.5705 GB, free: 3.188 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000137/0.5618, allocations: 111.8 kB / 0.5706 GB, free: 3.078 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.732e-05/0.5618, allocations: 4 kB / 0.5706 GB, free: 3.074 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.803e-05/0.5619, allocations: 11.95 kB / 0.5706 GB, free: 3.062 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01302/0.5749, allocations: 6.341 MB / 0.5768 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.866e-05/0.5749, allocations: 0 / 0.5768 GB, free: 12.53 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003045/0.578, allocations: 0.5151 MB / 0.5773 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005349/0.5833, allocations: 1.643 MB / 0.5789 GB, free: 10.29 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005252/0.5838, allocations: 79.94 kB / 0.579 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0212/0.605, allocations: 24.29 MB / 0.6027 GB, free: 0.5312 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.605, allocations: 7.938 kB / 0.6027 GB, free: 0.5234 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1692/0.7742, allocations: 5.476 MB / 0.6081 GB, free: 194.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/0.7758, allocations: 0.5716 MB / 0.6087 GB, free: 194.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002832/0.7761, allocations: 79.97 kB / 0.6087 GB, free: 194.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.7774, allocations: 80.44 kB / 0.6088 GB, free: 194.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000633/0.778, allocations: 185.4 kB / 0.609 GB, free: 194.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001822/0.7782, allocations: 81.98 kB / 0.6091 GB, free: 194.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003848/0.7786, allocations: 361.5 kB / 0.6094 GB, free: 194.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.7786, allocations: 0 / 0.6094 GB, free: 194.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003681/0.7822, allocations: 1.283 MB / 0.6107 GB, free: 194.1 MB / 474.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.004052/0.7863, allocations: 1.179 MB / 0.6118 GB, free: 194 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006421/0.7927, allocations: 2.494 MB / 0.6142 GB, free: 193.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7927, allocations: 0 / 0.6142 GB, free: 193.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004313/0.797, allocations: 3.207 MB / 0.6174 GB, free: 190.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00349/0.8005, allocations: 0.752 MB / 0.6181 GB, free: 189.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/0.8071, allocations: 5.624 MB / 0.6236 GB, free: 184.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007187/0.8078, allocations: 1.032 MB / 0.6246 GB, free: 183.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00106/0.8088, allocations: 319.4 kB / 0.6249 GB, free: 183.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003919/0.8092, allocations: 111.1 kB / 0.625 GB, free: 183.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.502e-06/0.8092, allocations: 0 / 0.625 GB, free: 183.5 MB / 474.7 MB Notification: Performance of Templates: time 0.08193/0.8912, allocations: 75.16 MB / 0.6984 GB, free: 108.3 MB / 474.7 MB " [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: 10.482776749995537]