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.001129/0.001129, allocations: 174.8 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.736/1.736, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.0009237, allocations: 86.64 kB / 267.5 MB, free: 14.1 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3481/0.3481, allocations: 48.78 MB / 364.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.102e-05/3.104e-05, allocations: 0 / 432.5 MB, free: 16.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1467, allocations: 60.26 MB / 492.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.35/10.5, allocations: 3.313 GB / 3.795 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001896/10.5, allocations: 77.89 kB / 3.795 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.253/11.75, allocations: 338.2 MB / 4.125 GB, free: 69.55 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.633e-06/11.75, allocations: 0 / 4.125 GB, free: 69.55 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001164/11.75, allocations: 37.16 kB / 4.125 GB, free: 69.55 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.01286/11.76, allocations: 2.472 MB / 4.127 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/11.76, allocations: 7.781 kB / 4.127 GB, free: 68.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006031/11.77, allocations: 465.7 kB / 4.128 GB, free: 68.27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005531/11.78, allocations: 1.226 MB / 4.129 GB, free: 67.69 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/11.78, allocations: 123 kB / 4.129 GB, free: 67.64 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006191/11.78, allocations: 168.8 kB / 4.129 GB, free: 67.58 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01524/11.79, allocations: 3.867 MB / 4.133 GB, free: 66.08 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.347e-05/11.79, allocations: 7.781 kB / 4.133 GB, free: 66.08 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003033/11.79, allocations: 65.66 kB / 4.133 GB, free: 66.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001235/11.79, allocations: 88.02 kB / 4.133 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0144/11.81, allocations: 3.844 MB / 4.137 GB, free: 64.82 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.1959/12, allocations: 72.06 MB / 4.207 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007508/12.01, allocations: 2.854 MB / 4.21 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/12.01, allocations: 1.127 MB / 4.211 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5532/12.57, allocations: 129.9 MB / 4.338 GB, free: 33.47 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/12.57, allocations: 56.5 kB / 4.338 GB, free: 33.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=209): time 9.427e-06/12.57, allocations: 0 / 4.338 GB, free: 33.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=210): time 0.03119/12.6, allocations: 8.047 MB / 4.346 GB, free: 32.85 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.935e-05/12.6, allocations: 70.47 kB / 4.346 GB, free: 32.79 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/12.6, allocations: 0.6828 MB / 4.347 GB, free: 32.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003743/12.6, allocations: 62.39 kB / 4.347 GB, free: 32.62 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/12.6, allocations: 0.5328 MB / 4.347 GB, free: 32.43 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007411/12.6, allocations: 0.7248 MB / 4.348 GB, free: 32.05 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/12.6, allocations: 38 kB / 4.348 GB, free: 32.05 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001903/12.6, allocations: 380.3 kB / 4.348 GB, free: 31.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001924/12.6, allocations: 1.268 MB / 4.35 GB, free: 31.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002106/12.6, allocations: 1.536 MB / 4.351 GB, free: 31.52 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02042/12.62, allocations: 5.454 MB / 4.356 GB, free: 29.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/12.62, allocations: 0 / 4.356 GB, free: 29.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.008527/12.63, allocations: 4.544 MB / 4.361 GB, free: 27.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005175/12.63, allocations: 1.673 MB / 4.363 GB, free: 25.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/12.63, allocations: 4 kB / 4.363 GB, free: 25.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01373/12.65, allocations: 4.214 MB / 4.367 GB, free: 22.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008226/12.65, allocations: 176.3 kB / 4.367 GB, free: 22.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/12.66, allocations: 5.609 MB / 4.372 GB, free: 19.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/12.66, allocations: 167 kB / 4.372 GB, free: 19.45 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003954/12.66, allocations: 149.5 kB / 4.373 GB, free: 19.37 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/12.66, allocations: 4 kB / 4.373 GB, free: 19.36 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007161/12.67, allocations: 4.413 MB / 4.377 GB, free: 17.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/12.67, allocations: 4 kB / 4.377 GB, free: 17.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01347/12.68, allocations: 4.239 MB / 4.381 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008573/12.68, allocations: 170.3 kB / 4.381 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009559/12.69, allocations: 5.613 MB / 4.387 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002371/12.7, allocations: 157.9 kB / 4.387 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/12.7, allocations: 156.1 kB / 4.387 GB, free: 10.94 MB / 0.5417 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.0007377/12.7, allocations: 203.4 kB / 4.387 GB, free: 10.8 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005437/12.7, allocations: 138.4 kB / 4.387 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01304/12.71, allocations: 9.577 MB / 4.397 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.056e-05/12.71, allocations: 93.66 kB / 4.397 GB, free: 5.711 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.227e-05/12.71, allocations: 0 / 4.397 GB, free: 5.711 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.867e-05/12.71, allocations: 16.84 kB / 4.397 GB, free: 5.707 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01867/12.73, allocations: 12.25 MB / 4.409 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.918e-05/12.73, allocations: 4 kB / 4.409 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001941/12.73, allocations: 388.6 kB / 4.409 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0114/12.74, allocations: 4.413 MB / 4.413 GB, free: 8.012 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007647/12.74, allocations: 137.5 kB / 4.414 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3085/13.05, allocations: 13.18 MB / 4.426 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.515e-06/13.05, allocations: 4.938 kB / 4.426 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01558/13.07, allocations: 10.39 MB / 4.437 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001768/13.07, allocations: 0.6339 MB / 4.437 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004259/13.07, allocations: 48.78 kB / 4.437 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001835/13.07, allocations: 139.4 kB / 4.437 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000545/13.07, allocations: 222.9 kB / 4.438 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003237/13.07, allocations: 147.2 kB / 4.438 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00131/13.07, allocations: 0.6316 MB / 4.438 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.725e-06/13.07, allocations: 0 / 4.438 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01447/13.09, allocations: 2.09 MB / 4.44 GB, free: 121.7 MB / 0.5573 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: 33 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 16 * 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.01272/13.1, allocations: 1.753 MB / 4.442 GB, free: 121.6 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0172/13.12, allocations: 6.49 MB / 4.448 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/13.12, allocations: 0 / 4.448 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005464/13.12, allocations: 3.381 MB / 4.452 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004738/13.13, allocations: 0.8194 MB / 4.453 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008846/13.14, allocations: 5.703 MB / 4.458 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/13.14, allocations: 1.855 MB / 4.46 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.006378/13.14, allocations: 6.254 MB / 4.466 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000809/13.15, allocations: 243.2 kB / 4.466 GB, free: 119 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/13.15, allocations: 2.953 kB / 4.466 GB, free: 119 MB / 0.5573 GB Notification: Performance of Templates: time 0.151/13.3, allocations: 121.2 MB / 4.585 GB, free: 54.25 MB / 0.5573 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)