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.001434/0.001434, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 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.00151/0.00151, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 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.366/1.366, allocations: 158.6 MB / 186.3 MB, free: 6.211 MB / 174.1 MB " [Timeout remaining time 178] 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.3007/0.3007, allocations: 36.35 MB / 274.8 MB, free: 14.66 MB / 270.1 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 71.89 kB / 415.3 MB, free: 14.08 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3516, allocations: 62.37 MB / 477.6 MB, free: 43.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.1645/0.5161, allocations: 139.4 MB / 0.6025 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01266/0.5288, allocations: 8.857 MB / 0.6112 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003065/0.5291, allocations: 7.938 kB / 0.6112 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003983/0.5295, allocations: 99.25 kB / 0.6113 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005694/0.5352, allocations: 2.096 MB / 0.6133 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00801/0.5432, allocations: 2.557 MB / 0.6158 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002671/0.5459, allocations: 2.238 MB / 0.618 GB, free: 1.176 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008159/0.5467, allocations: 0.6053 MB / 0.6186 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009037/0.5476, allocations: 0.7096 MB / 0.6193 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003622/0.5512, allocations: 1.558 MB / 0.6208 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0002371/0.5515, allocations: 120 kB / 0.6209 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01145/0.5629, allocations: 5.72 MB / 0.6265 GB, free: 8.445 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008613/0.5638, allocations: 0.6275 MB / 0.6271 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001031/0.5648, allocations: 0.6113 MB / 0.6277 GB, free: 7.203 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.009067/0.5739, allocations: 4.524 MB / 0.6321 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.5739, allocations: 0 / 0.6321 GB, free: 2.668 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5739, allocations: 3.938 kB / 0.6322 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.5739, allocations: 0 / 0.6322 GB, free: 2.664 MB / 0.5294 GB 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.005969/0.5799, allocations: 1.949 MB / 0.6341 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.5799, allocations: 12.03 kB / 0.6341 GB, free: 0.6641 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002499/0.5824, allocations: 288.1 kB / 0.6343 GB, free: 392 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.5835, allocations: 0.5911 MB / 0.6349 GB, free: 15.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.922e-05/0.5836, allocations: 78.38 kB / 0.635 GB, free: 15.69 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002376/0.5838, allocations: 128.3 kB / 0.6351 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003594/0.5874, allocations: 1.757 MB / 0.6368 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.5875, allocations: 0 / 0.6368 GB, free: 13.78 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.5876, allocations: 40 kB / 0.6369 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.5876, allocations: 24 kB / 0.6369 GB, free: 13.71 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003747/0.5914, allocations: 1.826 MB / 0.6387 GB, free: 11.89 MB / 0.545 GB 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.006651/0.598, allocations: 3.628 MB / 0.6422 GB, free: 8.211 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005271/0.6033, allocations: 2.363 MB / 0.6445 GB, free: 5.848 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.605, allocations: 1.002 MB / 0.6455 GB, free: 4.844 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04193/0.6469, allocations: 11.31 MB / 0.6565 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.645e-05/0.647, allocations: 56.5 kB / 0.6566 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=207): time 4.648e-06/0.647, allocations: 0 / 0.6566 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of matching and sorting (n=207): time 0.01476/0.6617, allocations: 4.949 MB / 0.6614 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/0.6618, allocations: 77.41 kB / 0.6615 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.6622, allocations: 333.6 kB / 0.6618 GB, free: 4.031 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.6624, allocations: 65.7 kB / 0.6619 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.6626, allocations: 219.4 kB / 0.6621 GB, free: 3.742 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007718/0.6633, allocations: 0.7629 MB / 0.6628 GB, free: 2.973 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005493/0.6639, allocations: 347.5 kB / 0.6632 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.664, allocations: 330 kB / 0.6635 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00165/0.6657, allocations: 0.9447 MB / 0.6644 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001915/0.6676, allocations: 1.196 MB / 0.6656 GB, free: 124 kB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/0.6714, allocations: 2.161 MB / 0.6677 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/0.6714, allocations: 3.938 kB / 0.6677 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005873/0.6773, allocations: 3.168 MB / 0.6708 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.6773, allocations: 12 kB / 0.6708 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.6773, allocations: 0 / 0.6708 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01279/0.6901, allocations: 2.661 MB / 0.6734 GB, free: 8.094 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001341/0.6914, allocations: 236.4 kB / 0.6736 GB, free: 7.863 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007952/0.6994, allocations: 4.111 MB / 0.6776 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.7006, allocations: 139 kB / 0.6778 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002475/0.7009, allocations: 75.97 kB / 0.6778 GB, free: 3.516 MB / 0.5762 GB 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.0007887/0.7017, allocations: 333.5 kB / 0.6782 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004177/0.7021, allocations: 111.3 kB / 0.6783 GB, free: 3.07 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01499/0.7171, allocations: 9.17 MB / 0.6872 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001299/0.7172, allocations: 127.8 kB / 0.6873 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.079e-05/0.7172, allocations: 4 kB / 0.6873 GB, free: 9.652 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-05/0.7173, allocations: 15.95 kB / 0.6874 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2565/0.9738, allocations: 10.3 MB / 0.6974 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.12e-05/0.9738, allocations: 0 / 0.6974 GB, free: 190.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002768/0.9766, allocations: 0.5124 MB / 0.6979 GB, free: 190.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004535/0.9811, allocations: 2.137 MB / 0.7 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000407/0.9815, allocations: 77 kB / 0.7001 GB, free: 190.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/0.9925, allocations: 19.65 MB / 0.7193 GB, free: 174.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.9925, allocations: 3.062 kB / 0.7193 GB, free: 174.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/1.004, allocations: 9.91 MB / 0.7289 GB, free: 169.9 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000972/1.005, allocations: 0.5928 MB / 0.7295 GB, free: 169.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/1.005, allocations: 73.95 kB / 0.7296 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/1.007, allocations: 78.23 kB / 0.7297 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004627/1.007, allocations: 194.5 kB / 0.7299 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001754/1.007, allocations: 82.61 kB / 0.7299 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000346/1.008, allocations: 297 kB / 0.7302 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.008, allocations: 0 / 0.7302 GB, free: 169.4 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.005036/1.013, allocations: 1.282 MB / 0.7315 GB, free: 169.3 MB / 0.5919 GB 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: 38 ($cse6.region3boundary,$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 (212): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 41 * 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.003688/1.016, allocations: 1.069 MB / 0.7325 GB, free: 169 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.007837/1.024, allocations: 3.935 MB / 0.7364 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.219e-06/1.024, allocations: 1.281 kB / 0.7364 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006222/1.03, allocations: 3.516 MB / 0.7398 GB, free: 166 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/1.034, allocations: 0.7439 MB / 0.7405 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009351/1.043, allocations: 7.307 MB / 0.7477 GB, free: 162.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001332/1.044, allocations: 1.075 MB / 0.7487 GB, free: 162 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001361/1.046, allocations: 404.4 kB / 0.7491 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/1.046, allocations: 107.8 kB / 0.7492 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of SimCode: time 8.02e-07/1.046, allocations: 0 / 0.7492 GB, free: 161.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.08737/1.134, allocations: 74.43 MB / 0.8219 GB, free: 101.2 MB / 0.5919 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=480 -s ida -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.699959106976166] Failed to read output from testmodel.py, exit status != 0: 1.143997406004928 1.152852054 0.576511046 Calling exit ...