Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 95.09 kB / 16.3 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 182 kB / 17.19 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.4 MB / 223.4 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3133/0.3133, allocations: 48.79 MB / 320.4 MB, free: 11.31 MB / 270.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 2000 Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005101/0.0005106, allocations: 13.78 kB / 391.1 MB, free: 50.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1188/0.1194, allocations: 60.27 MB / 451.4 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B): time 0.03344/0.1528, allocations: 32.12 MB / 483.5 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01515/0.168, allocations: 10.75 MB / 494.3 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008408/0.1689, allocations: 15.88 kB / 494.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008012/0.1697, allocations: 207 kB / 494.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001221/0.171, allocations: 410.7 kB / 494.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01509/0.1861, allocations: 4.18 MB / 499.1 MB, free: 9.789 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005463/0.1915, allocations: 4.15 MB / 0.4914 GB, free: 5.629 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003634/0.1952, allocations: 2.094 MB / 0.4935 GB, free: 3.516 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003972/0.1992, allocations: 2.016 MB / 0.4954 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004834/0.204, allocations: 2.499 MB / 0.4979 GB, free: 14.99 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00153/0.2056, allocations: 272 kB / 0.4981 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01237/0.218, allocations: 6.505 MB / 0.5045 GB, free: 8.215 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002873/0.2209, allocations: 1.169 MB / 0.5056 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.2225, allocations: 400.8 kB / 0.506 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0111/0.2336, allocations: 5.574 MB / 0.5115 GB, free: 1.059 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2336, allocations: 0 / 0.5115 GB, free: 1.059 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2336, allocations: 4 kB / 0.5115 GB, free: 1.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001076/0.2337, allocations: 4 kB / 0.5115 GB, free: 1.051 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.02932/0.2631, allocations: 6.658 MB / 0.518 GB, free: 10.33 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.813e-05/0.2632, allocations: 15.95 kB / 0.518 GB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006527/0.2697, allocations: 0.5522 MB / 0.5185 GB, free: 9.762 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006448/0.2762, allocations: 1.65 MB / 0.5201 GB, free: 8.066 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003242/0.2795, allocations: 1.071 MB / 0.5212 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001605/0.2811, allocations: 175.9 kB / 0.5213 GB, free: 6.773 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2899/0.571, allocations: 12.43 MB / 0.5335 GB, free: 78.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.052e-05/0.5712, allocations: 0 / 0.5335 GB, free: 78.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006892/0.5719, allocations: 70.59 kB / 0.5335 GB, free: 78.2 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.572, allocations: 95.31 kB / 0.5336 GB, free: 78.19 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.054/0.626, allocations: 21 MB / 0.5542 GB, free: 71.07 MB / 414.1 MB 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.04792/0.674, allocations: 33.19 MB / 0.5866 GB, free: 36.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02236/0.6964, allocations: 10.18 MB / 0.5965 GB, free: 26.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1507/0.8472, allocations: 76.61 MB / 0.6713 GB, free: 5.504 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.769e-05/0.8473, allocations: 56.5 kB / 0.6714 GB, free: 5.441 MB / 478.1 MB Notification: Performance of pre-optimization done (n=192): time 4.418e-06/0.8473, allocations: 4 kB / 0.6714 GB, free: 5.438 MB / 478.1 MB Notification: Performance of matching and sorting (n=193): time 0.1269/0.9742, allocations: 41.42 MB / 0.7118 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.603e-05/0.9743, allocations: 81.34 kB / 0.7119 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007783/0.9751, allocations: 0.4989 MB / 0.7124 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001804/0.9769, allocations: 57.7 kB / 0.7124 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005164/0.9774, allocations: 0.5164 MB / 0.7129 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002181/0.9796, allocations: 0.6678 MB / 0.7136 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001455/0.9811, allocations: 36 kB / 0.7136 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002872/0.9814, allocations: 414.7 kB / 0.714 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02059/1.002, allocations: 8.318 MB / 0.7221 GB, free: 1.277 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2424/1.244, allocations: 8.524 MB / 0.7305 GB, free: 186.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01918/1.264, allocations: 7.156 MB / 0.7375 GB, free: 184.5 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/1.264, allocations: 1.312 kB / 0.7375 GB, free: 184.5 MB / 0.5137 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.1046/1.368, allocations: 38.74 MB / 0.7753 GB, free: 157.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002525/1.369, allocations: 1.313 MB / 0.7766 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/1.369, allocations: 4 kB / 0.7766 GB, free: 155.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1406/1.509, allocations: 57.64 MB / 0.8329 GB, free: 98.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/1.511, allocations: 313.9 kB / 0.8332 GB, free: 97.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05337/1.564, allocations: 24.31 MB / 0.8569 GB, free: 73.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009939/1.574, allocations: 1.994 MB / 0.8589 GB, free: 71.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001877/1.576, allocations: 319.4 kB / 0.8592 GB, free: 71.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/1.576, allocations: 4 kB / 0.8592 GB, free: 71.25 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1016/1.678, allocations: 38.58 MB / 0.8968 GB, free: 32.63 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.66e-05/1.678, allocations: 7.953 kB / 0.8968 GB, free: 32.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3659/2.044, allocations: 57.63 MB / 0.9531 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/2.045, allocations: 300.4 kB / 0.9534 GB, free: 164.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0546/2.1, allocations: 24.31 MB / 0.9772 GB, free: 140.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009704/2.109, allocations: 1.988 MB / 0.9791 GB, free: 138.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001347/2.111, allocations: 315.4 kB / 0.9794 GB, free: 138 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (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 (121): * Single equations (assignments): 120 * 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 {10 89} Notification: Performance of prepare postOptimizeDAE: time 0.002063/2.113, allocations: 0.558 MB / 0.9799 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00073/2.113, allocations: 112.1 kB / 0.98 GB, free: 137.4 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04939/2.163, allocations: 35.06 MB / 1.014 GB, free: 102.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04669/2.21, allocations: 33.41 MB / 1.047 GB, free: 68.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/2.21, allocations: 8 kB / 1.047 GB, free: 68.88 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-05/2.21, allocations: 17.7 kB / 1.047 GB, free: 68.86 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2857/2.495, allocations: 54.92 MB / 1.101 GB, free: 182 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.794e-05/2.495, allocations: 4.312 kB / 1.101 GB, free: 182 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01307/2.509, allocations: 2.453 MB / 1.103 GB, free: 182 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004745/2.513, allocations: 1.143 MB / 1.104 GB, free: 182 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002482/2.516, allocations: 206.4 kB / 1.104 GB, free: 182 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009912/2.526, allocations: 6.336 MB / 1.11 GB, free: 179.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/2.526, allocations: 8.219 kB / 1.11 GB, free: 179.3 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06213/2.588, allocations: 25.86 MB / 1.136 GB, free: 168 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004332/2.592, allocations: 1.222 MB / 1.137 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002141/2.594, allocations: 59.97 kB / 1.137 GB, free: 166.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01039/2.605, allocations: 1.953 MB / 1.139 GB, free: 164.8 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002044/2.607, allocations: 333 kB / 1.139 GB, free: 164.4 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002079/2.609, allocations: 199.6 kB / 1.139 GB, free: 164.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004409/2.61, allocations: 350.8 kB / 1.14 GB, free: 163.9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/2.61, allocations: 0 / 1.14 GB, free: 163.9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01083/2.62, allocations: 2.601 MB / 1.142 GB, free: 161.4 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 11 (Mbal,hex.p,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]) * Number of discrete variables: 22 ($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.region3boundary,$cse13.region3boundary) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 13 * 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: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006009/2.626, allocations: 1.044 MB / 1.143 GB, free: 160.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.06218/2.689, allocations: 27.41 MB / 1.17 GB, free: 133 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.329e-05/2.689, allocations: 3.938 kB / 1.17 GB, free: 133 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.02282/2.711, allocations: 9.464 MB / 1.179 GB, free: 123.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004436/2.716, allocations: 480.8 kB / 1.18 GB, free: 123.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02849/2.744, allocations: 13.29 MB / 1.193 GB, free: 109.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/2.746, allocations: 1.641 MB / 1.194 GB, free: 108.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006801/2.753, allocations: 2.455 MB / 1.197 GB, free: 105.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004316/2.757, allocations: 398.6 kB / 1.197 GB, free: 105.2 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/2.757, allocations: 0 / 1.197 GB, free: 105.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.4265/3.183, allocations: 259.3 MB / 1.45 GB, free: 29.04 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe 2>&1) Environment - environmentSimulation: