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.001363/0.001362, allocations: 106.4 kB / 17.74 MB, free: 5.34 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.00123/0.001231, allocations: 189.4 kB / 18.67 MB, free: 4.418 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.37/1.37, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2736/0.2736, allocations: 48.84 MB / 320.7 MB, free: 11.03 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.001579/0.001579, allocations: 67.91 kB / 451.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1036, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A): time 0.2548/0.3584, allocations: 38.06 MB / 0.5356 GB, free: 7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01372/0.3722, allocations: 12.49 MB / 0.5478 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005955/0.3728, allocations: 15.66 kB / 0.5478 GB, free: 5.199 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007324/0.3736, allocations: 241.4 kB / 0.548 GB, free: 5.09 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00124/0.3748, allocations: 0.5122 MB / 0.5485 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01719/0.392, allocations: 5.385 MB / 0.5538 GB, free: 3.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007038/0.3991, allocations: 7.246 MB / 0.5609 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003807/0.4029, allocations: 2.443 MB / 0.5633 GB, free: 14.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003939/0.4069, allocations: 2.355 MB / 0.5656 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006125/0.413, allocations: 2.9 MB / 0.5684 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002248/0.4153, allocations: 0.5233 MB / 0.5689 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01615/0.4315, allocations: 6.877 MB / 0.5756 GB, free: 8.633 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00313/0.4346, allocations: 1.505 MB / 0.5771 GB, free: 7.453 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003241/0.4379, allocations: 1.763 MB / 0.5788 GB, free: 6.141 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.4524, allocations: 8.099 MB / 0.5867 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.4524, allocations: 3.984 kB / 0.5867 GB, free: 15.71 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4525, allocations: 0 / 0.5867 GB, free: 15.71 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.323e-05/0.4525, 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.02933/0.4819, allocations: 6.506 MB / 0.5931 GB, free: 9.145 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.482, allocations: 11.89 kB / 0.5931 GB, free: 9.133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003465/0.4854, allocations: 0.5453 MB / 0.5936 GB, free: 8.586 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003761/0.4892, allocations: 1.67 MB / 0.5953 GB, free: 6.875 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002155/0.4914, allocations: 0.9344 MB / 0.5962 GB, free: 5.891 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007435/0.4921, allocations: 176.3 kB / 0.5963 GB, free: 5.719 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03009/0.5222, allocations: 11.37 MB / 0.6074 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.177e-05/0.5223, allocations: 3.938 kB / 0.6074 GB, free: 10.31 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005833/0.5229, allocations: 71.98 kB / 0.6075 GB, free: 10.24 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.788e-05/0.523, allocations: 91.48 kB / 0.6076 GB, free: 10.15 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05144/0.5744, allocations: 18.83 MB / 0.626 GB, free: 7.301 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.05168/0.6262, allocations: 31.96 MB / 0.6572 GB, free: 4.043 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02515/0.6513, allocations: 9.11 MB / 0.6661 GB, free: 10.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01795/0.6693, allocations: 6.938 MB / 0.6729 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1592/0.8285, allocations: 76.21 MB / 0.7473 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.267e-05/0.8286, allocations: 56.5 kB / 0.7473 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=192): time 6.873e-06/0.8287, allocations: 0 / 0.7473 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of matching and sorting (n=193): time 0.3756/1.204, allocations: 36.09 MB / 0.7826 GB, free: 195.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/1.204, allocations: 71.69 kB / 0.7827 GB, free: 195.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006842/1.205, allocations: 0.5101 MB / 0.7832 GB, free: 195 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001361/1.206, allocations: 59.48 kB / 0.7832 GB, free: 195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002849/1.207, allocations: 0.5217 MB / 0.7837 GB, free: 194.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00176/1.208, allocations: 0.6597 MB / 0.7844 GB, free: 194.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00434/1.213, allocations: 0.8795 MB / 0.7852 GB, free: 193.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.213, allocations: 341.4 kB / 0.7855 GB, free: 193.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01829/1.231, allocations: 7.305 MB / 0.7927 GB, free: 191.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01821/1.249, allocations: 7.528 MB / 0.8 GB, free: 188.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03161/1.281, allocations: 12.28 MB / 0.812 GB, free: 177.7 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/1.281, allocations: 4 kB / 0.812 GB, free: 177.7 MB / 0.6075 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.1002/1.381, allocations: 31.77 MB / 0.8431 GB, free: 145.9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/1.381, allocations: 7.906 kB / 0.8431 GB, free: 145.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.381, allocations: 7.938 kB / 0.8431 GB, free: 145.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1365/1.518, allocations: 49.58 MB / 0.8915 GB, free: 96.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001468/1.519, allocations: 299.3 kB / 0.8918 GB, free: 95.93 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05197/1.571, allocations: 21.24 MB / 0.9125 GB, free: 74.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009288/1.581, allocations: 1.338 MB / 0.9138 GB, free: 73.31 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001423/1.582, allocations: 323.4 kB / 0.9141 GB, free: 72.99 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0178/1.6, allocations: 7.652 MB / 0.9216 GB, free: 65.33 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01699/1.617, allocations: 7.472 MB / 0.9289 GB, free: 57.8 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03103/1.648, allocations: 12.21 MB / 0.9408 GB, free: 45.55 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.447e-06/1.648, allocations: 0 / 0.9408 GB, free: 45.55 MB / 0.6075 GB Notification: Performance of matching and sorting (n=220) (initialization_lambda0): time 0.09061/1.739, allocations: 28.93 MB / 0.9691 GB, free: 16.62 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/1.739, allocations: 8 kB / 0.9691 GB, free: 16.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.739, allocations: 2.688 kB / 0.9691 GB, free: 16.61 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3631/2.102, allocations: 49.63 MB / 1.018 GB, free: 236.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00143/2.103, allocations: 291.5 kB / 1.018 GB, free: 236.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05273/2.156, allocations: 21.23 MB / 1.039 GB, free: 220.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008809/2.165, allocations: 1.35 MB / 1.04 GB, free: 218.9 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001252/2.166, 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.001577/2.168, allocations: 270.2 kB / 1.04 GB, free: 218.3 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001228/2.169, allocations: 121.4 kB / 1.041 GB, free: 218.2 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04689/2.216, allocations: 32.95 MB / 1.073 GB, free: 185.4 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.791e-05/2.216, allocations: 11.97 kB / 1.073 GB, free: 185.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/2.216, allocations: 0 / 1.073 GB, free: 185.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002612/2.219, allocations: 1.182 MB / 1.074 GB, free: 184.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009009/2.22, allocations: 43.98 kB / 1.074 GB, free: 184.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008459/2.228, allocations: 1.447 MB / 1.075 GB, free: 182.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/2.229, allocations: 317.1 kB / 1.076 GB, free: 182.4 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04576/2.275, allocations: 16 MB / 1.091 GB, free: 166.4 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05259/2.327, allocations: 21.35 MB / 1.112 GB, free: 145 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01704/2.345, allocations: 7.545 MB / 1.12 GB, free: 137.4 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003991/2.345, allocations: 358.8 kB / 1.12 GB, free: 137.1 MB / 0.6231 GB Notification: Performance of Backend: time 3.3e-07/2.345, allocations: 0 / 1.12 GB, free: 137.1 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.04682/2.392, allocations: 18.29 MB / 1.138 GB, free: 119 MB / 0.6231 GB Notification: Performance of SimCode: time 0.005062/2.397, allocations: 4.336 MB / 1.142 GB, free: 114.7 MB / 0.6231 GB Notification: Performance of Templates: time 0.4633/2.86, allocations: 284.7 MB / 1.42 GB, free: 51.18 MB / 0.6231 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_A.makefile (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)