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.001333/0.001333, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.77/1.77, allocations: 205.4 MB / 223.5 MB, free: 9.027 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.001207/0.001207, allocations: 93.47 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.582/0.582, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004359/0.000436, allocations: 8 kB / 439.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.164, allocations: 60.26 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.364/8.528, allocations: 3.201 GB / 3.689 GB, free: 14.13 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003349/8.528, allocations: 91.22 kB / 3.689 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.8254/9.354, allocations: 217 MB / 3.901 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.227e-06/9.354, allocations: 0 / 3.901 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.137e-05/9.354, allocations: 24 kB / 3.901 GB, free: 8.352 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.01074/9.365, allocations: 1.806 MB / 3.903 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.437e-05/9.365, allocations: 8.031 kB / 3.903 GB, free: 6.484 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003261/9.368, allocations: 283.5 kB / 3.903 GB, free: 6.207 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002963/9.371, allocations: 0.8521 MB / 3.904 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.752e-05/9.371, allocations: 82.31 kB / 3.904 GB, free: 5.234 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002671/9.371, allocations: 132.2 kB / 3.904 GB, free: 5.105 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003347/9.375, allocations: 1.801 MB / 3.906 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/9.375, allocations: 7.938 kB / 3.906 GB, free: 3.254 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/9.375, allocations: 40 kB / 3.906 GB, free: 3.215 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/9.375, allocations: 28 kB / 3.906 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003258/9.378, allocations: 1.842 MB / 3.908 GB, free: 1.344 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.3749/9.753, allocations: 4.619 MB / 3.912 GB, free: 74.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006471/9.759, allocations: 2.418 MB / 3.915 GB, free: 74.76 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002494/9.762, allocations: 1.089 MB / 3.916 GB, free: 74.75 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03946/9.802, allocations: 19.95 MB / 3.935 GB, free: 63.59 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.6e-05/9.802, allocations: 54.12 kB / 3.935 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=207): time 4.609e-06/9.802, allocations: 0 / 3.935 GB, free: 63.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=207): time 0.01408/9.816, allocations: 6.293 MB / 3.941 GB, free: 61.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/9.816, allocations: 76.2 kB / 3.942 GB, free: 61.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/9.816, allocations: 382.2 kB / 3.942 GB, free: 61.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001708/9.817, allocations: 66.2 kB / 3.942 GB, free: 61.37 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/9.817, allocations: 206.8 kB / 3.942 GB, free: 61.28 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007038/9.817, allocations: 0.7359 MB / 3.943 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/9.818, allocations: 35.31 kB / 3.943 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000146/9.818, allocations: 414.5 kB / 3.943 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/9.819, allocations: 0.9384 MB / 3.944 GB, free: 60.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/9.821, allocations: 1.1 MB / 3.945 GB, free: 60.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00311/9.824, allocations: 2.176 MB / 3.947 GB, free: 60.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.931e-06/9.824, allocations: 0 / 3.947 GB, free: 60.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.005079/9.829, allocations: 3.251 MB / 3.951 GB, free: 60.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/9.829, allocations: 2.969 kB / 3.951 GB, free: 60.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.384e-05/9.829, allocations: 0 / 3.951 GB, free: 60.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01295/9.842, allocations: 2.665 MB / 3.953 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/9.843, allocations: 241.6 kB / 3.953 GB, free: 60.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006659/9.85, allocations: 3.999 MB / 3.957 GB, free: 59.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/9.852, allocations: 163.1 kB / 3.958 GB, free: 59.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002016/9.852, allocations: 71.72 kB / 3.958 GB, free: 59.66 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.0008583/9.853, allocations: 340.6 kB / 3.958 GB, free: 59.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/9.853, allocations: 105.7 kB / 3.958 GB, free: 59.49 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0161/9.869, allocations: 8.898 MB / 3.967 GB, free: 58.63 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001603/9.87, allocations: 114.4 kB / 3.967 GB, free: 58.63 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.038e-05/9.87, allocations: 3.094 kB / 3.967 GB, free: 58.63 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-05/9.87, allocations: 15.33 kB / 3.967 GB, free: 58.63 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01798/9.888, allocations: 10.64 MB / 3.977 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/9.888, allocations: 0 / 3.977 GB, free: 57.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002503/9.89, allocations: 0.5233 MB / 3.978 GB, free: 57.22 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004932/9.895, allocations: 2.192 MB / 3.98 GB, free: 56.57 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002986/9.895, allocations: 83.98 kB / 3.98 GB, free: 56.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/9.907, allocations: 19.64 MB / 3.999 GB, free: 38.85 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/9.907, allocations: 3.188 kB / 3.999 GB, free: 38.85 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/9.921, allocations: 9.669 MB / 4.009 GB, free: 34.63 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001341/9.922, allocations: 0.6816 MB / 4.009 GB, free: 34.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/9.922, allocations: 62.28 kB / 4.009 GB, free: 34.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001082/9.924, allocations: 99.39 kB / 4.009 GB, free: 34.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000434/9.924, allocations: 172.7 kB / 4.01 GB, free: 34.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001739/9.924, allocations: 86.61 kB / 4.01 GB, free: 34.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004573/9.925, allocations: 376.2 kB / 4.01 GB, free: 33.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.3e-07/9.925, allocations: 0 / 4.01 GB, free: 33.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005448/9.93, allocations: 1.283 MB / 4.011 GB, free: 33.77 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.005936/9.936, allocations: 1.32 MB / 4.013 GB, free: 33.56 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008547/9.945, allocations: 3.773 MB / 4.016 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/9.945, allocations: 0 / 4.016 GB, free: 32.36 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005678/9.95, allocations: 3.674 MB / 4.02 GB, free: 30.32 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004003/9.954, allocations: 0.7566 MB / 4.021 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/9.965, allocations: 8.54 MB / 4.029 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/9.966, allocations: 1.64 MB / 4.031 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001684/9.968, allocations: 409.3 kB / 4.031 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004303/9.968, allocations: 110.8 kB / 4.031 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of SimCode: time 1.313e-06/9.968, allocations: 0 / 4.031 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of Templates: time 0.1012/10.07, allocations: 70 MB / 4.099 GB, free: 8.445 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)