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.001165/0.001165, allocations: 80.8 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.001014/0.001014, allocations: 169.6 kB / 24.91 MB, free: 8.73 MB / 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.9419/0.9419, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.09792/0.09792, allocations: 19.74 MB / 281.6 MB, free: 9.156 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.213e-06/1.213e-06, allocations: 0 / 305.2 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.994e-05/2.115e-05, allocations: 2.859 kB / 305.2 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.2847/0.2848, allocations: 151.7 MB / 456.9 MB, free: 10.06 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008371/0.2931, allocations: 9.787 MB / 466.7 MB, free: 9.934 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.2934, allocations: 5.938 kB / 466.7 MB, free: 9.934 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003328/0.2938, allocations: 106.2 kB / 466.8 MB, free: 9.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003417/0.2972, allocations: 1.894 MB / 468.7 MB, free: 9.871 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005673/0.3029, allocations: 2.413 MB / 471.1 MB, free: 9.801 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001638/0.3045, allocations: 2.252 MB / 473.4 MB, free: 9.797 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007683/0.3053, allocations: 0.6567 MB / 474.1 MB, free: 9.781 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000936/0.3062, allocations: 0.9424 MB / 475 MB, free: 9.777 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.3081, allocations: 1.525 MB / 476.5 MB, free: 9.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002211/0.3083, allocations: 118.8 kB / 476.6 MB, free: 9.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008795/0.3171, allocations: 6.134 MB / 482.8 MB, free: 9.438 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006536/0.3178, allocations: 0.6586 MB / 483.4 MB, free: 9.398 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007709/0.3185, allocations: 0.5548 MB / 484 MB, free: 9.363 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008328/0.3269, allocations: 5.264 MB / 489.2 MB, free: 9.156 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3269, allocations: 0 / 489.2 MB, free: 9.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.3269, allocations: 0 / 489.2 MB, free: 9.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.655e-05/0.3269, allocations: 0 / 489.2 MB, free: 9.156 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.004306/0.3312, allocations: 1.821 MB / 491.1 MB, free: 8.402 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3312, allocations: 9 kB / 491.1 MB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002411/0.3336, allocations: 0.4951 MB / 491.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007371/0.3344, allocations: 0.543 MB / 492.1 MB, free: 7.918 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.56e-05/0.3344, allocations: 80.59 kB / 492.2 MB, free: 7.914 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.3346, allocations: 126.5 kB / 492.3 MB, free: 7.902 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.3366, allocations: 1.131 MB / 493.4 MB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.3366, allocations: 384 / 493.4 MB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-05/0.3367, allocations: 44.22 kB / 493.5 MB, free: 7.391 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.3367, allocations: 26.69 kB / 493.5 MB, free: 7.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001741/0.3385, allocations: 0.7542 MB / 494.3 MB, free: 7.145 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.003664/0.3421, allocations: 2.515 MB / 496.8 MB, free: 6.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002493/0.3446, allocations: 1.157 MB / 497.9 MB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000498/0.3451, allocations: 330.2 kB / 498.3 MB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06228/0.4074, allocations: 31.82 MB / 0.5177 GB, free: 1.938 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/0.4075, allocations: 54.12 kB / 0.5177 GB, free: 1.887 MB / 426.7 MB Notification: Performance of pre-optimization done (n=207): time 3.878e-06/0.4075, allocations: 0 / 0.5177 GB, free: 1.887 MB / 426.7 MB Notification: Performance of matching and sorting (n=207): time 0.005909/0.4134, allocations: 2.746 MB / 0.5204 GB, free: 15.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.4134, allocations: 77.41 kB / 0.5205 GB, free: 15.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000212/0.4136, allocations: 290.8 kB / 0.5208 GB, free: 14.92 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.4137, allocations: 63.95 kB / 0.5208 GB, free: 14.88 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.801e-05/0.4138, allocations: 179.1 kB / 0.521 GB, free: 14.72 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000449/0.4143, allocations: 0.7616 MB / 0.5217 GB, free: 14.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003727/0.4146, allocations: 315.5 kB / 0.522 GB, free: 13.89 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.083e-05/0.4147, allocations: 334.3 kB / 0.5223 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003765/0.4151, allocations: 229.8 kB / 0.5226 GB, free: 13.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004612/0.4156, allocations: 489 kB / 0.523 GB, free: 12.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.4166, allocations: 0.7899 MB / 0.5238 GB, free: 12.14 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.4166, allocations: 4 kB / 0.5238 GB, free: 12.13 MB / 442.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.002103/0.4187, allocations: 1.132 MB / 0.5249 GB, free: 11.1 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.4187, allocations: 8 kB / 0.5249 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.4187, allocations: 0 / 0.5249 GB, free: 11.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006051/0.4248, allocations: 1.935 MB / 0.5268 GB, free: 9.285 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.4258, allocations: 304 kB / 0.5271 GB, free: 9.004 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.4284, allocations: 1.828 MB / 0.5289 GB, free: 7.336 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006945/0.4291, allocations: 137.2 kB / 0.529 GB, free: 7.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.4292, allocations: 55.81 kB / 0.5291 GB, free: 7.195 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.000388/0.4296, allocations: 188 kB / 0.5292 GB, free: 7.062 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.4298, allocations: 142.9 kB / 0.5294 GB, free: 6.949 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00501/0.4348, allocations: 5.008 MB / 0.5343 GB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.576e-05/0.4349, allocations: 116 kB / 0.5344 GB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.4349, allocations: 3.094 kB / 0.5344 GB, free: 2.426 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-05/0.4349, allocations: 11.95 kB / 0.5344 GB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005949/0.4409, allocations: 5.122 MB / 0.5394 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.788e-06/0.4409, allocations: 0 / 0.5394 GB, free: 13.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/0.4428, allocations: 0.7127 MB / 0.5401 GB, free: 13.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002144/0.445, allocations: 1.516 MB / 0.5416 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002592/0.4452, allocations: 75.94 kB / 0.5417 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007449/0.4527, allocations: 16.45 MB / 0.5577 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4527, allocations: 4 kB / 0.5577 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005177/0.4579, allocations: 4.134 MB / 0.5618 GB, free: 6.625 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006127/0.4585, allocations: 0.4913 MB / 0.5622 GB, free: 6.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.4587, allocations: 75.86 kB / 0.5623 GB, free: 6.105 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/0.4592, allocations: 67.91 kB / 0.5624 GB, free: 6.039 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.4595, allocations: 180.9 kB / 0.5625 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001116/0.4596, allocations: 55.97 kB / 0.5626 GB, free: 5.809 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001525/0.4597, allocations: 171.3 kB / 0.5628 GB, free: 5.656 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4597, allocations: 4 kB / 0.5628 GB, free: 5.652 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003238/0.463, allocations: 1.287 MB / 0.564 GB, free: 4.363 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.0043/0.4673, allocations: 1.248 MB / 0.5652 GB, free: 3.203 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00372/0.471, allocations: 1.905 MB / 0.5671 GB, free: 1.277 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/0.471, allocations: 4 kB / 0.5671 GB, free: 1.273 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002381/0.4734, allocations: 2.309 MB / 0.5694 GB, free: 14.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.4754, allocations: 0.7374 MB / 0.5701 GB, free: 14.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005393/0.4808, allocations: 4.926 MB / 0.5749 GB, free: 9.34 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005536/0.4813, allocations: 0.5445 MB / 0.5754 GB, free: 8.766 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008523/0.4822, allocations: 202.4 kB / 0.5756 GB, free: 8.562 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/0.4836, allocations: 0.499 MB / 0.5761 GB, free: 8.055 MB / 490.7 MB Notification: Performance of SimCode: time 1.483e-06/0.4836, allocations: 0 / 0.5761 GB, free: 8.055 MB / 490.7 MB Notification: Performance of Templates: time 0.2459/0.7295, allocations: 84.45 MB / 0.6586 GB, free: 127.3 MB / 0.5261 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.100488505791873]