Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.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.DistributedParameterComponents.TestWaterFlow1DFV2ph,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001766/0.001766, allocations: 180.5 kB / 16.39 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.789/1.789, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.0009672/0.0009676, allocations: 93.95 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5302/0.5302, allocations: 48.78 MB / 367.9 MB, free: 47.4 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.0003731/0.0003731, allocations: 12 kB / 438.6 MB, free: 10.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1717, allocations: 60.24 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.054/8.226, allocations: 3.006 GB / 3.493 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/8.226, allocations: 81.89 kB / 3.493 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.582/9.808, allocations: 397.4 MB / 3.881 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.717e-06/9.809, allocations: 0 / 3.881 GB, free: 45.23 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002815/9.809, allocations: 66.08 kB / 3.881 GB, free: 45.23 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: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.05949/9.868, allocations: 12.22 MB / 3.893 GB, free: 43.71 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.746e-05/9.868, allocations: 13.33 kB / 3.893 GB, free: 43.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0137/9.882, allocations: 1.194 MB / 3.894 GB, free: 43.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02331/9.906, allocations: 4.488 MB / 3.899 GB, free: 43.15 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.01176/9.917, allocations: 3.116 MB / 3.902 GB, free: 42.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008766/9.926, allocations: 351.3 kB / 3.902 GB, free: 42.29 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09003/10.02, allocations: 29.17 MB / 3.931 GB, free: 42.01 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001976/10.02, allocations: 0 / 3.931 GB, free: 42.01 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006582/10.02, allocations: 135.6 kB / 3.931 GB, free: 42.01 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001908/10.02, allocations: 173.6 kB / 3.931 GB, free: 42 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.136/10.16, allocations: 51.79 MB / 3.981 GB, free: 31.84 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.4575/10.62, allocations: 74.71 MB / 4.054 GB, free: 69.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06433/10.68, allocations: 25.8 MB / 4.08 GB, free: 68.94 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2237/10.9, allocations: 124.5 MB / 4.201 GB, free: 25.89 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/10.91, allocations: 83.64 kB / 4.201 GB, free: 25.84 MB / 0.573 GB Notification: Performance of pre-optimization done (n=482): time 1.413e-05/10.91, allocations: 3.469 kB / 4.201 GB, free: 25.84 MB / 0.573 GB Notification: Performance of matching and sorting (n=483): time 0.6383/11.54, allocations: 126.1 MB / 4.324 GB, free: 104.2 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.163e-05/11.54, allocations: 126.1 kB / 4.324 GB, free: 104.1 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009621/11.54, allocations: 0.6164 MB / 4.325 GB, free: 104 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.005154/11.55, allocations: 109.1 kB / 4.325 GB, free: 103.9 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000641/11.55, allocations: 0.7413 MB / 4.326 GB, free: 103.6 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006273/11.56, allocations: 1.654 MB / 4.328 GB, free: 102.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003905/11.56, allocations: 86.69 kB / 4.328 GB, free: 102.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0005117/11.56, allocations: 0.5201 MB / 4.328 GB, free: 102.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04694/11.61, allocations: 21.26 MB / 4.349 GB, free: 101 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04492/11.65, allocations: 21.7 MB / 4.37 GB, free: 96 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04135/11.69, allocations: 17.79 MB / 4.387 GB, free: 91.72 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-05/11.69, allocations: 4 kB / 4.387 GB, free: 91.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.1934/11.89, allocations: 71.6 MB / 4.457 GB, free: 42.18 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003729/11.89, allocations: 1.935 MB / 4.459 GB, free: 40.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/11.89, allocations: 8 kB / 4.459 GB, free: 40.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6187/12.51, allocations: 133.2 MB / 4.589 GB, free: 98.18 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003142/12.51, allocations: 0.9082 MB / 4.59 GB, free: 98.14 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1591/12.67, allocations: 65.99 MB / 4.655 GB, free: 53.95 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02397/12.69, allocations: 5.47 MB / 4.66 GB, free: 48.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003533/12.7, allocations: 0.7134 MB / 4.661 GB, free: 47.79 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/12.7, allocations: 4 kB / 4.661 GB, free: 47.79 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4089/13.11, allocations: 65.71 MB / 4.725 GB, free: 102.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-05/13.11, allocations: 8.594 kB / 4.725 GB, free: 102.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3826/13.49, allocations: 130.8 MB / 4.853 GB, free: 55.58 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003589/13.49, allocations: 0.9612 MB / 4.854 GB, free: 54.82 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4314/13.92, allocations: 64.72 MB / 4.917 GB, free: 98.51 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02754/13.95, allocations: 5.468 MB / 4.922 GB, free: 98.51 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006612/13.96, allocations: 0.7025 MB / 4.923 GB, free: 98.51 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 (hexFV.fluidState[15].phase,hexFV.fluidState[14].phase,hexFV.fluidState[13].phase,hexFV.fluidState[12].phase,hexFV.fluidState[11].phase,hexFV.fluidState[10].phase,hexFV.fluidState[9].phase,hexFV.fluidState[8].phase,hexFV.fluidState[7].phase,hexFV.fluidState[6].phase,hexFV.fluidState[5].phase,hexFV.fluidState[4].phase,hexFV.fluidState[3].phase,hexFV.fluidState[2].phase,hexFV.fluidState[1].phase,hexFV.heatTransfer.dew.phase,hexFV.heatTransfer.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 136 * Array equations: 1 * 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 {15 367} Notification: Performance of prepare postOptimizeDAE: time 0.0107/13.97, allocations: 0.9482 MB / 4.924 GB, free: 98.32 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003307/13.97, allocations: 222.5 kB / 4.924 GB, free: 98.3 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1607/14.13, allocations: 78.64 MB / 5.001 GB, free: 82.59 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1506/14.28, allocations: 74.94 MB / 5.074 GB, free: 28.11 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.279e-05/14.28, allocations: 16 kB / 5.074 GB, free: 28.09 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001569/14.28, allocations: 29.08 kB / 5.074 GB, free: 28.09 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4425/14.73, allocations: 118.5 MB / 5.19 GB, free: 69.47 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.822e-05/14.73, allocations: 7.75 kB / 5.19 GB, free: 69.47 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02609/14.75, allocations: 6.144 MB / 5.196 GB, free: 69.39 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.06508/14.82, allocations: 23.33 MB / 5.218 GB, free: 66.95 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004821/14.82, allocations: 0.5317 MB / 5.219 GB, free: 66.88 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3495/15.17, allocations: 64.16 MB / 5.282 GB, free: 95.3 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/15.17, allocations: 13.81 kB / 5.282 GB, free: 95.3 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1872/15.36, allocations: 73.71 MB / 5.354 GB, free: 93.94 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01028/15.37, allocations: 2.955 MB / 5.357 GB, free: 93.05 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004423/15.37, allocations: 122.9 kB / 5.357 GB, free: 92.99 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02558/15.4, allocations: 5.418 MB / 5.362 GB, free: 92.91 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005321/15.4, allocations: 0.9304 MB / 5.363 GB, free: 92.86 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004655/15.41, allocations: 0.5368 MB / 5.363 GB, free: 92.82 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.000682/15.41, allocations: 484.8 kB / 5.364 GB, free: 92.61 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.01e-07/15.41, allocations: 0 / 5.364 GB, free: 92.61 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0261/15.44, allocations: 5.202 MB / 5.369 GB, free: 92.31 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 29 (hexFV.p,hexFV.htilde[1],hexFV.htilde[2],hexFV.htilde[3],hexFV.htilde[4],hexFV.htilde[5],hexFV.htilde[6],hexFV.htilde[7],hexFV.htilde[8],hexFV.htilde[9],hexFV.htilde[10],hexFV.htilde[11],hexFV.htilde[12],hexFV.htilde[13],hexFV.htilde[14],metalTubeFV.Tvol[1],metalTubeFV.Tvol[2],metalTubeFV.Tvol[3],metalTubeFV.Tvol[4],metalTubeFV.Tvol[5],metalTubeFV.Tvol[6],metalTubeFV.Tvol[7],metalTubeFV.Tvol[8],metalTubeFV.Tvol[9],metalTubeFV.Tvol[10],metalTubeFV.Tvol[11],metalTubeFV.Tvol[12],metalTubeFV.Tvol[13],metalTubeFV.Tvol[14]) * Number of discrete variables: 36 ($cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.region3boundary,$cse20.region3boundary,$cse22.phase,$cse22.region,$cse23.region3boundary,$cse24.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (420): * Single equations (assignments): 381 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 22 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 16 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 15 {(15,59.6%) 28,(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,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {1 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.009829/15.45, allocations: 1.656 MB / 5.371 GB, free: 92.05 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.2056/15.65, allocations: 79.39 MB / 5.448 GB, free: 53.45 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.574e-05/15.65, allocations: 7.172 kB / 5.448 GB, free: 53.45 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.05663/15.71, allocations: 25.5 MB / 5.473 GB, free: 32.64 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008311/15.72, allocations: 1.086 MB / 5.474 GB, free: 31.86 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3079/16.02, allocations: 33.11 MB / 5.506 GB, free: 90.15 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00188/16.03, allocations: 2.507 MB / 5.509 GB, free: 89.39 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01293/16.04, allocations: 3.242 MB / 5.512 GB, free: 89.33 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006935/16.05, allocations: 0.8527 MB / 5.513 GB, free: 89.33 MB / 0.573 GB Notification: Performance of SimCode: time 8.21e-07/16.05, allocations: 0 / 5.513 GB, free: 89.33 MB / 0.573 GB Notification: Performance of Templates: time 1.111/17.16, allocations: 0.5417 GB / 6.055 GB, free: 70.96 MB / 0.5886 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe 2>&1)