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.001374/0.001374, allocations: 171 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.786/1.786, allocations: 205.4 MB / 223.5 MB, free: 9.016 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.0009238/0.0009241, allocations: 85.42 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5709/0.5709, allocations: 48.78 MB / 369 MB, free: 47.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000743/0.0007433, allocations: 16 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1808, allocations: 60.25 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.748/8.929, allocations: 3.314 GB / 3.802 GB, free: 110.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/8.929, allocations: 84.22 kB / 3.802 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.455/10.38, allocations: 339.4 MB / 4.134 GB, free: 53.29 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.776e-06/10.38, allocations: 2.156 kB / 4.134 GB, free: 53.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001481/10.38, allocations: 36.03 kB / 4.134 GB, free: 53.28 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: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.01131/10.4, allocations: 2.593 MB / 4.136 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.383e-05/10.4, allocations: 9.688 kB / 4.136 GB, free: 52.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003942/10.4, allocations: 460.5 kB / 4.137 GB, free: 52.26 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005299/10.4, allocations: 1.257 MB / 4.138 GB, free: 51.91 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002513/10.41, allocations: 120 kB / 4.138 GB, free: 51.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001346/10.41, allocations: 178.3 kB / 4.138 GB, free: 51.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/10.42, allocations: 3.839 MB / 4.142 GB, free: 51.56 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.287e-05/10.42, allocations: 6.281 kB / 4.142 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005342/10.42, allocations: 72.36 kB / 4.142 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.845e-05/10.42, allocations: 84.03 kB / 4.142 GB, free: 51.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009409/10.43, allocations: 3.835 MB / 4.146 GB, free: 51.54 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.1365/10.56, allocations: 71.88 MB / 4.216 GB, free: 24.99 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006997/10.57, allocations: 2.826 MB / 4.219 GB, free: 24.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002013/10.57, allocations: 1.162 MB / 4.22 GB, free: 24.92 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5603/11.13, allocations: 129.5 MB / 4.346 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.465e-05/11.13, allocations: 60.25 kB / 4.346 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=209): time 5.18e-06/11.13, allocations: 1.469 kB / 4.346 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=210): time 0.04626/11.18, allocations: 14.34 MB / 4.36 GB, free: 120.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/11.18, allocations: 76.59 kB / 4.36 GB, free: 120.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/11.18, allocations: 0.7863 MB / 4.361 GB, free: 120.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002078/11.18, allocations: 63.33 kB / 4.361 GB, free: 120 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003397/11.18, allocations: 0.5246 MB / 4.362 GB, free: 119.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007715/11.18, allocations: 0.7179 MB / 4.362 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001654/11.18, allocations: 42.44 kB / 4.362 GB, free: 119.5 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001099/11.18, allocations: 379.3 kB / 4.363 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001923/11.18, allocations: 1.308 MB / 4.364 GB, free: 119.2 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/11.19, allocations: 1.588 MB / 4.366 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02406/11.21, allocations: 8.378 MB / 4.374 GB, free: 118.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/11.21, allocations: 4.75 kB / 4.374 GB, free: 118.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.00939/11.22, allocations: 4.823 MB / 4.379 GB, free: 118.4 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/11.22, allocations: 214.8 kB / 4.379 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/11.22, allocations: 5.656 kB / 4.379 GB, free: 118.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01405/11.23, allocations: 4.36 MB / 4.383 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008522/11.24, allocations: 174.5 kB / 4.383 GB, free: 118.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01069/11.25, allocations: 5.638 MB / 4.389 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002507/11.25, allocations: 170.2 kB / 4.389 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/11.25, allocations: 152.5 kB / 4.389 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/11.25, allocations: 6.344 kB / 4.389 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009543/11.26, allocations: 4.677 MB / 4.394 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/11.26, allocations: 4.656 kB / 4.394 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01369/11.27, allocations: 4.378 MB / 4.398 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/11.27, allocations: 174.2 kB / 4.398 GB, free: 117.4 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009062/11.28, allocations: 5.65 MB / 4.404 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/11.28, allocations: 165.2 kB / 4.404 GB, free: 116.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003012/11.28, allocations: 149.6 kB / 4.404 GB, free: 116.8 MB / 0.5886 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 () * Number of clocked 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.001242/11.29, allocations: 0.5432 MB / 4.404 GB, free: 116.6 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004105/11.29, allocations: 147 kB / 4.405 GB, free: 116.5 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01844/11.31, allocations: 18.42 MB / 4.423 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001036/11.31, allocations: 113.9 kB / 4.423 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.531e-05/11.31, allocations: 0 / 4.423 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.535e-05/11.31, allocations: 14.34 kB / 4.423 GB, free: 112.3 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/11.33, allocations: 24.68 MB / 4.447 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.588e-05/11.33, allocations: 3.656 kB / 4.447 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/11.33, allocations: 318.2 kB / 4.447 GB, free: 100.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009011/11.34, allocations: 3.726 MB / 4.451 GB, free: 99.86 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003875/11.34, allocations: 76.95 kB / 4.451 GB, free: 99.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01109/11.35, allocations: 13.22 MB / 4.464 GB, free: 90.07 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/11.35, allocations: 3.781 kB / 4.464 GB, free: 90.07 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01267/11.37, allocations: 10.54 MB / 4.474 GB, free: 85.27 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/11.37, allocations: 0.6913 MB / 4.475 GB, free: 84.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004907/11.37, allocations: 53.62 kB / 4.475 GB, free: 84.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001813/11.37, allocations: 147.4 kB / 4.475 GB, free: 84.76 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004247/11.37, allocations: 166.7 kB / 4.475 GB, free: 84.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002195/11.37, allocations: 77.89 kB / 4.475 GB, free: 84.72 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001072/11.37, allocations: 0.6459 MB / 4.476 GB, free: 84.44 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.403e-06/11.37, allocations: 2.688 kB / 4.476 GB, free: 84.44 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008251/11.38, allocations: 2.066 MB / 4.478 GB, free: 84.23 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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: 45 ($cse2.region3boundary,$cse4.region3boundary,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse11.region3boundary,$cse16.phase,$cse16.region,$cse17.region3boundary,$cse19.region3boundary,$cse24.phase,$cse24.region,$cse25.region3boundary,$cse27.region3boundary,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse35.region3boundary,$cse40.phase,$cse40.region,$cse41.region3boundary,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,$cse53.phase,$cse53.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region,$cse57.phase,$cse57.region,$cse58.phase,$cse58.region,$cse59.phase,$cse59.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 22 * 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 {20 96,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008167/11.39, allocations: 1.743 MB / 4.479 GB, free: 84.01 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.01188/11.4, allocations: 6.565 MB / 4.486 GB, free: 79.15 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/11.4, allocations: 0 / 4.486 GB, free: 79.15 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.00521/11.41, allocations: 3.429 MB / 4.489 GB, free: 76.01 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004409/11.41, allocations: 0.8523 MB / 4.49 GB, free: 75.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009258/11.42, allocations: 8.446 MB / 4.498 GB, free: 67.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001159/11.42, allocations: 1.906 MB / 4.5 GB, free: 66.26 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001851/11.42, allocations: 0.6709 MB / 4.501 GB, free: 65.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/11.42, allocations: 118.4 kB / 4.501 GB, free: 65.72 MB / 0.5886 GB Notification: Performance of SimCode: time 7.82e-07/11.42, allocations: 0 / 4.501 GB, free: 65.72 MB / 0.5886 GB Notification: Performance of Templates: time 0.8098/12.23, allocations: 116.6 MB / 4.615 GB, free: 121 MB / 0.5886 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)