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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 194.1 kB / 8.136 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.089/1.089, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008759/0.0008759, allocations: 97.28 kB / 261.8 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3283/0.3283, allocations: 48.76 MB / 358.4 MB, free: 53.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.398e-06/9.498e-06, allocations: 4 kB / 424.7 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 60.26 MB / 485 MB, free: 11.8 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.548/5.659, allocations: 3.2 GB / 3.673 GB, free: 47.05 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/5.659, allocations: 82.06 kB / 3.673 GB, free: 46.97 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.7074/6.366, allocations: 213.6 MB / 3.882 GB, free: 42.01 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.39e-05/6.366, allocations: 24 kB / 3.882 GB, free: 41.99 MB / 0.5105 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.008874/6.375, allocations: 1.768 MB / 3.884 GB, free: 40.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/6.375, allocations: 8.031 kB / 3.884 GB, free: 40.17 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00247/6.378, allocations: 258.6 kB / 3.884 GB, free: 39.92 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/6.381, allocations: 0.8347 MB / 3.885 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/6.381, allocations: 32 kB / 3.885 GB, free: 39.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005636/6.381, allocations: 64 kB / 3.885 GB, free: 38.96 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003074/6.385, allocations: 1.558 MB / 3.886 GB, free: 37.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002707/6.387, allocations: 1.442 MB / 3.888 GB, free: 35.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.788e-05/6.387, allocations: 3.938 kB / 3.888 GB, free: 35.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/6.387, allocations: 4 kB / 3.888 GB, free: 35.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/6.387, allocations: 24 kB / 3.888 GB, free: 35.88 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05391/6.441, allocations: 28.46 MB / 3.916 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003326/6.445, allocations: 2.089 MB / 3.918 GB, free: 2.691 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001246/6.446, allocations: 1.006 MB / 3.919 GB, free: 1.688 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2496/6.696, allocations: 24.12 MB / 3.942 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/6.696, allocations: 54.75 kB / 3.942 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=204): time 3.246e-06/6.696, allocations: 0 / 3.942 GB, free: 125.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.008618/6.704, allocations: 3.041 MB / 3.945 GB, free: 125 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/6.704, allocations: 73.56 kB / 3.945 GB, free: 124.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003369/6.705, allocations: 290.6 kB / 3.946 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/6.705, allocations: 25.7 kB / 3.946 GB, free: 124.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.832e-05/6.705, allocations: 171.2 kB / 3.946 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000548/6.706, allocations: 0.7039 MB / 3.946 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/6.706, allocations: 0 / 3.946 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000123/6.706, allocations: 407 kB / 3.947 GB, free: 124 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/6.707, allocations: 0.9274 MB / 3.948 GB, free: 124 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001207/6.708, allocations: 1.05 MB / 3.949 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002841/6.711, allocations: 1.265 MB / 3.95 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/6.711, allocations: 0 / 3.95 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.007089/6.718, allocations: 3.541 MB / 3.953 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/6.718, allocations: 7.344 kB / 3.953 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/6.718, allocations: 7.219 kB / 3.953 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/6.728, allocations: 2.373 MB / 3.956 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/6.73, allocations: 239.7 kB / 3.956 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009602/6.739, allocations: 5.109 MB / 3.961 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001283/6.741, allocations: 115.7 kB / 3.961 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000174/6.741, allocations: 77.89 kB / 3.961 GB, free: 123.1 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {36 117} Notification: Performance of prepare postOptimizeDAE: time 0.0003123/6.741, allocations: 116.4 kB / 3.961 GB, free: 123 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009576/6.742, allocations: 241.4 kB / 3.962 GB, free: 122.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009924/6.752, allocations: 5.845 MB / 3.967 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.867e-05/6.752, allocations: 67.19 kB / 3.967 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/6.752, allocations: 7.875 kB / 3.967 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.167e-05/6.752, allocations: 11.53 kB / 3.967 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01164/6.764, allocations: 7.111 MB / 3.974 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.288e-06/6.764, allocations: 3.906 kB / 3.974 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0026/6.766, allocations: 0.4985 MB / 3.975 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003873/6.77, allocations: 1.077 MB / 3.976 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/6.771, allocations: 52 kB / 3.976 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01473/6.785, allocations: 17.95 MB / 3.993 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/6.785, allocations: 0 / 3.993 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01518/6.801, allocations: 7.27 MB / 4 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009239/6.802, allocations: 0.5164 MB / 4.001 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002617/6.802, allocations: 18.95 kB / 4.001 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/6.803, allocations: 32.03 kB / 4.001 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002817/6.803, allocations: 141 kB / 4.001 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001698/6.803, allocations: 78.23 kB / 4.001 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002667/6.804, allocations: 252 kB / 4.001 GB, free: 105.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005593/6.809, allocations: 1.209 MB / 4.003 GB, free: 105.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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: 18 ($cse6.phase,$cse6.region,$cse12.phase,$cse12.region,$cse18.phase,$cse18.region,$cse24.phase,$cse24.region,$cse30.phase,$cse30.region,$cse36.phase,$cse36.region,$cse42.phase,$cse42.region,$cse48.phase,$cse48.region,$cse54.phase,$cse54.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(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%) 1} * Non-linear torn systems: 9 {2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.005677/6.815, allocations: 1.41 MB / 4.004 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00724/6.822, allocations: 3.589 MB / 4.008 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/6.822, allocations: 0 / 4.008 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005014/6.827, allocations: 3.215 MB / 4.011 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002943/6.83, allocations: 0.5872 MB / 4.011 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007078/6.837, allocations: 5.215 MB / 4.016 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001182/6.839, allocations: 1.511 MB / 4.018 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of SimCode: time 8.52e-07/6.839, allocations: 0 / 4.018 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.08497/6.923, allocations: 62.73 MB / 4.079 GB, free: 82.94 MB / 0.5105 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerPacking.makefile (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)