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.0007612/0.0007612, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.002962/0.002962, allocations: 158.6 kB / 24.7 MB, free: 8.898 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.8654/0.8654, allocations: 177.1 MB / 205 MB, free: 5.73 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.08912/0.08912, allocations: 19.73 MB / 281.2 MB, free: 9.457 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.944e-06/1.944e-06, allocations: 0 / 417.8 MB, free: 7.387 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.295e-05/2.49e-05, allocations: 2.281 kB / 417.8 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking): time 0.1355/0.1356, allocations: 142.1 MB / 0.5468 GB, free: 4.012 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.007878/0.1434, allocations: 8.852 MB / 0.5555 GB, free: 11.12 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003142/0.1437, allocations: 7.938 kB / 0.5555 GB, free: 11.12 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003661/0.1441, allocations: 99.25 kB / 0.5556 GB, free: 11.02 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005511/0.1496, allocations: 2.124 MB / 0.5576 GB, free: 8.895 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005351/0.155, allocations: 2.606 MB / 0.5602 GB, free: 6.289 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.001629/0.1566, allocations: 2.261 MB / 0.5624 GB, free: 4.023 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009528/0.1576, allocations: 0.6169 MB / 0.563 GB, free: 3.41 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009852/0.1585, allocations: 0.9478 MB / 0.5639 GB, free: 2.461 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002342/0.1609, allocations: 1.539 MB / 0.5654 GB, free: 0.9102 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.161, allocations: 120 kB / 0.5655 GB, free: 0.793 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007783/0.1688, allocations: 5.736 MB / 0.5711 GB, free: 11.05 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008451/0.1697, allocations: 0.6549 MB / 0.5718 GB, free: 10.39 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005867/0.1702, allocations: 0.5498 MB / 0.5723 GB, free: 9.844 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008538/0.1788, allocations: 5.55 MB / 0.5777 GB, free: 4.281 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.1788, allocations: 0 / 0.5777 GB, free: 4.281 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1788, allocations: 0 / 0.5777 GB, free: 4.281 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.1788, allocations: 7.938 kB / 0.5777 GB, free: 4.273 MB / 490.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.003933/0.1827, allocations: 1.945 MB / 0.5796 GB, free: 2.293 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.1828, allocations: 8.031 kB / 0.5796 GB, free: 2.285 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/0.1841, allocations: 288.1 kB / 0.5799 GB, free: 2.004 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007409/0.1848, allocations: 0.5942 MB / 0.5805 GB, free: 1.379 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.586e-05/0.1849, allocations: 78.38 kB / 0.5806 GB, free: 1.301 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001684/0.185, allocations: 132.3 kB / 0.5807 GB, free: 1.172 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.1872, allocations: 1.754 MB / 0.5824 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.1872, allocations: 4.125 kB / 0.5824 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.281e-05/0.1873, allocations: 39.94 kB / 0.5824 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.1873, allocations: 27.94 kB / 0.5825 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002218/0.1896, allocations: 1.826 MB / 0.5843 GB, free: 13.49 MB / 0.4948 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.004365/0.1939, allocations: 3.612 MB / 0.5878 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003021/0.1969, allocations: 2.36 MB / 0.5901 GB, free: 7.465 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001022/0.198, allocations: 0.9944 MB / 0.5911 GB, free: 6.465 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2182/0.4162, allocations: 11.74 MB / 0.6025 GB, free: 178.3 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/0.4162, allocations: 57.55 kB / 0.6026 GB, free: 178.2 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=207): time 4.709e-06/0.4162, allocations: 0 / 0.6026 GB, free: 178.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=207): time 0.01031/0.4265, allocations: 4.956 MB / 0.6074 GB, free: 176.9 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.4266, allocations: 74.62 kB / 0.6075 GB, free: 176.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.427, allocations: 330.9 kB / 0.6078 GB, free: 176.7 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.4271, allocations: 61.89 kB / 0.6079 GB, free: 176.6 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.4272, allocations: 219.6 kB / 0.6081 GB, free: 176.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005099/0.4277, allocations: 0.7545 MB / 0.6088 GB, free: 176 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004344/0.4282, allocations: 345.7 kB / 0.6091 GB, free: 175.8 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.618e-05/0.4282, allocations: 329.6 kB / 0.6095 GB, free: 175.5 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/0.4295, allocations: 0.9409 MB / 0.6104 GB, free: 175.2 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/0.4309, allocations: 1.194 MB / 0.6115 GB, free: 174.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002569/0.4335, allocations: 2.159 MB / 0.6136 GB, free: 173.9 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.4335, allocations: 3.938 kB / 0.6137 GB, free: 173.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.003912/0.4374, allocations: 3.174 MB / 0.6168 GB, free: 172.7 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.871e-05/0.4374, allocations: 9.5 kB / 0.6168 GB, free: 172.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.4375, allocations: 3.375 kB / 0.6168 GB, free: 172.7 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006057/0.4435, allocations: 2.661 MB / 0.6194 GB, free: 171.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007009/0.4442, allocations: 239.4 kB / 0.6196 GB, free: 171.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003822/0.448, allocations: 4.099 MB / 0.6236 GB, free: 168.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007146/0.4487, allocations: 144.8 kB / 0.6237 GB, free: 168.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/0.4489, allocations: 75.97 kB / 0.6238 GB, free: 168.1 MB / 0.4948 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.0004765/0.4493, allocations: 331.5 kB / 0.6241 GB, free: 167.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/0.4495, allocations: 103.4 kB / 0.6242 GB, free: 167.7 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006875/0.4564, allocations: 9.186 MB / 0.6332 GB, free: 158.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.584e-05/0.4564, allocations: 115.8 kB / 0.6333 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.4565, allocations: 7.938 kB / 0.6333 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.4565, allocations: 11.95 kB / 0.6333 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007725/0.4642, allocations: 10.29 MB / 0.6434 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.4642, allocations: 3.938 kB / 0.6434 GB, free: 147.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.4655, allocations: 0.5073 MB / 0.6439 GB, free: 147.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00215/0.4676, allocations: 2.137 MB / 0.646 GB, free: 145.2 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/0.4678, allocations: 83.94 kB / 0.646 GB, free: 145.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007057/0.4749, allocations: 19.65 MB / 0.6652 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4749, allocations: 0 / 0.6652 GB, free: 124.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008076/0.4829, allocations: 9.92 MB / 0.6749 GB, free: 114.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006841/0.4836, allocations: 0.5942 MB / 0.6755 GB, free: 113.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.4838, allocations: 75.86 kB / 0.6756 GB, free: 113.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/0.4843, allocations: 71.95 kB / 0.6756 GB, free: 113.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.4846, allocations: 193.8 kB / 0.6758 GB, free: 113.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.307e-05/0.4847, allocations: 79.97 kB / 0.6759 GB, free: 113.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001859/0.4848, allocations: 303.1 kB / 0.6762 GB, free: 113 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4848, allocations: 0 / 0.6762 GB, free: 113 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002507/0.4873, allocations: 1.283 MB / 0.6774 GB, free: 111.7 MB / 0.4948 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.003063/0.4904, allocations: 1.2 MB / 0.6786 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004659/0.4951, allocations: 3.924 MB / 0.6824 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.4951, allocations: 4 kB / 0.6824 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003065/0.4981, allocations: 3.513 MB / 0.6859 GB, free: 103 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002017/0.5002, allocations: 0.7469 MB / 0.6866 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005618/0.5058, allocations: 6.852 MB / 0.6933 GB, free: 95.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.5063, allocations: 1.07 MB / 0.6943 GB, free: 94.26 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004708/0.5068, allocations: 116.5 kB / 0.6945 GB, free: 94.14 MB / 0.4948 GB Notification: Performance of SimCode: time 1.713e-06/0.5068, allocations: 0 / 0.6945 GB, free: 94.14 MB / 0.4948 GB Notification: Performance of Templates: time 0.2244/0.7312, allocations: 100.9 MB / 0.793 GB, free: 165.9 MB / 0.4948 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=480 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.707051354460418] Failed to read output from testmodel.py, exit status != 0: 0.7379810241982341 0.747470273 0.566768438 Calling exit ...