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.001696/0.001696, allocations: 180.5 kB / 16.38 MB, free: 5.762 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.841/1.841, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.000846/0.000846, allocations: 93.03 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5619/0.5619, allocations: 48.78 MB / 367.9 MB, free: 47.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 8 kB / 438.6 MB, free: 11 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1584, allocations: 60.26 MB / 498.9 MB, free: 14.6 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.487/9.645, allocations: 3.313 GB / 3.801 GB, free: 36.73 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/9.646, allocations: 89.75 kB / 3.801 GB, free: 36.68 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.224/10.87, allocations: 339.4 MB / 4.132 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.585e-06/10.87, allocations: 0 / 4.132 GB, free: 56.19 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002134/10.87, allocations: 45.88 kB / 4.132 GB, free: 56.18 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.01617/10.89, allocations: 2.608 MB / 4.135 GB, free: 55.01 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/10.89, allocations: 11.75 kB / 4.135 GB, free: 55.01 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005496/10.89, allocations: 463.8 kB / 4.135 GB, free: 54.88 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006029/10.9, allocations: 1.227 MB / 4.136 GB, free: 54.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002633/10.9, allocations: 123.8 kB / 4.136 GB, free: 54.25 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001364/10.9, allocations: 164.2 kB / 4.137 GB, free: 54.2 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/10.91, allocations: 3.828 MB / 4.14 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-05/10.92, allocations: 3.938 kB / 4.14 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006224/10.92, allocations: 71.84 kB / 4.14 GB, free: 52.68 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.472e-05/10.92, allocations: 79.02 kB / 4.14 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/10.93, allocations: 3.839 MB / 4.144 GB, free: 51.5 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.1313/11.06, allocations: 71.9 MB / 4.214 GB, free: 21.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007123/11.06, allocations: 2.808 MB / 4.217 GB, free: 20.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5266/11.59, allocations: 129.5 MB / 4.344 GB, free: 36.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.543e-05/11.59, allocations: 56.2 kB / 4.344 GB, free: 36.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=209): time 8.566e-06/11.59, allocations: 0 / 4.344 GB, free: 36.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=210): time 0.05252/11.64, allocations: 14.21 MB / 4.358 GB, free: 35.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/11.64, allocations: 73.22 kB / 4.358 GB, free: 35.23 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/11.65, allocations: 0.6864 MB / 4.358 GB, free: 35.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003353/11.65, allocations: 59.73 kB / 4.358 GB, free: 35.07 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004663/11.65, allocations: 0.5332 MB / 4.359 GB, free: 34.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008481/11.65, allocations: 0.718 MB / 4.36 GB, free: 34.51 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/11.65, allocations: 40.44 kB / 4.36 GB, free: 34.51 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001604/11.65, allocations: 387.8 kB / 4.36 GB, free: 34.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002077/11.65, allocations: 1.299 MB / 4.361 GB, free: 34.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/11.65, allocations: 1.581 MB / 4.363 GB, free: 33.96 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02088/11.67, allocations: 5.583 MB / 4.368 GB, free: 33.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.135e-05/11.67, allocations: 4 kB / 4.368 GB, free: 33.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=245) (initialization): time 0.01151/11.68, allocations: 4.635 MB / 4.373 GB, free: 33.52 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005332/11.68, allocations: 1.664 MB / 4.374 GB, free: 31.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.446e-05/11.68, allocations: 6.078 kB / 4.374 GB, free: 31.77 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01485/11.7, allocations: 4.34 MB / 4.379 GB, free: 31.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009286/11.7, allocations: 177.5 kB / 4.379 GB, free: 31.62 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01102/11.71, allocations: 5.648 MB / 4.384 GB, free: 31 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/11.71, allocations: 163.4 kB / 4.384 GB, free: 30.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005623/11.71, allocations: 150.2 kB / 4.385 GB, free: 30.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/11.71, allocations: 3.906 kB / 4.385 GB, free: 30.98 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008476/11.72, allocations: 4.502 MB / 4.389 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/11.72, allocations: 2.594 kB / 4.389 GB, free: 30.9 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01449/11.74, allocations: 4.357 MB / 4.393 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/11.74, allocations: 172.5 kB / 4.393 GB, free: 30.77 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01258/11.75, allocations: 5.649 MB / 4.399 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003032/11.75, allocations: 157.4 kB / 4.399 GB, free: 30.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008342/11.76, allocations: 157.1 kB / 4.399 GB, free: 30.1 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 () * 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.002444/11.76, allocations: 0.5293 MB / 4.4 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000877/11.76, allocations: 146.9 kB / 4.4 GB, free: 29.84 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02432/11.78, allocations: 18.43 MB / 4.418 GB, free: 21.38 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001531/11.78, allocations: 109.4 kB / 4.418 GB, free: 21.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.443e-05/11.78, allocations: 0 / 4.418 GB, free: 21.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.341e-05/11.78, allocations: 22.75 kB / 4.418 GB, free: 21.31 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03367/11.82, allocations: 24.95 MB / 4.442 GB, free: 15.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.547e-05/11.82, allocations: 4 kB / 4.442 GB, free: 15.96 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002213/11.82, allocations: 316.1 kB / 4.443 GB, free: 15.75 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01153/11.83, allocations: 3.731 MB / 4.446 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007735/11.83, allocations: 71.7 kB / 4.446 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3604/12.19, allocations: 13.36 MB / 4.459 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/12.19, allocations: 4.5 kB / 4.459 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01757/12.21, allocations: 10.59 MB / 4.47 GB, free: 105.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002059/12.21, allocations: 0.6868 MB / 4.47 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003959/12.21, allocations: 53.7 kB / 4.471 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0017/12.21, allocations: 149.8 kB / 4.471 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/12.21, allocations: 171.1 kB / 4.471 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/12.21, allocations: 76.8 kB / 4.471 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0008959/12.22, allocations: 0.648 MB / 4.472 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.51e-07/12.22, allocations: 0 / 4.472 GB, free: 104.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009463/12.23, allocations: 2.067 MB / 4.474 GB, free: 104.8 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: 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.01027/12.24, allocations: 1.739 MB / 4.475 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01442/12.25, allocations: 6.569 MB / 4.482 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/12.25, allocations: 3.062 kB / 4.482 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005612/12.26, allocations: 3.428 MB / 4.485 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005357/12.26, allocations: 0.8147 MB / 4.486 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01438/12.28, allocations: 8.525 MB / 4.494 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002174/12.28, allocations: 1.954 MB / 4.496 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002529/12.28, allocations: 0.6632 MB / 4.497 GB, free: 100.1 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007098/12.28, allocations: 111.2 kB / 4.497 GB, free: 100 MB / 0.5573 GB Notification: Performance of SimCode: time 1.723e-06/12.28, allocations: 0 / 4.497 GB, free: 100 MB / 0.5573 GB Notification: Performance of Templates: time 0.1708/12.45, allocations: 114.1 MB / 4.608 GB, free: 69.47 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)