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.001335/0.001335, allocations: 111 kB / 17.75 MB, free: 5.297 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.001798/0.001798, allocations: 186.5 kB / 18.67 MB, free: 4.383 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.437/1.437, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2712/0.2712, allocations: 48.84 MB / 320.7 MB, free: 11.01 MB / 270.1 MB 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.00165/0.00165, allocations: 67.91 kB / 451.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1159, allocations: 59.16 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D): time 0.2771/0.3931, allocations: 38.06 MB / 0.5356 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0167/0.4098, allocations: 12.5 MB / 0.5478 GB, free: 5.234 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005572/0.4104, allocations: 10.25 kB / 0.5478 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006993/0.4112, allocations: 243.6 kB / 0.548 GB, free: 5.121 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.4123, allocations: 0.5099 MB / 0.5485 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01576/0.4281, allocations: 5.385 MB / 0.5538 GB, free: 3.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007114/0.4352, allocations: 7.251 MB / 0.5609 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003911/0.4391, allocations: 2.443 MB / 0.5633 GB, free: 14.95 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.4433, allocations: 2.35 MB / 0.5656 GB, free: 13.74 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005762/0.4491, allocations: 2.904 MB / 0.5684 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001965/0.4511, allocations: 0.5231 MB / 0.5689 GB, free: 11.92 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/0.4674, allocations: 6.875 MB / 0.5756 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003028/0.4705, allocations: 1.501 MB / 0.5771 GB, free: 7.441 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00399/0.4745, allocations: 1.768 MB / 0.5788 GB, free: 6.125 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.4909, allocations: 8.095 MB / 0.5867 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.491, allocations: 0 / 0.5867 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.491, allocations: 3.938 kB / 0.5867 GB, free: 15.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000107/0.4911, allocations: 0 / 0.5867 GB, free: 15.71 MB / 446.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.03073/0.5218, allocations: 6.506 MB / 0.5931 GB, free: 9.141 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.881e-05/0.5219, allocations: 15.89 kB / 0.5931 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005786/0.5277, allocations: 0.5453 MB / 0.5936 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005027/0.5328, allocations: 1.662 MB / 0.5952 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003114/0.5359, allocations: 0.9422 MB / 0.5962 GB, free: 5.883 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001767/0.5377, allocations: 173.1 kB / 0.5963 GB, free: 5.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03324/0.571, allocations: 11.37 MB / 0.6074 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.144e-05/0.5711, allocations: 0 / 0.6074 GB, free: 10.3 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/0.5726, allocations: 68 kB / 0.6075 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000101/0.5727, allocations: 87.48 kB / 0.6076 GB, free: 10.14 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05552/0.6282, allocations: 18.83 MB / 0.626 GB, free: 7.297 MB / 478.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.05622/0.6845, allocations: 31.97 MB / 0.6572 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02518/0.7097, allocations: 9.106 MB / 0.6661 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01827/0.728, allocations: 6.93 MB / 0.6729 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1595/0.8875, allocations: 76.21 MB / 0.7473 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.994e-05/0.8877, allocations: 60.56 kB / 0.7473 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=192): time 6.082e-06/0.8877, allocations: 0 / 0.7473 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=193): time 0.3896/1.277, allocations: 36.09 MB / 0.7826 GB, free: 195.3 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/1.277, allocations: 71.09 kB / 0.7826 GB, free: 195.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008559/1.278, allocations: 0.5151 MB / 0.7832 GB, free: 195.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001771/1.28, allocations: 58.33 kB / 0.7832 GB, free: 195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003631/1.28, allocations: 0.5165 MB / 0.7837 GB, free: 194.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001967/1.282, allocations: 0.6608 MB / 0.7844 GB, free: 194.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004464/1.287, allocations: 0.8721 MB / 0.7852 GB, free: 193.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.824e-05/1.287, allocations: 349 kB / 0.7855 GB, free: 193.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01813/1.305, allocations: 7.31 MB / 0.7927 GB, free: 191.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01818/1.323, allocations: 7.522 MB / 0.8 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03327/1.357, allocations: 12.29 MB / 0.812 GB, free: 177.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.491e-05/1.357, allocations: 4 kB / 0.812 GB, free: 177.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.1018/1.459, allocations: 31.77 MB / 0.8431 GB, free: 145.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.288e-05/1.459, allocations: 10.97 kB / 0.8431 GB, free: 145.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/1.459, allocations: 7.938 kB / 0.8431 GB, free: 145.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1361/1.595, allocations: 49.58 MB / 0.8915 GB, free: 96.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/1.596, allocations: 300.6 kB / 0.8918 GB, free: 95.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05441/1.651, allocations: 21.24 MB / 0.9125 GB, free: 74.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009317/1.66, allocations: 1.342 MB / 0.9138 GB, free: 73.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/1.662, allocations: 327.4 kB / 0.9141 GB, free: 72.97 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0185/1.68, allocations: 7.646 MB / 0.9216 GB, free: 65.32 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0175/1.698, allocations: 7.474 MB / 0.9289 GB, free: 57.78 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0311/1.729, allocations: 12.21 MB / 0.9408 GB, free: 45.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.315e-05/1.729, allocations: 0 / 0.9408 GB, free: 45.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=220) (initialization_lambda0): time 0.09243/1.822, allocations: 28.92 MB / 0.9691 GB, free: 16.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/1.822, allocations: 4 kB / 0.9691 GB, free: 16.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.822, allocations: 7.984 kB / 0.9691 GB, free: 16.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3824/2.204, allocations: 49.63 MB / 1.018 GB, free: 236.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/2.206, allocations: 286.6 kB / 1.018 GB, free: 236.2 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05944/2.265, allocations: 21.23 MB / 1.039 GB, free: 220.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009117/2.274, allocations: 1.35 MB / 1.04 GB, free: 218.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001716/2.276, allocations: 315.4 kB / 1.04 GB, free: 218.6 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(10,89)} Notification: Performance of prepare postOptimizeDAE: time 0.002807/2.279, allocations: 273.9 kB / 1.04 GB, free: 218.3 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002026/2.281, allocations: 109.8 kB / 1.041 GB, free: 218.3 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05191/2.333, allocations: 32.97 MB / 1.073 GB, free: 185.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.405e-05/2.333, allocations: 7.969 kB / 1.073 GB, free: 185.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/2.333, allocations: 0 / 1.073 GB, free: 185.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00301/2.336, allocations: 1.182 MB / 1.074 GB, free: 184.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001571/2.338, allocations: 51.73 kB / 1.074 GB, free: 184.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009473/2.347, allocations: 1.451 MB / 1.075 GB, free: 182.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001547/2.349, allocations: 321.1 kB / 1.076 GB, free: 182.4 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04655/2.395, allocations: 16 MB / 1.091 GB, free: 166.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05345/2.449, allocations: 21.35 MB / 1.112 GB, free: 145 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01777/2.467, allocations: 7.54 MB / 1.12 GB, free: 137.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000391/2.467, allocations: 358.8 kB / 1.12 GB, free: 137.1 MB / 0.6231 GB Notification: Performance of Backend: time 7.51e-07/2.467, allocations: 0 / 1.12 GB, free: 137.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.05013/2.517, allocations: 18.29 MB / 1.138 GB, free: 119 MB / 0.6231 GB Notification: Performance of SimCode: time 0.005984/2.523, allocations: 4.333 MB / 1.142 GB, free: 114.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.5193/3.042, allocations: 284.7 MB / 1.42 GB, free: 51.32 MB / 0.6231 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_D.makefile (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)