Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.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_D,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008578/0.0008575, allocations: 87.41 kB / 16.31 MB, free: 6.453 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.0007656/0.0007656, allocations: 182.4 kB / 17.21 MB, free: 6.324 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.499/1.499, allocations: 205.4 MB / 223.4 MB, free: 5.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.417/0.417, allocations: 48.78 MB / 320.4 MB, free: 3.816 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.0007449/0.0007453, allocations: 20 kB / 391.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1499, allocations: 60.26 MB / 451.4 MB, free: 1.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D): time 0.2266/0.3766, allocations: 35.4 MB / 486.8 MB, free: 27.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01322/0.3899, allocations: 11.65 MB / 498.5 MB, free: 19.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007574/0.3907, allocations: 11.12 kB / 498.5 MB, free: 19.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007134/0.3914, allocations: 198 kB / 498.7 MB, free: 19.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001244/0.3926, allocations: 0.5079 MB / 499.2 MB, free: 19.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01484/0.4075, allocations: 4.128 MB / 0.4915 GB, free: 17.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005664/0.4132, allocations: 6.163 MB / 0.4976 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.4159, allocations: 2.094 MB / 0.4996 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003611/0.4195, allocations: 2.062 MB / 0.5016 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004744/0.4243, allocations: 2.797 MB / 0.5043 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00142/0.4258, allocations: 271.5 kB / 0.5046 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01485/0.4406, allocations: 6.333 MB / 0.5108 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00274/0.4434, allocations: 1.255 MB / 0.512 GB, free: 4.508 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001468/0.4449, allocations: 400.8 kB / 0.5124 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007988/0.4529, allocations: 5.593 MB / 0.5179 GB, free: 14.5 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4529, allocations: 4 kB / 0.5179 GB, free: 14.5 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.4529, allocations: 0 / 0.5179 GB, free: 14.5 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.247e-05/0.453, allocations: 0 / 0.5179 GB, free: 14.5 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.02393/0.4769, allocations: 6.674 MB / 0.5244 GB, free: 7.766 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.477, allocations: 12.02 kB / 0.5244 GB, free: 7.754 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004043/0.481, allocations: 0.5561 MB / 0.5249 GB, free: 7.195 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003975/0.485, allocations: 1.662 MB / 0.5266 GB, free: 5.488 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002252/0.4873, allocations: 1.059 MB / 0.5276 GB, free: 4.379 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000781/0.4881, allocations: 179.8 kB / 0.5278 GB, free: 4.203 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02844/0.5165, allocations: 12.46 MB / 0.5399 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.5166, allocations: 0 / 0.5399 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000535/0.5171, allocations: 79.94 kB / 0.54 GB, free: 7.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.128e-05/0.5172, allocations: 95.41 kB / 0.5401 GB, free: 7.535 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0466/0.5638, allocations: 21.02 MB / 0.5606 GB, free: 2.492 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.05379/0.6177, allocations: 33.2 MB / 0.593 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0234/0.6411, allocations: 10.17 MB / 0.603 GB, free: 3.816 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01766/0.6588, allocations: 8.005 MB / 0.6108 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3616/1.02, allocations: 76.61 MB / 0.6856 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.678e-05/1.021, allocations: 55.92 kB / 0.6857 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=192): time 4.508e-06/1.021, allocations: 6.297 kB / 0.6857 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=193): time 0.09758/1.118, allocations: 41.73 MB / 0.7264 GB, free: 86.25 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/1.118, allocations: 73.06 kB / 0.7265 GB, free: 86.17 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005162/1.119, allocations: 0.5126 MB / 0.727 GB, free: 85.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001414/1.12, allocations: 65.7 kB / 0.7271 GB, free: 85.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/1.12, allocations: 0.5078 MB / 0.7276 GB, free: 85.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001282/1.122, allocations: 0.6656 MB / 0.7282 GB, free: 84.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005887/1.122, allocations: 32 kB / 0.7282 GB, free: 84.38 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001132/1.122, allocations: 414.7 kB / 0.7286 GB, free: 83.97 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01589/1.138, allocations: 8.353 MB / 0.7368 GB, free: 75.61 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01644/1.155, allocations: 8.561 MB / 0.7451 GB, free: 66.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01485/1.17, allocations: 7.182 MB / 0.7522 GB, free: 59.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/1.17, allocations: 4 kB / 0.7522 GB, free: 59.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.09297/1.263, allocations: 38.8 MB / 0.7901 GB, free: 20.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.64e-05/1.263, allocations: 197 kB / 0.7902 GB, free: 20.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/1.263, allocations: 0 / 0.7902 GB, free: 20.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3598/1.623, allocations: 57.63 MB / 0.8465 GB, free: 173 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001605/1.624, allocations: 327.3 kB / 0.8468 GB, free: 173 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05575/1.68, allocations: 24.32 MB / 0.8706 GB, free: 163.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009526/1.69, allocations: 2.007 MB / 0.8725 GB, free: 161.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001375/1.691, allocations: 315.4 kB / 0.8728 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/1.691, allocations: 5.891 kB / 0.8728 GB, free: 161.3 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09045/1.782, allocations: 38.63 MB / 0.9106 GB, free: 122.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/1.782, allocations: 4 kB / 0.9106 GB, free: 122.7 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1293/1.911, allocations: 57.64 MB / 0.9669 GB, free: 65.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/1.913, allocations: 311.9 kB / 0.9672 GB, free: 64.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05147/1.964, allocations: 24.32 MB / 0.9909 GB, free: 40.38 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009321/1.973, allocations: 2.003 MB / 0.9929 GB, free: 38.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001211/1.975, allocations: 319.4 kB / 0.9932 GB, free: 38.08 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.001951/1.977, allocations: 0.5534 MB / 0.9937 GB, free: 37.52 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007304/1.977, allocations: 116 kB / 0.9938 GB, free: 37.46 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2893/2.267, allocations: 35.12 MB / 1.028 GB, free: 170 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05364/2.32, allocations: 33.47 MB / 1.061 GB, free: 158.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/2.32, allocations: 4 kB / 1.061 GB, free: 158 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.832e-05/2.32, allocations: 10.73 kB / 1.061 GB, free: 158 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06691/2.387, allocations: 54.97 MB / 1.114 GB, free: 102.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.119e-05/2.387, allocations: 8.094 kB / 1.114 GB, free: 102.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01103/2.398, allocations: 2.458 MB / 1.117 GB, free: 100.1 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003813/2.402, allocations: 1.158 MB / 1.118 GB, free: 98.99 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001772/2.404, allocations: 199.5 kB / 1.118 GB, free: 98.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007855/2.412, allocations: 6.06 MB / 1.124 GB, free: 92.65 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/2.412, allocations: 7.953 kB / 1.124 GB, free: 92.64 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05554/2.468, allocations: 25.72 MB / 1.149 GB, free: 66.81 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003303/2.471, allocations: 1.228 MB / 1.15 GB, free: 65.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001492/2.472, allocations: 55.98 kB / 1.151 GB, free: 65.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00872/2.481, allocations: 1.972 MB / 1.152 GB, free: 63.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001268/2.482, allocations: 325 kB / 1.153 GB, free: 63.21 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001086/2.484, allocations: 207.5 kB / 1.153 GB, free: 63.01 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003883/2.484, allocations: 350.8 kB / 1.153 GB, free: 62.67 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/2.484, allocations: 0 / 1.153 GB, free: 62.67 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.00819/2.492, allocations: 2.612 MB / 1.156 GB, free: 60.12 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.004629/2.497, allocations: 1.028 MB / 1.157 GB, free: 59.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.05421/2.551, allocations: 27.5 MB / 1.184 GB, free: 31.69 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/2.551, allocations: 0 / 1.184 GB, free: 31.69 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.01815/2.569, allocations: 9.5 MB / 1.193 GB, free: 22.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00334/2.573, allocations: 0.4959 MB / 1.193 GB, free: 21.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.192/2.765, allocations: 13.28 MB / 1.206 GB, free: 168.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009408/2.766, allocations: 1.601 MB / 1.208 GB, free: 167.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.005761/2.771, allocations: 2.466 MB / 1.21 GB, free: 167.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002813/2.774, allocations: 401.6 kB / 1.211 GB, free: 167.3 MB / 0.5137 GB Notification: Performance of SimCode: time 8.31e-07/2.774, allocations: 0 / 1.211 GB, free: 167.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.4301/3.204, allocations: 259.5 MB / 1.464 GB, free: 124 MB / 0.5137 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.makefile Environment - environmentSimulation: (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.pipe 2>&1) Environment - environmentSimulation: