Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.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_C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001903/0.001903, allocations: 179.3 kB / 16.38 MB, free: 5.766 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.96/1.96, 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.0009997/0.0009995, allocations: 89.33 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.5347/0.5347, allocations: 48.77 MB / 367.9 MB, free: 47.39 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003654, allocations: 8 kB / 438.6 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1623, allocations: 60.26 MB / 498.9 MB, free: 14.59 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.232/7.395, allocations: 2.974 GB / 3.461 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/7.395, allocations: 81.31 kB / 3.461 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.031/8.426, allocations: 326.5 MB / 3.78 GB, free: 54.42 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.776e-06/8.426, allocations: 0 / 3.78 GB, free: 54.42 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001014/8.426, allocations: 56.66 kB / 3.78 GB, free: 54.37 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: 853 * Number of variables: 853 Notification: Performance of Generate backend data structure: time 0.05154/8.478, allocations: 12.28 MB / 3.792 GB, free: 42.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/8.478, allocations: 12.02 kB / 3.792 GB, free: 42.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01091/8.489, allocations: 1.011 MB / 3.793 GB, free: 41.36 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0137/8.503, allocations: 3.358 MB / 3.796 GB, free: 38.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007441/8.51, allocations: 2.35 MB / 3.798 GB, free: 36.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005374/8.515, allocations: 331.2 kB / 3.799 GB, free: 36.36 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06973/8.585, allocations: 26.6 MB / 3.825 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.327e-05/8.585, allocations: 0 / 3.825 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003494/8.589, allocations: 136 kB / 3.825 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001306/8.589, allocations: 170.5 kB / 3.825 GB, free: 14.38 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3366/8.926, allocations: 48.48 MB / 3.872 GB, free: 60.11 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.1222/9.048, allocations: 72.32 MB / 3.943 GB, free: 16.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05119/9.099, allocations: 21.34 MB / 3.964 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1385/9.238, allocations: 75.56 MB / 4.038 GB, free: 7.578 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/9.238, allocations: 81.92 kB / 4.038 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=371): time 8.396e-06/9.238, allocations: 0 / 4.038 GB, free: 7.488 MB / 0.5573 GB Notification: Performance of matching and sorting (n=373): time 0.5309/9.769, allocations: 92.41 MB / 4.128 GB, free: 104 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/9.769, allocations: 87.3 kB / 4.128 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001029/9.77, allocations: 0.6748 MB / 4.129 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.004711/9.775, allocations: 93.52 kB / 4.129 GB, free: 103.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004569/9.775, allocations: 0.7945 MB / 4.13 GB, free: 103 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.005356/9.78, allocations: 1.274 MB / 4.131 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004611/9.785, allocations: 66.56 kB / 4.131 GB, free: 102.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000515/9.786, allocations: 491.9 kB / 4.131 GB, free: 101.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04146/9.827, allocations: 18.23 MB / 4.149 GB, free: 97.41 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04201/9.869, allocations: 18.62 MB / 4.167 GB, free: 92.44 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6501/10.52, allocations: 133.5 MB / 4.298 GB, free: 102.9 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/10.52, allocations: 1.25 kB / 4.298 GB, free: 102.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=419) (initialization): time 0.3039/10.82, allocations: 97.56 MB / 4.393 GB, free: 79.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004019/10.82, allocations: 2.197 MB / 4.395 GB, free: 76.98 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/10.82, allocations: 4 kB / 4.395 GB, free: 76.98 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4831/11.31, allocations: 104 MB / 4.497 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/11.31, allocations: 0.5516 MB / 4.497 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1264/11.44, allocations: 61.82 MB / 4.558 GB, free: 94.03 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02576/11.46, allocations: 4.432 MB / 4.562 GB, free: 93.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005382/11.47, allocations: 0.6355 MB / 4.563 GB, free: 93.58 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/11.47, allocations: 6.094 kB / 4.563 GB, free: 93.58 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.5289/12, allocations: 97.27 MB / 4.658 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.402e-05/12, allocations: 6.312 kB / 4.658 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.241/12.24, allocations: 104 MB / 4.759 GB, free: 97.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/12.24, allocations: 0.5264 MB / 4.76 GB, free: 97.28 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1215/12.36, allocations: 61.82 MB / 4.82 GB, free: 47.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02411/12.39, allocations: 4.415 MB / 4.824 GB, free: 43.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005264/12.39, allocations: 0.6244 MB / 4.825 GB, free: 42.87 MB / 0.5573 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.hex.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 20 (hex.fluidState[20].phase,hex.fluidState[19].phase,hex.fluidState[18].phase,hex.fluidState[17].phase,hex.fluidState[16].phase,hex.fluidState[15].phase,hex.fluidState[14].phase,hex.fluidState[13].phase,hex.fluidState[12].phase,hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (251): * Single equations (assignments): 231 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 19 {1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 9,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.01264/12.4, allocations: 0.9275 MB / 4.826 GB, free: 41.96 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004316/12.41, allocations: 185.4 kB / 4.826 GB, free: 41.87 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3802/12.79, allocations: 73.62 MB / 4.898 GB, free: 98.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1167/12.91, allocations: 69.97 MB / 4.966 GB, free: 74.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.513e-05/12.91, allocations: 7.812 kB / 4.966 GB, free: 74.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000143/12.91, allocations: 22.08 kB / 4.966 GB, free: 74.91 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4793/13.39, allocations: 126.9 MB / 5.09 GB, free: 101 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.39e-05/13.39, allocations: 7.688 kB / 5.09 GB, free: 101 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02932/13.41, allocations: 5.45 MB / 5.096 GB, free: 101 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005225/13.42, allocations: 1.676 MB / 5.097 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005392/13.43, allocations: 424.6 kB / 5.098 GB, free: 100.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02271/13.45, allocations: 30.95 MB / 5.128 GB, free: 76.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.906e-05/13.45, allocations: 16.66 kB / 5.128 GB, free: 76.04 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1523/13.6, allocations: 58.24 MB / 5.185 GB, free: 60.04 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009851/13.61, allocations: 2.664 MB / 5.187 GB, free: 59.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004734/13.62, allocations: 108.2 kB / 5.187 GB, free: 59.01 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02386/13.64, allocations: 4.384 MB / 5.192 GB, free: 58.95 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004686/13.64, allocations: 0.6921 MB / 5.192 GB, free: 58.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004631/13.65, allocations: 430.5 kB / 5.193 GB, free: 58.87 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0006988/13.65, allocations: 0.5173 MB / 5.193 GB, free: 58.64 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.31e-07/13.65, allocations: 0 / 5.193 GB, free: 58.64 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02384/13.67, allocations: 4.608 MB / 5.198 GB, free: 58.4 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 41 * Number of states: 20 (Mbal,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9],hex.htilde[10],hex.htilde[11],hex.htilde[12],hex.htilde[13],hex.htilde[14],hex.htilde[15],hex.htilde[16],hex.htilde[17],hex.htilde[18],hex.htilde[19]) * Number of discrete variables: 82 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$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.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse40.phase,$cse40.region,$cse41.phase,$cse41.region,$cse42.region3boundary,$cse43.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (378): * Single equations (assignments): 316 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 43 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 19 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 19 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009612/13.68, allocations: 1.35 MB / 5.199 GB, free: 58.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3745/14.06, allocations: 62.26 MB / 5.26 GB, free: 99.22 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.58e-05/14.06, allocations: 3.188 kB / 5.26 GB, free: 99.22 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0518/14.11, allocations: 22.81 MB / 5.282 GB, free: 97.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009398/14.12, allocations: 0.9423 MB / 5.283 GB, free: 97.11 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06446/14.18, allocations: 29.45 MB / 5.312 GB, free: 92.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005383/14.19, allocations: 2.79 MB / 5.315 GB, free: 91.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01766/14.21, allocations: 4.305 MB / 5.319 GB, free: 91.52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01151/14.22, allocations: 0.8048 MB / 5.32 GB, free: 91.51 MB / 0.5573 GB Notification: Performance of SimCode: time 9.52e-07/14.22, allocations: 2.719 kB / 5.32 GB, free: 91.51 MB / 0.5573 GB Notification: Performance of Templates: time 1.037/15.25, allocations: 0.5101 GB / 5.83 GB, free: 54.15 MB / 0.573 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_C.pipe 2>&1)