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.001014/0.001014, allocations: 176.4 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.809/1.809, allocations: 205.4 MB / 223.5 MB, free: 9.031 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.0008735/0.0008738, allocations: 93.48 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5286/0.5286, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004171, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.137, allocations: 60.25 MB / 0.4884 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.091/6.228, allocations: 2.974 GB / 3.462 GB, free: 46.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000193/6.228, allocations: 83.83 kB / 3.463 GB, free: 46.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.207/7.435, allocations: 326.6 MB / 3.781 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.074e-06/7.435, allocations: 1.875 kB / 3.781 GB, free: 53.39 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001157/7.435, allocations: 59.81 kB / 3.782 GB, free: 53.39 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: 852 * Number of variables: 852 Notification: Performance of Generate backend data structure: time 0.04622/7.481, allocations: 12.27 MB / 3.794 GB, free: 51.35 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/7.481, allocations: 11.42 kB / 3.794 GB, free: 51.35 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009214/7.491, allocations: 1.004 MB / 3.795 GB, free: 51.2 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01149/7.502, allocations: 3.366 MB / 3.798 GB, free: 50.77 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00707/7.509, allocations: 2.343 MB / 3.8 GB, free: 50.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004854/7.514, allocations: 333.9 kB / 3.8 GB, free: 50.13 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06862/7.583, allocations: 26.63 MB / 3.826 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.566e-05/7.583, allocations: 3.938 kB / 3.826 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00357/7.586, allocations: 130.8 kB / 3.827 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/7.587, allocations: 169 kB / 3.827 GB, free: 49.34 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1061/7.693, allocations: 48.47 MB / 3.874 GB, free: 23.89 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.352/8.045, allocations: 72.36 MB / 3.945 GB, free: 47.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04783/8.093, allocations: 21.33 MB / 3.966 GB, free: 47.54 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04055/8.133, allocations: 17.79 MB / 3.983 GB, free: 47.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1208/8.254, allocations: 75.56 MB / 4.057 GB, free: 18.52 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.414e-05/8.254, allocations: 75.8 kB / 4.057 GB, free: 18.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=370): time 8.576e-06/8.254, allocations: 0 / 4.057 GB, free: 18.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=372): time 0.5447/8.799, allocations: 94.08 MB / 4.149 GB, free: 81.55 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.888e-05/8.799, allocations: 92.39 kB / 4.149 GB, free: 81.48 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001164/8.8, allocations: 0.7604 MB / 4.149 GB, free: 81.34 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.004576/8.805, allocations: 91.61 kB / 4.15 GB, free: 81.31 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005311/8.805, allocations: 0.7946 MB / 4.15 GB, free: 80.98 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005387/8.811, allocations: 1.277 MB / 4.152 GB, free: 80.16 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003998/8.815, allocations: 63.38 kB / 4.152 GB, free: 80.16 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00054/8.815, allocations: 0.4893 MB / 4.152 GB, free: 79.84 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04137/8.857, allocations: 18.22 MB / 4.17 GB, free: 79.84 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0397/8.896, allocations: 18.63 MB / 4.188 GB, free: 76.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6432/9.54, allocations: 166.2 MB / 4.35 GB, free: 80.42 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/9.54, allocations: 3.781 kB / 4.35 GB, free: 80.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=418) (initialization): time 0.2246/9.764, allocations: 81.13 MB / 4.43 GB, free: 75.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001895/9.764, allocations: 272.2 kB / 4.43 GB, free: 74.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/9.764, allocations: 3.531 kB / 4.43 GB, free: 74.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4468/10.21, allocations: 104.1 MB / 4.532 GB, free: 81.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00281/10.21, allocations: 0.5533 MB / 4.532 GB, free: 81.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1192/10.33, allocations: 61.82 MB / 4.592 GB, free: 70.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02344/10.36, allocations: 4.428 MB / 4.597 GB, free: 70.56 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005262/10.36, allocations: 0.6368 MB / 4.597 GB, free: 70.56 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/10.36, allocations: 3.625 kB / 4.597 GB, free: 70.56 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.227/10.59, allocations: 80.84 MB / 4.676 GB, free: 35.81 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/10.59, allocations: 4 kB / 4.676 GB, free: 35.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4662/11.06, allocations: 104.7 MB / 4.779 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/11.06, allocations: 0.5343 MB / 4.779 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1145/11.17, allocations: 61.82 MB / 4.839 GB, free: 64.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02204/11.19, allocations: 4.416 MB / 4.844 GB, free: 61.65 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005027/11.2, allocations: 0.6204 MB / 4.844 GB, free: 61.33 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.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 (250): * Single equations (assignments): 230 * 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.008979/11.21, allocations: 0.9318 MB / 4.845 GB, free: 60.55 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003793/11.21, allocations: 187.2 kB / 4.845 GB, free: 60.45 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.374/11.59, allocations: 75.81 MB / 4.92 GB, free: 76.62 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1202/11.71, allocations: 69.96 MB / 4.988 GB, free: 66.54 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-05/11.71, allocations: 11.28 kB / 4.988 GB, free: 66.54 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001318/11.71, allocations: 21.23 kB / 4.988 GB, free: 66.54 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2065/11.91, allocations: 124.8 MB / 5.11 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-05/11.91, allocations: 11.7 kB / 5.11 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02864/11.94, allocations: 5.939 MB / 5.116 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2382/12.18, allocations: 1.677 MB / 5.117 GB, free: 94.01 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004816/12.19, allocations: 429.9 kB / 5.118 GB, free: 94.01 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02123/12.21, allocations: 30.66 MB / 5.148 GB, free: 70.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/12.21, allocations: 12.97 kB / 5.148 GB, free: 70.31 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1388/12.35, allocations: 57.76 MB / 5.204 GB, free: 67.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0083/12.35, allocations: 2.663 MB / 5.207 GB, free: 66.44 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004909/12.36, allocations: 107.6 kB / 5.207 GB, free: 66.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02221/12.38, allocations: 4.384 MB / 5.211 GB, free: 66.32 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005067/12.39, allocations: 0.6843 MB / 5.212 GB, free: 66.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004526/12.39, allocations: 430.3 kB / 5.212 GB, free: 66.23 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007054/12.39, allocations: 0.5171 MB / 5.213 GB, free: 66.01 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.1e-07/12.39, allocations: 0 / 5.213 GB, free: 66.01 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02278/12.41, allocations: 4.611 MB / 5.217 GB, free: 65.77 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 (377): * Single equations (assignments): 315 * 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.01033/12.42, allocations: 1.344 MB / 5.218 GB, free: 65.55 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.1378/12.56, allocations: 60.31 MB / 5.277 GB, free: 43.35 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.795e-05/12.56, allocations: 1.438 kB / 5.277 GB, free: 43.35 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.04541/12.61, allocations: 22.81 MB / 5.3 GB, free: 24.27 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01321/12.62, allocations: 1.005 MB / 5.301 GB, free: 23.53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3128/12.93, allocations: 31.69 MB / 5.331 GB, free: 84.43 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002346/12.94, allocations: 2.709 MB / 5.334 GB, free: 83.66 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01627/12.95, allocations: 4.303 MB / 5.338 GB, free: 83.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01182/12.96, allocations: 0.8074 MB / 5.339 GB, free: 83.6 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/12.96, allocations: 0 / 5.339 GB, free: 83.6 MB / 0.5573 GB Notification: Performance of Templates: time 1.092/14.06, allocations: 0.5123 GB / 5.851 GB, free: 74.36 MB / 0.5573 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)