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.001153/0.001153, allocations: 174.5 kB / 13.63 MB, free: 1.684 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.804/1.804, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008785/0.0008785, allocations: 90.64 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.364/0.364, allocations: 48.78 MB / 364.3 MB, free: 6.863 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.778e-05/4.789e-05, allocations: 12 kB / 432.5 MB, free: 16.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1425/0.1426, allocations: 60.24 MB / 492.7 MB, free: 4.375 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.82/9.963, allocations: 3.2 GB / 3.682 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002164/9.963, allocations: 79.58 kB / 3.682 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.7847/10.75, allocations: 216.6 MB / 3.893 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.723e-06/10.75, allocations: 3.938 kB / 3.893 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.91e-05/10.75, allocations: 28 kB / 3.893 GB, free: 1.664 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.2932/11.04, allocations: 1.74 MB / 3.895 GB, free: 86.08 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/11.04, allocations: 9.406 kB / 3.895 GB, free: 86.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003345/11.04, allocations: 286.7 kB / 3.895 GB, free: 86.03 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003208/11.05, allocations: 0.8315 MB / 3.896 GB, free: 85.81 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.525e-05/11.05, allocations: 79.06 kB / 3.896 GB, free: 85.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/11.05, allocations: 137.2 kB / 3.896 GB, free: 85.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004209/11.05, allocations: 1.812 MB / 3.898 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/11.05, allocations: 3.281 kB / 3.898 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/11.05, allocations: 44.83 kB / 3.898 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/11.05, allocations: 25.28 kB / 3.898 GB, free: 85.64 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/11.06, allocations: 1.843 MB / 3.9 GB, free: 85.63 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.006731/11.06, allocations: 4.616 MB / 3.904 GB, free: 84.15 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004772/11.07, allocations: 2.445 MB / 3.907 GB, free: 84.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/11.07, allocations: 1.062 MB / 3.908 GB, free: 84.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03876/11.11, allocations: 20.03 MB / 3.927 GB, free: 72.94 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/11.11, allocations: 53.84 kB / 3.927 GB, free: 72.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=207): time 4.108e-06/11.11, allocations: 5.906 kB / 3.927 GB, free: 72.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=207): time 0.007998/11.12, allocations: 3.276 MB / 3.931 GB, free: 72.62 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.844e-05/11.12, allocations: 73 kB / 3.931 GB, free: 72.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006864/11.12, allocations: 335.4 kB / 3.931 GB, free: 72.45 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004411/11.12, allocations: 62.14 kB / 3.931 GB, free: 72.42 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/11.12, allocations: 204.3 kB / 3.931 GB, free: 72.32 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009518/11.12, allocations: 0.7361 MB / 3.932 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/11.12, allocations: 37.84 kB / 3.932 GB, free: 71.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002093/11.12, allocations: 415.5 kB / 3.932 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/11.12, allocations: 0.9074 MB / 3.933 GB, free: 71.63 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/11.12, allocations: 1.048 MB / 3.934 GB, free: 71.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/11.12, allocations: 1.083 MB / 3.935 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/11.12, allocations: 0 / 3.935 GB, free: 71.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.004802/11.13, allocations: 3.168 MB / 3.939 GB, free: 71.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.795e-05/11.13, allocations: 7.188 kB / 3.939 GB, free: 71.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/11.13, allocations: 0 / 3.939 GB, free: 71.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01281/11.14, allocations: 2.643 MB / 3.941 GB, free: 71.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001258/11.14, allocations: 236.8 kB / 3.941 GB, free: 71.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006334/11.15, allocations: 3.973 MB / 3.945 GB, free: 70.76 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/11.15, allocations: 161.2 kB / 3.945 GB, free: 70.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/11.15, allocations: 71.88 kB / 3.945 GB, free: 70.71 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.0004105/11.15, allocations: 189.4 kB / 3.946 GB, free: 70.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003404/11.15, allocations: 105.3 kB / 3.946 GB, free: 70.56 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01206/11.16, allocations: 9.139 MB / 3.955 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.262e-05/11.16, allocations: 117.2 kB / 3.955 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.018e-05/11.16, allocations: 3.938 kB / 3.955 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.599e-05/11.16, allocations: 11.39 kB / 3.955 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01332/11.18, allocations: 10.92 MB / 3.965 GB, free: 66.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.791e-05/11.18, allocations: 6.922 kB / 3.965 GB, free: 66.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/11.18, allocations: 0.515 MB / 3.966 GB, free: 66.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005803/11.19, allocations: 2.566 MB / 3.968 GB, free: 66.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000903/11.19, allocations: 81.16 kB / 3.969 GB, free: 66.17 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0123/11.2, allocations: 19.61 MB / 3.988 GB, free: 48.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/11.2, allocations: 3.906 kB / 3.988 GB, free: 48.53 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01371/11.21, allocations: 9.871 MB / 3.997 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001224/11.21, allocations: 0.6877 MB / 3.998 GB, free: 43.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/11.21, allocations: 69.3 kB / 3.998 GB, free: 43.85 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/11.22, allocations: 89.22 kB / 3.998 GB, free: 43.81 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003595/11.22, allocations: 174.5 kB / 3.998 GB, free: 43.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/11.22, allocations: 83.33 kB / 3.998 GB, free: 43.77 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000402/11.22, allocations: 363.8 kB / 3.999 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.61e-07/11.22, allocations: 3.812 kB / 3.999 GB, free: 43.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004939/11.22, allocations: 1.294 MB / 4 GB, free: 43.45 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 () * 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.006076/11.23, allocations: 1.325 MB / 4.001 GB, free: 43.24 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00722/11.23, allocations: 3.69 MB / 4.005 GB, free: 42.06 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/11.23, allocations: 0 / 4.005 GB, free: 42.06 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004517/11.24, allocations: 3.618 MB / 4.008 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/11.24, allocations: 0.7299 MB / 4.009 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006971/11.25, allocations: 6.342 MB / 4.015 GB, free: 37.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008262/11.25, allocations: 1.688 MB / 4.017 GB, free: 36.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001379/11.25, allocations: 417.9 kB / 4.017 GB, free: 36.79 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004079/11.25, allocations: 107.4 kB / 4.017 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of SimCode: time 9.92e-07/11.25, allocations: 0 / 4.017 GB, free: 36.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.08682/11.34, allocations: 68.19 MB / 4.084 GB, free: 9.633 MB / 0.5261 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)