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.001321/0.001321, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.001558/0.001558, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.8854/0.8854, allocations: 158.6 MB / 186.7 MB, free: 2.77 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.1671/0.1671, allocations: 36.35 MB / 275.4 MB, free: 10.48 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.653e-06/1.653e-06, allocations: 0 / 354.3 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.506e-05/1.671e-05, allocations: 6.312 kB / 354.3 MB, free: 3.148 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.2768/0.2769, allocations: 146.6 MB / 0.4892 GB, free: 3.793 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007206/0.2841, allocations: 9.648 MB / 0.4986 GB, free: 13.47 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002252/0.2843, allocations: 13.84 kB / 0.4986 GB, free: 13.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003304/0.2846, allocations: 102.2 kB / 0.4987 GB, free: 13.38 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003905/0.2885, allocations: 2.099 MB / 0.5007 GB, free: 11.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004685/0.2932, allocations: 2.602 MB / 0.5033 GB, free: 8.734 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.2946, allocations: 2.265 MB / 0.5055 GB, free: 6.465 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009307/0.2956, allocations: 0.6644 MB / 0.5061 GB, free: 5.805 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007924/0.2964, allocations: 0.9516 MB / 0.5071 GB, free: 4.852 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.2982, allocations: 1.539 MB / 0.5086 GB, free: 3.301 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001684/0.2984, allocations: 120 kB / 0.5087 GB, free: 3.184 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006786/0.3052, allocations: 5.724 MB / 0.5143 GB, free: 13.45 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003825/0.3056, allocations: 0.6588 MB / 0.5149 GB, free: 12.79 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004314/0.306, allocations: 0.5498 MB / 0.5155 GB, free: 12.24 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004978/0.311, allocations: 5.257 MB / 0.5206 GB, free: 6.973 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.311, allocations: 3.938 kB / 0.5206 GB, free: 6.969 MB / 394.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.311, allocations: 0 / 0.5206 GB, free: 6.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.311, allocations: 0 / 0.5206 GB, free: 6.969 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.00259/0.3136, allocations: 1.967 MB / 0.5225 GB, free: 4.961 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3136, allocations: 12.03 kB / 0.5225 GB, free: 4.949 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.3151, allocations: 482.5 kB / 0.523 GB, free: 4.477 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005597/0.3156, allocations: 0.5773 MB / 0.5236 GB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.468e-05/0.3157, allocations: 78.38 kB / 0.5236 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.3158, allocations: 124.3 kB / 0.5238 GB, free: 3.668 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/0.3173, allocations: 1.146 MB / 0.5249 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.3173, allocations: 384 / 0.5249 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.738e-05/0.3174, allocations: 39.94 kB / 0.5249 GB, free: 2.449 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.3174, allocations: 24 kB / 0.5249 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.3186, allocations: 0.8406 MB / 0.5258 GB, free: 1.582 MB / 394.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.003283/0.3219, allocations: 3.021 MB / 0.5287 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001843/0.3238, allocations: 1.194 MB / 0.5299 GB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004287/0.3242, allocations: 397.4 kB / 0.5302 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01662/0.3408, allocations: 9.873 MB / 0.5399 GB, free: 3.055 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/0.3408, allocations: 59.33 kB / 0.5399 GB, free: 2.984 MB / 410.7 MB Notification: Performance of pre-optimization done (n=207): time 3.306e-06/0.3408, allocations: 0 / 0.5399 GB, free: 2.984 MB / 410.7 MB Notification: Performance of matching and sorting (n=207): time 0.005622/0.3465, allocations: 3.112 MB / 0.543 GB, free: 15.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.3465, allocations: 77.41 kB / 0.5431 GB, free: 15.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.3467, allocations: 370.5 kB / 0.5434 GB, free: 15.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.476e-05/0.3468, allocations: 65.7 kB / 0.5435 GB, free: 15.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.3469, allocations: 262.2 kB / 0.5437 GB, free: 15 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003747/0.3473, allocations: 0.7823 MB / 0.5445 GB, free: 14.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.3476, allocations: 365 kB / 0.5448 GB, free: 13.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3477, allocations: 0.5121 MB / 0.5453 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003637/0.3481, allocations: 271.8 kB / 0.5456 GB, free: 13.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005141/0.3486, allocations: 0.5691 MB / 0.5462 GB, free: 12.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009471/0.3496, allocations: 0.867 MB / 0.547 GB, free: 11.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.3496, allocations: 0 / 0.547 GB, free: 11.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=236) (initialization): time 0.002059/0.3516, allocations: 1.492 MB / 0.5485 GB, free: 10.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.3517, allocations: 8 kB / 0.5485 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.3517, allocations: 3.938 kB / 0.5485 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004934/0.3566, allocations: 1.943 MB / 0.5504 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005048/0.3571, allocations: 231.7 kB / 0.5506 GB, free: 7.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002308/0.3594, allocations: 2.29 MB / 0.5528 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004193/0.3598, allocations: 131 kB / 0.5529 GB, free: 5.441 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.14e-05/0.3599, allocations: 55.91 kB / 0.553 GB, free: 5.387 MB / 426.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.0002349/0.3602, allocations: 240.5 kB / 0.5532 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/0.3604, allocations: 171.4 kB / 0.5534 GB, free: 4.973 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00499/0.3653, allocations: 5.45 MB / 0.5587 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.19e-05/0.3654, allocations: 115.8 kB / 0.5588 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.3654, allocations: 4 kB / 0.5588 GB, free: 15.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.729e-05/0.3654, allocations: 11.95 kB / 0.5588 GB, free: 15.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005444/0.3709, allocations: 5.709 MB / 0.5644 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.3709, allocations: 0 / 0.5644 GB, free: 9.336 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001204/0.3721, allocations: 0.4917 MB / 0.5649 GB, free: 8.844 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/0.374, allocations: 1.542 MB / 0.5664 GB, free: 7.219 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000117/0.3742, allocations: 83.94 kB / 0.5665 GB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008619/0.3828, allocations: 23.67 MB / 0.5896 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3828, allocations: 0 / 0.5896 GB, free: 14.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004837/0.3876, allocations: 4.674 MB / 0.5942 GB, free: 9.281 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004804/0.3881, allocations: 0.5318 MB / 0.5947 GB, free: 8.746 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.3882, allocations: 83.81 kB / 0.5948 GB, free: 8.664 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004238/0.3887, allocations: 63.92 kB / 0.5948 GB, free: 8.602 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.3889, allocations: 193.7 kB / 0.595 GB, free: 8.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.063e-05/0.389, allocations: 59.97 kB / 0.5951 GB, free: 8.352 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001565/0.3891, allocations: 299 kB / 0.5954 GB, free: 8.059 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3891, allocations: 0 / 0.5954 GB, free: 8.059 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002289/0.3914, allocations: 1.276 MB / 0.5966 GB, free: 6.781 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.002507/0.3939, allocations: 1.206 MB / 0.5978 GB, free: 5.566 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002718/0.3966, allocations: 2.036 MB / 0.5998 GB, free: 3.48 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.3966, allocations: 4 kB / 0.5998 GB, free: 3.477 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002112/0.3987, allocations: 2.928 MB / 0.6026 GB, free: 384 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1575/0.5562, allocations: 0.7402 MB / 0.6034 GB, free: 96.34 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005706/0.562, allocations: 5.475 MB / 0.6087 GB, free: 94.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.5623, allocations: 0.548 MB / 0.6092 GB, free: 94.59 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005672/0.5629, allocations: 199.7 kB / 0.6094 GB, free: 94.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000924/0.5638, allocations: 0.5752 MB / 0.61 GB, free: 94.47 MB / 474.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5638, allocations: 0 / 0.61 GB, free: 94.47 MB / 474.7 MB Notification: Performance of Templates: time 0.06571/0.6295, allocations: 85.15 MB / 0.6931 GB, free: 31.97 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: 6.1137737249955535]