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.001973/0.001973, allocations: 180.8 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.031/2.031, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001184/0.001184, allocations: 91.94 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.7188/0.7188, allocations: 48.77 MB / 358.8 MB, free: 53.19 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.503e-05/1.505e-05, allocations: 0 / 425.3 MB, free: 8.242 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1666/0.1666, allocations: 60.27 MB / 485.6 MB, free: 11.82 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.01/10.17, allocations: 3.2 GB / 3.674 GB, free: 7.523 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002288/10.17, allocations: 74.45 kB / 3.674 GB, free: 7.488 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 0.8323/11.01, allocations: 214.2 MB / 3.883 GB, free: 7.691 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.673e-06/11.01, allocations: 4 kB / 3.883 GB, free: 7.688 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 4.267e-05/11.01, allocations: 27.94 kB / 3.883 GB, free: 7.66 MB / 0.5108 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.007166/11.01, allocations: 1.745 MB / 3.885 GB, free: 5.875 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/11.01, allocations: 12.03 kB / 3.885 GB, free: 5.863 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002398/11.02, allocations: 291.9 kB / 3.885 GB, free: 5.578 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002313/11.02, allocations: 0.8328 MB / 3.886 GB, free: 4.719 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.991e-05/11.02, allocations: 31.95 kB / 3.886 GB, free: 4.688 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002206/11.02, allocations: 64 kB / 3.886 GB, free: 4.625 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002174/11.02, allocations: 1.561 MB / 3.888 GB, free: 3.062 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/11.02, allocations: 1.458 MB / 3.889 GB, free: 1.562 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/11.02, allocations: 0 / 3.889 GB, free: 1.562 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001308/11.02, allocations: 4 kB / 3.889 GB, free: 1.559 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/11.02, allocations: 28 kB / 3.889 GB, free: 1.531 MB / 0.5108 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.3741/11.4, allocations: 24.27 MB / 3.913 GB, free: 68.98 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004578/11.4, allocations: 2.102 MB / 3.915 GB, free: 68.95 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/11.4, allocations: 0.9879 MB / 3.916 GB, free: 68.94 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0396/11.44, allocations: 20.03 MB / 3.935 GB, free: 57.78 MB / 0.5108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.854e-05/11.44, allocations: 57.02 kB / 3.935 GB, free: 57.74 MB / 0.5108 GB Notification: Performance of pre-optimization done (n=204): time 4.669e-06/11.44, allocations: 0 / 3.935 GB, free: 57.74 MB / 0.5108 GB Notification: Performance of matching and sorting (n=204): time 0.01108/11.45, allocations: 3.11 MB / 3.938 GB, free: 57.47 MB / 0.5108 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/11.45, allocations: 72.66 kB / 3.938 GB, free: 57.41 MB / 0.5108 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004076/11.45, allocations: 293.5 kB / 3.939 GB, free: 57.31 MB / 0.5108 GB Notification: Performance of collectPreVariables (initialization): time 0.0003303/11.45, allocations: 27.27 kB / 3.939 GB, free: 57.28 MB / 0.5108 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/11.45, allocations: 219 kB / 3.939 GB, free: 57.17 MB / 0.5108 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007712/11.45, allocations: 0.6943 MB / 3.94 GB, free: 56.8 MB / 0.5108 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002521/11.46, allocations: 0 / 3.94 GB, free: 56.8 MB / 0.5108 GB Notification: Performance of setup shared object (initialization): time 0.0003002/11.46, allocations: 414.1 kB / 3.94 GB, free: 56.48 MB / 0.5108 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/11.46, allocations: 0.8682 MB / 3.941 GB, free: 56.48 MB / 0.5108 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/11.46, allocations: 1.009 MB / 3.942 GB, free: 56.43 MB / 0.5108 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0029/11.46, allocations: 1.178 MB / 3.943 GB, free: 56.41 MB / 0.5108 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/11.46, allocations: 0 / 3.943 GB, free: 56.41 MB / 0.5108 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.006995/11.47, allocations: 3.21 MB / 3.946 GB, free: 56.27 MB / 0.5108 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/11.47, allocations: 6.812 kB / 3.946 GB, free: 56.27 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/11.47, allocations: 0 / 3.946 GB, free: 56.27 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/11.48, allocations: 2.315 MB / 3.948 GB, free: 56.24 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/11.48, allocations: 242.2 kB / 3.949 GB, free: 56.24 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/11.49, allocations: 4.49 MB / 3.953 GB, free: 55.62 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/11.49, allocations: 120.7 kB / 3.953 GB, free: 55.59 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/11.49, allocations: 73.72 kB / 3.953 GB, free: 55.59 MB / 0.5108 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.000355/11.49, allocations: 114.8 kB / 3.953 GB, free: 55.48 MB / 0.5108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002112/11.49, allocations: 93.16 kB / 3.953 GB, free: 55.44 MB / 0.5108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/11.51, allocations: 8.606 MB / 3.962 GB, free: 54.61 MB / 0.5108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-05/11.51, allocations: 108.4 kB / 3.962 GB, free: 54.61 MB / 0.5108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-05/11.51, allocations: 3.969 kB / 3.962 GB, free: 54.61 MB / 0.5108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.829e-05/11.51, allocations: 22.53 kB / 3.962 GB, free: 54.6 MB / 0.5108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/11.52, allocations: 10.13 MB / 3.972 GB, free: 53.79 MB / 0.5108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/11.52, allocations: 3.312 kB / 3.972 GB, free: 53.79 MB / 0.5108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/11.52, allocations: 0.4968 MB / 3.972 GB, free: 53.79 MB / 0.5108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004552/11.53, allocations: 2.488 MB / 3.975 GB, free: 53.55 MB / 0.5108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000332/11.53, allocations: 53.61 kB / 3.975 GB, free: 53.55 MB / 0.5108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/11.54, allocations: 19.57 MB / 3.994 GB, free: 38.04 MB / 0.5108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/11.54, allocations: 2.578 kB / 3.994 GB, free: 38.04 MB / 0.5108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01516/11.55, allocations: 9.584 MB / 4.003 GB, free: 36.96 MB / 0.5108 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/11.56, allocations: 0.6482 MB / 4.004 GB, free: 36.57 MB / 0.5108 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/11.56, allocations: 26.28 kB / 4.004 GB, free: 36.56 MB / 0.5108 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/11.56, allocations: 50.69 kB / 4.004 GB, free: 36.55 MB / 0.5108 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/11.56, allocations: 174.8 kB / 4.004 GB, free: 36.52 MB / 0.5108 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001733/11.56, allocations: 78.14 kB / 4.004 GB, free: 36.5 MB / 0.5108 GB Notification: Performance of sorting global known variables: time 0.0003033/11.56, allocations: 275.3 kB / 4.005 GB, free: 36.36 MB / 0.5108 GB Notification: Performance of sort global known variables: time 2.2e-07/11.56, allocations: 0 / 4.005 GB, free: 36.36 MB / 0.5108 GB Notification: Performance of remove unused functions: time 0.005064/11.56, allocations: 1.203 MB / 4.006 GB, free: 36.28 MB / 0.5108 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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: 36 ($cse5.region3boundary,$cse7.phase,$cse7.region,$cse11.region3boundary,$cse13.region3boundary,$cse15.phase,$cse15.region,$cse19.region3boundary,$cse21.region3boundary,$cse23.phase,$cse23.region,$cse27.region3boundary,$cse29.region3boundary,$cse31.phase,$cse31.region,$cse35.region3boundary,$cse37.region3boundary,$cse39.phase,$cse39.region,$cse43.region3boundary,$cse45.region3boundary,$cse47.phase,$cse47.region,$cse51.region3boundary,$cse53.region3boundary,$cse55.phase,$cse55.region,$cse59.region3boundary,$cse61.region3boundary,$cse63.phase,$cse63.region,$cse67.region3boundary,$cse69.region3boundary,$cse71.phase,$cse71.region,$cse74.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 36 * 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.006666/11.57, allocations: 1.35 MB / 4.007 GB, free: 36.05 MB / 0.5108 GB Notification: Performance of simCode: created initialization part: time 0.007338/11.58, allocations: 3.604 MB / 4.011 GB, free: 34.9 MB / 0.5108 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/11.58, allocations: 3.906 kB / 4.011 GB, free: 34.9 MB / 0.5108 GB Notification: Performance of simCode: created simulation system equations: time 0.004514/11.58, allocations: 3.454 MB / 4.014 GB, free: 32.98 MB / 0.5108 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003066/11.59, allocations: 0.6288 MB / 4.015 GB, free: 32.85 MB / 0.5108 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007158/11.59, allocations: 6.077 MB / 4.02 GB, free: 30.06 MB / 0.5108 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000897/11.59, allocations: 1.659 MB / 4.022 GB, free: 29.27 MB / 0.5108 GB Notification: Performance of simCode: alias equations: time 0.001727/11.59, allocations: 421.3 kB / 4.022 GB, free: 29.22 MB / 0.5108 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004516/11.6, allocations: 106.2 kB / 4.023 GB, free: 29.21 MB / 0.5108 GB Notification: Performance of SimCode: time 2.084e-06/11.6, allocations: 0 / 4.023 GB, free: 29.21 MB / 0.5108 GB Notification: Performance of Templates: time 0.07934/11.67, allocations: 60.48 MB / 4.082 GB, free: 12.87 MB / 0.5265 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)