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.001195/0.001195, allocations: 89.39 kB / 16.32 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.001442/0.001442, allocations: 176.2 kB / 17.21 MB, free: 6.328 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.509/1.509, allocations: 205.4 MB / 223.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4406/0.4406, allocations: 48.78 MB / 320.4 MB, free: 3.828 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.0006031/0.0006035, allocations: 20 kB / 391.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1138, allocations: 60.25 MB / 451.4 MB, free: 1.914 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B): time 0.2429/0.3567, allocations: 35.39 MB / 486.8 MB, free: 27.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01351/0.3703, allocations: 11.65 MB / 498.5 MB, free: 19.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008152/0.3712, allocations: 9.75 kB / 498.5 MB, free: 19.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000728/0.3719, allocations: 190.4 kB / 498.7 MB, free: 19.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.3733, allocations: 0.5111 MB / 499.2 MB, free: 19.36 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01467/0.388, allocations: 4.129 MB / 0.4915 GB, free: 17.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005825/0.3938, allocations: 6.152 MB / 0.4975 GB, free: 13.31 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003547/0.3974, allocations: 2.094 MB / 0.4996 GB, free: 11.89 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004441/0.4019, allocations: 2.053 MB / 0.5016 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005779/0.4077, allocations: 2.792 MB / 0.5043 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00237/0.4101, allocations: 270.8 kB / 0.5046 GB, free: 9.383 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/0.4263, allocations: 6.342 MB / 0.5108 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003286/0.4296, allocations: 1.259 MB / 0.512 GB, free: 4.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002497/0.4321, allocations: 392.9 kB / 0.5124 GB, free: 4.152 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01114/0.4433, allocations: 5.589 MB / 0.5178 GB, free: 14.55 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.4433, allocations: 0 / 0.5178 GB, free: 14.55 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4433, allocations: 0 / 0.5178 GB, free: 14.55 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.647e-05/0.4434, allocations: 0 / 0.5178 GB, free: 14.55 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.02515/0.4686, allocations: 6.674 MB / 0.5243 GB, free: 7.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.4686, allocations: 12.02 kB / 0.5243 GB, free: 7.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004659/0.4733, allocations: 0.5522 MB / 0.5249 GB, free: 7.25 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004863/0.4782, allocations: 1.658 MB / 0.5265 GB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00307/0.4813, allocations: 1.063 MB / 0.5275 GB, free: 4.434 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001486/0.4828, allocations: 171.9 kB / 0.5277 GB, free: 4.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02947/0.5123, allocations: 12.44 MB / 0.5399 GB, free: 7.781 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.947e-05/0.5124, allocations: 3.938 kB / 0.5399 GB, free: 7.777 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007273/0.5131, allocations: 71.95 kB / 0.5399 GB, free: 7.707 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001026/0.5132, allocations: 102.7 kB / 0.54 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05305/0.5663, allocations: 20.99 MB / 0.5605 GB, free: 2.594 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.05418/0.6205, allocations: 33.19 MB / 0.5929 GB, free: 14.11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02602/0.6466, allocations: 10.16 MB / 0.6029 GB, free: 3.941 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01755/0.6641, allocations: 7.993 MB / 0.6107 GB, free: 11.94 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3582/1.022, allocations: 76.6 MB / 0.6855 GB, free: 119 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.19e-05/1.023, allocations: 58.16 kB / 0.6855 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=192): time 5.821e-06/1.023, allocations: 0 / 0.6855 GB, free: 118.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=193): time 0.1052/1.128, allocations: 41.54 MB / 0.7261 GB, free: 86.48 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/1.128, allocations: 73.41 kB / 0.7262 GB, free: 86.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006625/1.128, allocations: 0.5014 MB / 0.7267 GB, free: 85.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001841/1.13, allocations: 57.7 kB / 0.7267 GB, free: 85.83 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003041/1.131, allocations: 0.5174 MB / 0.7272 GB, free: 85.31 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002242/1.133, allocations: 0.6616 MB / 0.7279 GB, free: 84.65 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/1.135, allocations: 36 kB / 0.7279 GB, free: 84.62 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00021/1.135, allocations: 414.7 kB / 0.7283 GB, free: 84.2 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01686/1.152, allocations: 8.322 MB / 0.7364 GB, free: 75.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01704/1.169, allocations: 8.537 MB / 0.7448 GB, free: 67.29 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01549/1.184, allocations: 7.153 MB / 0.7517 GB, free: 60.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.133e-05/1.184, allocations: 0 / 0.7517 GB, free: 60.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.09782/1.282, allocations: 38.74 MB / 0.7896 GB, free: 21.38 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.751e-05/1.282, allocations: 195.7 kB / 0.7898 GB, free: 21.14 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/1.282, allocations: 5.094 kB / 0.7898 GB, free: 21.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3689/1.651, allocations: 57.64 MB / 0.8461 GB, free: 173.4 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/1.653, allocations: 312.9 kB / 0.8464 GB, free: 173.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05476/1.708, allocations: 24.31 MB / 0.8701 GB, free: 164.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009851/1.718, allocations: 1.991 MB / 0.872 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001956/1.72, allocations: 323.4 kB / 0.8723 GB, free: 161.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/1.72, allocations: 4 kB / 0.8724 GB, free: 161.8 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09448/1.814, allocations: 38.58 MB / 0.91 GB, free: 123.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.73e-05/1.814, allocations: 0.6562 kB / 0.91 GB, free: 123.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1308/1.945, allocations: 57.64 MB / 0.9663 GB, free: 65.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.946, allocations: 291.7 kB / 0.9666 GB, free: 65.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05175/1.998, allocations: 24.32 MB / 0.9903 GB, free: 40.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008772/2.007, allocations: 1.991 MB / 0.9923 GB, free: 38.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/2.008, allocations: 316.7 kB / 0.9926 GB, free: 38.59 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.002155/2.01, allocations: 0.5553 MB / 0.9931 GB, free: 38.02 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008601/2.011, allocations: 109.6 kB / 0.9932 GB, free: 37.97 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.263/2.274, allocations: 35.06 MB / 1.027 GB, free: 170.6 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05778/2.332, allocations: 33.42 MB / 1.06 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.317e-05/2.332, allocations: 7.125 kB / 1.06 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.252e-05/2.332, allocations: 10.64 kB / 1.06 GB, free: 158.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06507/2.397, allocations: 54.92 MB / 1.114 GB, free: 103.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.18e-05/2.397, allocations: 4 kB / 1.114 GB, free: 103.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01134/2.409, allocations: 2.45 MB / 1.116 GB, free: 100.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003858/2.413, allocations: 1.151 MB / 1.117 GB, free: 99.67 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001791/2.414, allocations: 199.5 kB / 1.117 GB, free: 99.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007526/2.422, allocations: 6.072 MB / 1.123 GB, free: 93.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.553e-06/2.422, allocations: 11.89 kB / 1.123 GB, free: 93.31 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05525/2.477, allocations: 25.62 MB / 1.148 GB, free: 67.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003126/2.48, allocations: 1.228 MB / 1.15 GB, free: 66.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/2.482, allocations: 51.98 kB / 1.15 GB, free: 66.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008483/2.49, allocations: 1.959 MB / 1.152 GB, free: 64.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00131/2.492, allocations: 328.9 kB / 1.152 GB, free: 63.98 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001143/2.493, allocations: 199.6 kB / 1.152 GB, free: 63.79 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003763/2.493, allocations: 354.8 kB / 1.152 GB, free: 63.44 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.112e-06/2.493, allocations: 4 kB / 1.152 GB, free: 63.44 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008014/2.501, allocations: 2.606 MB / 1.155 GB, free: 60.9 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.004827/2.506, allocations: 1.039 MB / 1.156 GB, free: 60.02 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.05524/2.561, allocations: 27.41 MB / 1.183 GB, free: 32.56 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/2.561, allocations: 0 / 1.183 GB, free: 32.56 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.019/2.58, allocations: 9.469 MB / 1.192 GB, free: 23.08 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004518/2.585, allocations: 0.4905 MB / 1.192 GB, free: 22.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2146/2.8, allocations: 13.29 MB / 1.205 GB, free: 168.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009278/2.801, allocations: 1.601 MB / 1.207 GB, free: 167.8 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006329/2.807, allocations: 2.462 MB / 1.209 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002947/2.81, allocations: 398.7 kB / 1.21 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of SimCode: time 1.042e-06/2.81, allocations: 0 / 1.21 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of Templates: time 0.4623/3.272, allocations: 259.3 MB / 1.463 GB, free: 125.1 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: