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.001442/0.001442, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 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.001803/0.001803, allocations: 209.7 kB / 23.73 MB, free: 4.387 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.48/1.48, allocations: 207.7 MB / 234.6 MB, free: 9.789 MB / 190.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.3155/0.3155, allocations: 49.61 MB / 336.4 MB, free: 3.875 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.002396/0.002396, allocations: 72.52 kB / 476.9 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1139/0.1163, allocations: 62.43 MB / 0.5266 GB, free: 13.63 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.3961/0.5124, allocations: 139.3 MB / 0.6627 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0133/0.5257, allocations: 8.856 MB / 0.6714 GB, free: 412 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003899/0.5261, allocations: 7.938 kB / 0.6714 GB, free: 404 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004156/0.5265, allocations: 103.2 kB / 0.6715 GB, free: 300 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005487/0.532, allocations: 2.087 MB / 0.6735 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007433/0.5394, allocations: 2.565 MB / 0.676 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002646/0.5421, allocations: 2.23 MB / 0.6782 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001166/0.5432, allocations: 0.6053 MB / 0.6788 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001232/0.5444, allocations: 0.7057 MB / 0.6795 GB, free: 8.094 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00352/0.548, allocations: 1.558 MB / 0.681 GB, free: 6.523 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003687/0.5483, allocations: 120 kB / 0.6811 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0117/0.56, allocations: 5.721 MB / 0.6867 GB, free: 0.6797 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008564/0.5609, allocations: 0.6313 MB / 0.6873 GB, free: 48 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001185/0.5621, allocations: 0.6152 MB / 0.6879 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008509/0.5706, allocations: 4.512 MB / 0.6923 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.5706, allocations: 4 kB / 0.6923 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5706, allocations: 0 / 0.6923 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.1e-05/0.5706, allocations: 0 / 0.6923 GB, free: 10.9 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.00617/0.5768, allocations: 1.945 MB / 0.6942 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.5768, allocations: 12.03 kB / 0.6942 GB, free: 8.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/0.5794, allocations: 289 kB / 0.6945 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.5809, allocations: 0.5988 MB / 0.6951 GB, free: 8.004 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-05/0.581, allocations: 74.38 kB / 0.6952 GB, free: 7.93 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003314/0.5813, allocations: 140.4 kB / 0.6953 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00396/0.5853, allocations: 1.761 MB / 0.697 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.5853, allocations: 0 / 0.697 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/0.5855, allocations: 36 kB / 0.697 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.5855, allocations: 28 kB / 0.6971 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004043/0.5895, allocations: 1.823 MB / 0.6988 GB, free: 4.121 MB / 0.5294 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.008018/0.5975, allocations: 3.628 MB / 0.7024 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005738/0.6033, allocations: 2.359 MB / 0.7047 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001841/0.6051, allocations: 1.002 MB / 0.7057 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04314/0.6483, allocations: 11.3 MB / 0.7167 GB, free: 1.762 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.838e-05/0.6483, allocations: 60.5 kB / 0.7168 GB, free: 1.695 MB / 0.545 GB Notification: Performance of pre-optimization done (n=207): time 4.578e-06/0.6483, allocations: 0 / 0.7168 GB, free: 1.695 MB / 0.545 GB Notification: Performance of matching and sorting (n=207): time 0.01651/0.6648, allocations: 4.957 MB / 0.7216 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/0.6649, allocations: 73.41 kB / 0.7217 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.6654, allocations: 329.7 kB / 0.722 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0002409/0.6656, allocations: 65.7 kB / 0.7221 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/0.6658, allocations: 215.5 kB / 0.7223 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008829/0.6667, allocations: 0.7706 MB / 0.723 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006378/0.6673, allocations: 343.5 kB / 0.7233 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.6675, allocations: 334 kB / 0.7237 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.6693, allocations: 0.9369 MB / 0.7246 GB, free: 9.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/0.6714, allocations: 1.192 MB / 0.7257 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/0.6753, allocations: 2.165 MB / 0.7279 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.6754, allocations: 0 / 0.7279 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006102/0.6815, allocations: 3.177 MB / 0.731 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.6815, allocations: 8 kB / 0.731 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.6815, allocations: 0 / 0.731 GB, free: 3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01312/0.6946, allocations: 2.659 MB / 0.7336 GB, free: 356 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.6959, allocations: 239.6 kB / 0.7338 GB, free: 116 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00758/0.7035, allocations: 4.103 MB / 0.7378 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.7047, allocations: 143 kB / 0.7379 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001974/0.7049, allocations: 71.97 kB / 0.738 GB, free: 11.77 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.0006181/0.7055, allocations: 333.6 kB / 0.7383 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/0.7058, allocations: 107.3 kB / 0.7384 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01506/0.7208, allocations: 9.162 MB / 0.7474 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001486/0.721, allocations: 123.8 kB / 0.7475 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/0.721, allocations: 3.938 kB / 0.7475 GB, free: 1.902 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.543e-05/0.7211, allocations: 19.98 kB / 0.7475 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01697/0.738, allocations: 10.3 MB / 0.7576 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.493e-05/0.738, allocations: 4 kB / 0.7576 GB, free: 7.41 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003068/0.7411, allocations: 0.5111 MB / 0.7581 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005588/0.7467, allocations: 2.133 MB / 0.7602 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004268/0.7471, allocations: 79.94 kB / 0.7602 GB, free: 4.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2305/0.9777, allocations: 19.64 MB / 0.7794 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9777, allocations: 0 / 0.7794 GB, free: 193.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/0.9936, allocations: 9.915 MB / 0.7891 GB, free: 189.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/0.995, allocations: 0.5883 MB / 0.7897 GB, free: 189.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002957/0.9953, allocations: 78.75 kB / 0.7897 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/0.9965, allocations: 73.56 kB / 0.7898 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005685/0.9971, allocations: 190.1 kB / 0.79 GB, free: 189.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/0.9973, allocations: 80.14 kB / 0.7901 GB, free: 189.1 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004011/0.9977, allocations: 304.8 kB / 0.7904 GB, free: 189 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.9977, allocations: 0 / 0.7904 GB, free: 189 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003811/1.001, allocations: 1.28 MB / 0.7916 GB, free: 188.9 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.00448/1.006, allocations: 1.069 MB / 0.7927 GB, free: 188.7 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.008967/1.015, allocations: 3.93 MB / 0.7965 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/1.015, allocations: 1.062 kB / 0.7965 GB, free: 187.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006015/1.021, allocations: 3.519 MB / 0.7999 GB, free: 185.7 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003801/1.025, allocations: 0.7536 MB / 0.8007 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009634/1.034, allocations: 7.35 MB / 0.8078 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000885/1.035, allocations: 1.075 MB / 0.8089 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001359/1.037, allocations: 400.4 kB / 0.8093 GB, free: 181.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/1.037, allocations: 111.9 kB / 0.8094 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of SimCode: time 1.021e-06/1.037, allocations: 4 kB / 0.8094 GB, free: 181.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.08182/1.119, allocations: 76.84 MB / 0.8844 GB, free: 106.9 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 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.002375150099397] Failed to read output from testmodel.py, exit status != 0: 1.128049923107028 1.136532359 0.563511717 Calling exit ...