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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001234/0.001234, allocations: 181.2 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.886/1.886, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.0009675/0.0009672, allocations: 92.3 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.6287/0.6287, allocations: 48.76 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000448/0.000448, allocations: 11.98 kB / 438.6 MB, free: 10.98 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 60.25 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.983/9.148, allocations: 3.2 GB / 3.688 GB, free: 18.69 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/9.148, allocations: 81.78 kB / 3.688 GB, free: 18.61 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8632/10.01, allocations: 217.3 MB / 3.9 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.537e-06/10.01, allocations: 0 / 3.9 GB, free: 12.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.24e-05/10.01, allocations: 20 kB / 3.9 GB, free: 12.59 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.009465/10.02, allocations: 1.81 MB / 3.902 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/10.02, allocations: 12.03 kB / 3.902 GB, free: 10.72 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00296/10.02, allocations: 283.8 kB / 3.902 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002931/10.03, allocations: 0.8321 MB / 3.903 GB, free: 9.57 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.542e-05/10.03, allocations: 89.95 kB / 3.903 GB, free: 9.484 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003329/10.03, allocations: 131.7 kB / 3.903 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/10.03, allocations: 1.793 MB / 3.905 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/10.03, allocations: 0 / 3.905 GB, free: 7.516 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/10.03, allocations: 44 kB / 3.905 GB, free: 7.473 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.966e-05/10.03, allocations: 24 kB / 3.905 GB, free: 7.449 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00335/10.04, allocations: 1.846 MB / 3.907 GB, free: 5.602 MB / 0.5105 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.006888/10.04, allocations: 4.627 MB / 3.911 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4117/10.45, allocations: 2.441 MB / 3.914 GB, free: 76.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04342/10.5, allocations: 19.94 MB / 3.933 GB, free: 65.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.46e-05/10.5, allocations: 54.09 kB / 3.933 GB, free: 65.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=207): time 4.408e-06/10.5, allocations: 2.406 kB / 3.933 GB, free: 65.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=207): time 0.01619/10.51, allocations: 6.287 MB / 3.939 GB, free: 63.35 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/10.51, allocations: 72.91 kB / 3.939 GB, free: 63.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005238/10.51, allocations: 347.8 kB / 3.94 GB, free: 63.18 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001842/10.51, allocations: 64.86 kB / 3.94 GB, free: 63.15 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000158/10.51, allocations: 204 kB / 3.94 GB, free: 63.05 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007733/10.52, allocations: 0.7382 MB / 3.941 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/10.52, allocations: 37.59 kB / 3.941 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001905/10.52, allocations: 411.5 kB / 3.941 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001545/10.52, allocations: 0.9425 MB / 3.942 GB, free: 62.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/10.52, allocations: 1.084 MB / 3.943 GB, free: 62.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001758/10.52, allocations: 1.108 MB / 3.944 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/10.52, allocations: 0 / 3.944 GB, free: 62.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005648/10.53, allocations: 3.247 MB / 3.947 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.596e-05/10.53, allocations: 6.25 kB / 3.947 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/10.53, allocations: 3.719 kB / 3.947 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/10.54, allocations: 2.659 MB / 3.95 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/10.54, allocations: 240.8 kB / 3.95 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007072/10.55, allocations: 4.001 MB / 3.954 GB, free: 61.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001928/10.55, allocations: 154 kB / 3.954 GB, free: 61.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/10.55, allocations: 81.28 kB / 3.954 GB, free: 61.46 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 () * 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 (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.0009285/10.55, allocations: 325.2 kB / 3.955 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002809/10.55, allocations: 108.3 kB / 3.955 GB, free: 61.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01642/10.57, allocations: 8.91 MB / 3.963 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002022/10.57, allocations: 108.9 kB / 3.963 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.355e-05/10.57, allocations: 2.781 kB / 3.963 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.193e-05/10.57, allocations: 14.11 kB / 3.963 GB, free: 60.45 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02493/10.59, allocations: 10.65 MB / 3.974 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.93e-05/10.59, allocations: 1.375 kB / 3.974 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00412/10.6, allocations: 0.5228 MB / 3.974 GB, free: 59.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007723/10.61, allocations: 2.195 MB / 3.977 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001235/10.61, allocations: 79.19 kB / 3.977 GB, free: 59.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0181/10.63, allocations: 19.72 MB / 3.996 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.731e-06/10.63, allocations: 3.094 kB / 3.996 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01754/10.64, allocations: 9.668 MB / 4.005 GB, free: 38.22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002371/10.65, allocations: 0.687 MB / 4.006 GB, free: 37.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/10.65, allocations: 71.48 kB / 4.006 GB, free: 37.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/10.65, allocations: 90.73 kB / 4.006 GB, free: 37.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004582/10.65, allocations: 169.8 kB / 4.006 GB, free: 37.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001979/10.65, allocations: 84.78 kB / 4.006 GB, free: 37.68 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0005499/10.65, allocations: 370.3 kB / 4.007 GB, free: 37.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.41e-07/10.65, allocations: 0 / 4.007 GB, free: 37.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00789/10.66, allocations: 1.297 MB / 4.008 GB, free: 37.35 MB / 0.5105 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: 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 (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 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.0111/10.67, allocations: 1.32 MB / 4.009 GB, free: 37.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0127/10.68, allocations: 3.77 MB / 4.013 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/10.68, allocations: 0 / 4.013 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007295/10.69, allocations: 3.673 MB / 4.017 GB, free: 33.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004051/10.69, allocations: 0.7346 MB / 4.017 GB, free: 33.78 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01414/10.71, allocations: 8.64 MB / 4.026 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001862/10.71, allocations: 1.685 MB / 4.027 GB, free: 28.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002279/10.71, allocations: 411.8 kB / 4.028 GB, free: 28.76 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007602/10.71, allocations: 112.1 kB / 4.028 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of SimCode: time 1.704e-06/10.71, allocations: 0 / 4.028 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.1095/10.82, allocations: 67.89 MB / 4.094 GB, free: 0.9453 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)