Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.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.TestCoolingTowerClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed") translateModel(ThermoPower.Test.WaterComponents.TestCoolingTowerClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002212/0.002212, allocations: 181.3 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 1.954/1.954, 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.0009717/0.0009718, allocations: 86.98 kB / 262.1 MB, free: 13.89 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5662/0.5662, allocations: 48.78 MB / 358.8 MB, free: 53.17 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.043e-05/3.093e-05, allocations: 7.984 kB / 425.3 MB, free: 8.207 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1557, allocations: 60.24 MB / 485.5 MB, free: 11.81 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.962/10.12, allocations: 3.313 GB / 3.787 GB, free: 130.2 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/10.12, allocations: 82.03 kB / 3.787 GB, free: 130.2 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.036/11.15, allocations: 334.9 MB / 4.114 GB, free: 33 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.242e-06/11.15, allocations: 0 / 4.114 GB, free: 33 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 8.353e-05/11.15, allocations: 43.14 kB / 4.114 GB, free: 33 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.007724/11.16, allocations: 2.453 MB / 4.116 GB, free: 31.52 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/11.16, allocations: 7.938 kB / 4.116 GB, free: 31.52 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002647/11.16, allocations: 471.2 kB / 4.117 GB, free: 31.3 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002516/11.17, allocations: 1.229 MB / 4.118 GB, free: 30.51 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/11.17, allocations: 52.31 kB / 4.118 GB, free: 30.51 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002546/11.17, allocations: 98.05 kB / 4.118 GB, free: 30.5 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003006/11.17, allocations: 2.366 MB / 4.12 GB, free: 28.8 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002719/11.17, allocations: 2.26 MB / 4.123 GB, free: 26.43 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/11.17, allocations: 3.938 kB / 4.123 GB, free: 26.43 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/11.17, allocations: 4 kB / 4.123 GB, free: 26.43 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.948e-05/11.17, allocations: 83.12 kB / 4.123 GB, free: 26.34 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.5088/11.68, allocations: 106.4 MB / 4.227 GB, free: 28.29 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004175/11.69, allocations: 1.922 MB / 4.229 GB, free: 28.26 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002192/11.69, allocations: 1.043 MB / 4.23 GB, free: 28.25 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6819/12.37, allocations: 129.9 MB / 4.356 GB, free: 132.5 MB / 0.589 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/12.37, allocations: 53.41 kB / 4.356 GB, free: 132.5 MB / 0.589 GB Notification: Performance of pre-optimization done (n=202): time 1.307e-05/12.37, allocations: 0 / 4.356 GB, free: 132.5 MB / 0.589 GB Notification: Performance of matching and sorting (n=203): time 0.03797/12.41, allocations: 7.42 MB / 4.364 GB, free: 131.9 MB / 0.589 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.623e-05/12.41, allocations: 75.94 kB / 4.364 GB, free: 131.8 MB / 0.589 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/12.41, allocations: 0.5668 MB / 4.364 GB, free: 131.7 MB / 0.589 GB Notification: Performance of collectPreVariables (initialization): time 0.0009401/12.41, allocations: 25.7 kB / 4.364 GB, free: 131.7 MB / 0.589 GB Notification: Performance of collectInitialEqns (initialization): time 0.000616/12.41, allocations: 0.5596 MB / 4.365 GB, free: 131.4 MB / 0.589 GB Notification: Performance of collectInitialBindings (initialization): time 0.001526/12.41, allocations: 0.6729 MB / 4.366 GB, free: 131.1 MB / 0.589 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005455/12.41, allocations: 0 / 4.366 GB, free: 131.1 MB / 0.589 GB Notification: Performance of setup shared object (initialization): time 0.0003344/12.41, allocations: 441.6 kB / 4.366 GB, free: 130.8 MB / 0.589 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002635/12.42, allocations: 1.227 MB / 4.367 GB, free: 130.8 MB / 0.589 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002927/12.42, allocations: 1.488 MB / 4.369 GB, free: 130.5 MB / 0.589 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02361/12.44, allocations: 5.302 MB / 4.374 GB, free: 130.4 MB / 0.589 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.891e-05/12.44, allocations: 3.062 kB / 4.374 GB, free: 130.4 MB / 0.589 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.01839/12.46, allocations: 4.702 MB / 4.378 GB, free: 130.2 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 0.000613/12.46, allocations: 1.662 MB / 4.38 GB, free: 128.5 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.031e-05/12.46, allocations: 10.52 kB / 4.38 GB, free: 128.5 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01307/12.48, allocations: 3.935 MB / 4.384 GB, free: 128.5 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/12.48, allocations: 175.5 kB / 4.384 GB, free: 128.5 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0207/12.5, allocations: 6.321 MB / 4.39 GB, free: 127.9 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003763/12.5, allocations: 131.9 kB / 4.39 GB, free: 127.9 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00108/12.5, allocations: 150.4 kB / 4.39 GB, free: 127.9 MB / 0.589 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/12.5, allocations: 2.5 kB / 4.39 GB, free: 127.9 MB / 0.589 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01683/12.52, allocations: 4.539 MB / 4.395 GB, free: 127.8 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.062e-05/12.52, allocations: 3.938 kB / 4.395 GB, free: 127.8 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01528/12.54, allocations: 3.952 MB / 4.399 GB, free: 127.8 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/12.54, allocations: 173.7 kB / 4.399 GB, free: 127.8 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02301/12.56, allocations: 6.329 MB / 4.405 GB, free: 127.1 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003609/12.56, allocations: 120.2 kB / 4.405 GB, free: 127.1 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009725/12.56, allocations: 155.3 kB / 4.405 GB, free: 127.1 MB / 0.589 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.cooledFlow.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 (cooledFlow.fluidState[6].phase,cooledFlow.fluidState[5].phase,cooledFlow.fluidState[4].phase,cooledFlow.fluidState[3].phase,cooledFlow.fluidState[2].phase,cooledFlow.fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * 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 {30 137} Notification: Performance of prepare postOptimizeDAE: time 0.001721/12.57, allocations: 125.9 kB / 4.406 GB, free: 127 MB / 0.589 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/12.57, allocations: 131 kB / 4.406 GB, free: 126.9 MB / 0.589 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02697/12.59, allocations: 8.883 MB / 4.414 GB, free: 126.4 MB / 0.589 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001327/12.59, allocations: 85.88 kB / 4.414 GB, free: 126.4 MB / 0.589 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-05/12.59, allocations: 0 / 4.414 GB, free: 126.4 MB / 0.589 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.44e-05/12.59, allocations: 11.25 kB / 4.414 GB, free: 126.4 MB / 0.589 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0286/12.62, allocations: 10.79 MB / 4.425 GB, free: 125.7 MB / 0.589 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-05/12.62, allocations: 0 / 4.425 GB, free: 125.7 MB / 0.589 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002001/12.63, allocations: 369.2 kB / 4.425 GB, free: 125.7 MB / 0.589 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01154/12.64, allocations: 4.203 MB / 4.429 GB, free: 125.5 MB / 0.589 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00108/12.64, allocations: 113.3 kB / 4.43 GB, free: 125.5 MB / 0.589 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0174/12.66, allocations: 13.58 MB / 4.443 GB, free: 118.3 MB / 0.589 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.145e-05/12.66, allocations: 4.562 kB / 4.443 GB, free: 118.3 MB / 0.589 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02317/12.68, allocations: 9.709 MB / 4.452 GB, free: 115.8 MB / 0.589 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001989/12.68, allocations: 0.5459 MB / 4.453 GB, free: 115.4 MB / 0.589 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009867/12.68, allocations: 10.94 kB / 4.453 GB, free: 115.4 MB / 0.589 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002879/12.68, allocations: 108.6 kB / 4.453 GB, free: 115.4 MB / 0.589 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007714/12.69, allocations: 215 kB / 4.453 GB, free: 115.4 MB / 0.589 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005426/12.69, allocations: 141.6 kB / 4.453 GB, free: 115.3 MB / 0.589 GB Notification: Performance of sorting global known variables: time 0.0009495/12.69, allocations: 485.7 kB / 4.454 GB, free: 115.1 MB / 0.589 GB Notification: Performance of sort global known variables: time 1.953e-06/12.69, allocations: 2.062 kB / 4.454 GB, free: 115.1 MB / 0.589 GB Notification: Performance of remove unused functions: time 0.0147/12.7, allocations: 1.949 MB / 4.456 GB, free: 115 MB / 0.589 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (cooledFlow.htilde[1],cooledFlow.htilde[2],cooledFlow.htilde[3],cooledFlow.htilde[4],cooledFlow.htilde[5],tubeWalls.Tvol[1],tubeWalls.Tvol[2],tubeWalls.Tvol[3],tubeWalls.Tvol[4],tubeWalls.Tvol[5]) * Number of discrete variables: 28 ($cse3.region3boundary,$cse7.phase,$cse7.region,$cse8.region3boundary,$cse13.phase,$cse13.region,$cse14.region3boundary,$cse19.phase,$cse19.region,$cse20.region3boundary,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse31.phase,$cse31.region,$cse32.region3boundary,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse40.phase,$cse40.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse43.phase,$cse43.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 2 {1 5,20 96} Notification: Performance of Backend phase and start with SimCode phase: time 0.01221/12.71, allocations: 1.825 MB / 4.457 GB, free: 114.8 MB / 0.589 GB Notification: Performance of simCode: created initialization part: time 0.01755/12.73, allocations: 6.096 MB / 4.463 GB, free: 112.9 MB / 0.589 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-05/12.73, allocations: 0 / 4.463 GB, free: 112.9 MB / 0.589 GB Notification: Performance of simCode: created simulation system equations: time 0.007573/12.74, allocations: 3.068 MB / 4.466 GB, free: 111.4 MB / 0.589 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005607/12.74, allocations: 0.6267 MB / 4.467 GB, free: 111.4 MB / 0.589 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/12.76, allocations: 5.173 MB / 4.472 GB, free: 109.6 MB / 0.589 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003111/12.76, allocations: 1.756 MB / 4.474 GB, free: 108.8 MB / 0.589 GB Notification: Performance of simCode: alias equations: time 0.009661/12.77, allocations: 6.227 MB / 4.48 GB, free: 108.7 MB / 0.589 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/12.77, allocations: 232.8 kB / 4.48 GB, free: 108.6 MB / 0.589 GB Notification: Performance of SimCode: time 2.004e-06/12.77, allocations: 0 / 4.48 GB, free: 108.6 MB / 0.589 GB Notification: Performance of Templates: time 0.5777/13.35, allocations: 106.1 MB / 4.584 GB, free: 132.2 MB / 0.589 GB make -j1 -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.makefile (rm -f ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.pipe ; mkfifo ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.pipe >> ../files/ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.sim & ./ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.WaterComponents.TestCoolingTowerClosed.pipe 2>&1)