Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.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_A,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008941/0.0008942, allocations: 89.11 kB / 16.32 MB, free: 6.449 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.001083/0.001083, allocations: 178.7 kB / 17.21 MB, free: 6.32 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.534/1.534, allocations: 205.4 MB / 223.4 MB, free: 5.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4293/0.4293, allocations: 48.77 MB / 320.4 MB, free: 3.82 MB / 254.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.0004955/0.0004956, allocations: 18.97 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1135/0.114, allocations: 60.26 MB / 451.4 MB, free: 1.891 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A): time 0.2407/0.3547, allocations: 35.4 MB / 486.8 MB, free: 27.88 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01342/0.3681, allocations: 11.66 MB / 498.5 MB, free: 19.69 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008728/0.3691, allocations: 10.16 kB / 498.5 MB, free: 19.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007597/0.3698, allocations: 189.8 kB / 498.7 MB, free: 19.59 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.3711, allocations: 0.5122 MB / 499.2 MB, free: 19.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01553/0.3866, allocations: 4.129 MB / 0.4915 GB, free: 17.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006137/0.3928, allocations: 6.162 MB / 0.4975 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0039/0.3967, allocations: 2.093 MB / 0.4996 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005174/0.4019, allocations: 2.051 MB / 0.5016 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006022/0.408, allocations: 2.801 MB / 0.5043 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001914/0.4099, allocations: 270.5 kB / 0.5046 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01405/0.424, allocations: 6.34 MB / 0.5108 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002762/0.4268, allocations: 1.251 MB / 0.512 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001557/0.4284, allocations: 404.8 kB / 0.5124 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008662/0.437, allocations: 5.593 MB / 0.5179 GB, free: 14.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.4371, allocations: 0 / 0.5179 GB, free: 14.48 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4371, allocations: 0 / 0.5179 GB, free: 14.48 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.966e-05/0.4372, allocations: 0 / 0.5179 GB, free: 14.48 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.02517/0.4623, allocations: 6.682 MB / 0.5244 GB, free: 7.742 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.4624, allocations: 12.02 kB / 0.5244 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004506/0.4669, allocations: 0.5521 MB / 0.5249 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005254/0.4722, allocations: 1.659 MB / 0.5265 GB, free: 5.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002855/0.4751, allocations: 1.067 MB / 0.5276 GB, free: 4.355 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001365/0.4764, allocations: 171.9 kB / 0.5278 GB, free: 4.188 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0313/0.5078, allocations: 12.46 MB / 0.5399 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.442e-05/0.5079, allocations: 0 / 0.5399 GB, free: 7.684 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001516/0.5094, allocations: 75.89 kB / 0.54 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/0.5096, allocations: 95.48 kB / 0.5401 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05086/0.5604, allocations: 21.03 MB / 0.5606 GB, free: 2.469 MB / 430.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.05311/0.6136, allocations: 33.2 MB / 0.593 GB, free: 13.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02548/0.6391, allocations: 10.17 MB / 0.603 GB, free: 3.797 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0183/0.6574, allocations: 8.009 MB / 0.6108 GB, free: 11.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3668/1.024, allocations: 76.61 MB / 0.6856 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/1.024, allocations: 53.03 kB / 0.6857 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=192): time 5.29e-06/1.024, allocations: 4 kB / 0.6857 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=193): time 0.1042/1.129, allocations: 41.73 MB / 0.7264 GB, free: 86.24 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/1.129, allocations: 76.12 kB / 0.7265 GB, free: 86.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006017/1.129, allocations: 0.5087 MB / 0.727 GB, free: 85.64 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001393/1.131, allocations: 65.7 kB / 0.727 GB, free: 85.57 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002284/1.131, allocations: 0.5088 MB / 0.7275 GB, free: 85.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/1.133, allocations: 0.6693 MB / 0.7282 GB, free: 84.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009975/1.134, allocations: 36 kB / 0.7282 GB, free: 84.36 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.134, allocations: 410.7 kB / 0.7286 GB, free: 83.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01603/1.15, allocations: 8.349 MB / 0.7368 GB, free: 75.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01698/1.167, allocations: 8.564 MB / 0.7451 GB, free: 66.97 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01598/1.183, allocations: 7.183 MB / 0.7522 GB, free: 59.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.238e-05/1.183, allocations: 0 / 0.7522 GB, free: 59.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.1002/1.283, allocations: 38.8 MB / 0.79 GB, free: 20.97 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.218e-05/1.283, allocations: 198 kB / 0.7902 GB, free: 20.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/1.283, allocations: 5.781 kB / 0.7902 GB, free: 20.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3646/1.648, allocations: 57.63 MB / 0.8465 GB, free: 173.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/1.649, allocations: 324.6 kB / 0.8468 GB, free: 173.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05508/1.704, allocations: 24.32 MB / 0.8706 GB, free: 163.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009565/1.714, allocations: 2.011 MB / 0.8725 GB, free: 161.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002058/1.716, allocations: 315.4 kB / 0.8728 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/1.716, allocations: 4 kB / 0.8728 GB, free: 161.2 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09817/1.814, allocations: 38.64 MB / 0.9106 GB, free: 122.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.697e-05/1.814, allocations: 4 kB / 0.9106 GB, free: 122.6 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1293/1.944, allocations: 57.63 MB / 0.9669 GB, free: 64.94 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/1.945, allocations: 316.4 kB / 0.9672 GB, free: 64.64 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05298/1.998, allocations: 24.31 MB / 0.9909 GB, free: 40.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009323/2.007, allocations: 2.005 MB / 0.9929 GB, free: 38.31 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002059/2.01, allocations: 309.8 kB / 0.9932 GB, free: 38.01 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.003137/2.013, allocations: 0.564 MB / 0.9937 GB, free: 37.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001373/2.014, allocations: 111.3 kB / 0.9938 GB, free: 37.39 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.259/2.273, allocations: 35.12 MB / 1.028 GB, free: 170.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05533/2.328, allocations: 33.48 MB / 1.061 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.775e-05/2.329, allocations: 8.656 kB / 1.061 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-05/2.329, allocations: 8.062 kB / 1.061 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07019/2.399, allocations: 54.96 MB / 1.114 GB, free: 102.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.185e-05/2.399, allocations: 8.031 kB / 1.114 GB, free: 102.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01132/2.41, allocations: 2.466 MB / 1.117 GB, free: 100.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003801/2.414, allocations: 1.146 MB / 1.118 GB, free: 98.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001729/2.416, allocations: 203.5 kB / 1.118 GB, free: 98.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007889/2.424, allocations: 6.057 MB / 1.124 GB, free: 92.61 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/2.424, allocations: 11.95 kB / 1.124 GB, free: 92.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0591/2.483, allocations: 25.72 MB / 1.149 GB, free: 66.77 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003668/2.487, allocations: 1.228 MB / 1.15 GB, free: 65.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001754/2.488, allocations: 52.92 kB / 1.151 GB, free: 65.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008879/2.497, allocations: 1.975 MB / 1.152 GB, free: 63.49 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001486/2.499, allocations: 329.5 kB / 1.153 GB, free: 63.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001235/2.5, allocations: 199.6 kB / 1.153 GB, free: 62.97 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004059/2.5, allocations: 358.8 kB / 1.153 GB, free: 62.62 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/2.501, allocations: 0 / 1.153 GB, free: 62.62 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008732/2.509, allocations: 2.602 MB / 1.156 GB, free: 60.08 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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.004771/2.514, allocations: 1.042 MB / 1.157 GB, free: 59.2 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.05462/2.569, allocations: 27.5 MB / 1.184 GB, free: 31.64 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/2.569, allocations: 0 / 1.184 GB, free: 31.64 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01872/2.587, allocations: 9.504 MB / 1.193 GB, free: 22.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004065/2.592, allocations: 0.4949 MB / 1.193 GB, free: 21.65 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2142/2.806, allocations: 13.27 MB / 1.206 GB, free: 168.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/2.807, allocations: 1.603 MB / 1.208 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00663/2.814, allocations: 2.464 MB / 1.21 GB, free: 167.4 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003174/2.817, allocations: 401.5 kB / 1.211 GB, free: 167.4 MB / 0.5137 GB Notification: Performance of SimCode: time 8.01e-07/2.817, allocations: 0 / 1.211 GB, free: 167.4 MB / 0.5137 GB Notification: Performance of Templates: time 0.4736/3.29, allocations: 259.5 MB / 1.464 GB, free: 123.9 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.pipe 2>&1) Environment - environmentSimulation: