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.001429/0.001429, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001603/0.001603, allocations: 161.7 kB / 24.27 MB, free: 172 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 1.468/1.468, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] 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.147/0.147, allocations: 19.74 MB / 280.8 MB, free: 9.289 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.353e-06/1.353e-06, allocations: 0 / 357.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.549e-05/2.684e-05, allocations: 6.25 kB / 357.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3256/0.3257, allocations: 142.1 MB / 499.3 MB, free: 14.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01458/0.3402, allocations: 8.848 MB / 0.4963 GB, free: 5.367 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004489/0.3407, allocations: 11.88 kB / 0.4963 GB, free: 5.355 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.3412, allocations: 111.2 kB / 0.4964 GB, free: 5.246 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006032/0.3472, allocations: 2.113 MB / 0.4984 GB, free: 3.125 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007878/0.3551, allocations: 2.602 MB / 0.501 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002863/0.3579, allocations: 2.257 MB / 0.5032 GB, free: 14.25 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.3589, allocations: 0.6605 MB / 0.5038 GB, free: 13.59 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.3603, allocations: 0.9477 MB / 0.5048 GB, free: 12.64 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/0.3639, allocations: 1.547 MB / 0.5063 GB, free: 11.08 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002207/0.3641, allocations: 116 kB / 0.5064 GB, free: 10.97 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01177/0.3759, allocations: 5.736 MB / 0.512 GB, free: 5.227 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.3769, allocations: 0.6627 MB / 0.5126 GB, free: 4.562 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001027/0.3779, allocations: 0.5498 MB / 0.5132 GB, free: 4.012 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0108/0.3887, allocations: 5.566 MB / 0.5186 GB, free: 14.43 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3887, allocations: 3.938 kB / 0.5186 GB, free: 14.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.3887, allocations: 0 / 0.5186 GB, free: 14.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.664e-05/0.3888, allocations: 0 / 0.5186 GB, free: 14.43 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.006609/0.3954, allocations: 1.929 MB / 0.5205 GB, free: 12.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.3954, allocations: 15.97 kB / 0.5205 GB, free: 12.45 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002885/0.3983, allocations: 482.5 kB / 0.521 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.3996, allocations: 0.641 MB / 0.5216 GB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.567e-05/0.3997, allocations: 81.62 kB / 0.5217 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002957/0.4, allocations: 128.3 kB / 0.5218 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004132/0.4042, allocations: 1.757 MB / 0.5235 GB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.4042, allocations: 384 / 0.5235 GB, free: 9.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/0.4043, allocations: 39.94 kB / 0.5235 GB, free: 9.281 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/0.4044, allocations: 28 kB / 0.5236 GB, free: 9.254 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004259/0.4086, allocations: 1.826 MB / 0.5253 GB, free: 7.422 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.007872/0.4165, allocations: 3.733 MB / 0.529 GB, free: 3.637 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006072/0.4226, allocations: 2.353 MB / 0.5313 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/0.4246, allocations: 1.006 MB / 0.5323 GB, free: 284 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04399/0.4685, allocations: 11.75 MB / 0.5437 GB, free: 4.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.427e-05/0.4686, allocations: 56.5 kB / 0.5438 GB, free: 4.453 MB / 426.7 MB Notification: Performance of pre-optimization done (n=207): time 4.458e-06/0.4686, allocations: 0 / 0.5438 GB, free: 4.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=207): time 0.01767/0.4863, allocations: 5.092 MB / 0.5488 GB, free: 15.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.4864, allocations: 73.41 kB / 0.5488 GB, free: 15.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004726/0.4868, allocations: 329.7 kB / 0.5492 GB, free: 14.88 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002422/0.4871, allocations: 69.7 kB / 0.5492 GB, free: 14.81 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.4873, allocations: 219.5 kB / 0.5494 GB, free: 14.59 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009361/0.4882, allocations: 0.7551 MB / 0.5502 GB, free: 13.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000737/0.489, allocations: 343.6 kB / 0.5505 GB, free: 13.49 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4892, allocations: 330 kB / 0.5508 GB, free: 13.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/0.491, allocations: 0.933 MB / 0.5517 GB, free: 12.23 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/0.4932, allocations: 1.196 MB / 0.5529 GB, free: 10.99 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004314/0.4975, allocations: 2.161 MB / 0.555 GB, free: 8.832 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.4975, allocations: 4 kB / 0.555 GB, free: 8.828 MB / 442.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006657/0.5042, allocations: 3.25 MB / 0.5582 GB, free: 5.566 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.5042, allocations: 4 kB / 0.5582 GB, free: 5.562 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.5042, allocations: 0 / 0.5582 GB, free: 5.562 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.014/0.5182, allocations: 2.669 MB / 0.5608 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.5196, allocations: 239.7 kB / 0.561 GB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1677/0.6873, allocations: 4.143 MB / 0.5651 GB, free: 67.71 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.6886, allocations: 147 kB / 0.5652 GB, free: 67.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.6888, allocations: 74.28 kB / 0.5653 GB, free: 67.71 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.000515/0.6893, allocations: 328.4 kB / 0.5656 GB, free: 67.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000386/0.6897, allocations: 171.2 kB / 0.5658 GB, free: 67.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01239/0.7021, allocations: 9.059 MB / 0.5746 GB, free: 66.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.853e-05/0.7021, allocations: 123.6 kB / 0.5747 GB, free: 66.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/0.7022, allocations: 6.281 kB / 0.5747 GB, free: 66.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.578e-05/0.7022, allocations: 14.62 kB / 0.5747 GB, free: 66.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.7155, allocations: 10.26 MB / 0.5848 GB, free: 65.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/0.7156, allocations: 2.156 kB / 0.5848 GB, free: 65.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002783/0.7183, allocations: 0.5151 MB / 0.5853 GB, free: 65.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0056/0.7239, allocations: 2.198 MB / 0.5874 GB, free: 65.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005359/0.7245, allocations: 81.44 kB / 0.5875 GB, free: 65.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01203/0.7365, allocations: 19.69 MB / 0.6067 GB, free: 49.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.7365, allocations: 3.219 kB / 0.6067 GB, free: 49.25 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0131/0.7496, allocations: 9.936 MB / 0.6164 GB, free: 44.09 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001256/0.7509, allocations: 0.5873 MB / 0.617 GB, free: 43.69 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.7511, allocations: 82.22 kB / 0.6171 GB, free: 43.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.7522, allocations: 77.91 kB / 0.6171 GB, free: 43.56 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004066/0.7527, allocations: 187.5 kB / 0.6173 GB, free: 43.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001659/0.7528, allocations: 86.08 kB / 0.6174 GB, free: 43.4 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003133/0.7531, allocations: 331.8 kB / 0.6177 GB, free: 43.11 MB / 442.7 MB Notification: Performance of sort global known variables: time 9e-08/0.7531, allocations: 0.625 kB / 0.6177 GB, free: 43.11 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002902/0.756, allocations: 1.287 MB / 0.619 GB, free: 41.94 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.003726/0.7598, allocations: 1.196 MB / 0.6201 GB, free: 40.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007356/0.7671, allocations: 3.911 MB / 0.624 GB, free: 37.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.7671, allocations: 0 / 0.624 GB, free: 37.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004703/0.7718, allocations: 3.489 MB / 0.6274 GB, free: 34.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/0.7749, allocations: 0.7752 MB / 0.6281 GB, free: 33.88 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007147/0.782, allocations: 6.774 MB / 0.6347 GB, free: 28.03 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007307/0.7828, allocations: 1.071 MB / 0.6358 GB, free: 27.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001101/0.7839, allocations: 401.7 kB / 0.6362 GB, free: 26.89 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.7843, allocations: 110.1 kB / 0.6363 GB, free: 26.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.333e-06/0.7843, allocations: 0 / 0.6363 GB, free: 26.8 MB / 442.7 MB Notification: Performance of Templates: time 0.1079/0.8922, allocations: 74.59 MB / 0.7091 GB, free: 1.367 MB / 490.7 MB " [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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.218836233951151]