Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.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,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 106.4 kB / 17.74 MB, free: 5.359 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.001377/0.001377, allocations: 189.4 kB / 18.68 MB, free: 4.434 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.389/1.389, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2862/0.2862, 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.001649/0.001649, allocations: 67.91 kB / 451.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1111, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph): time 0.2788/0.39, allocations: 39.04 MB / 0.5366 GB, free: 6.965 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01815/0.4081, allocations: 17.62 MB / 0.5538 GB, free: 1.672 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008523/0.4091, allocations: 11.88 kB / 0.5538 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008279/0.4099, allocations: 298.2 kB / 0.5541 GB, free: 1.535 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.4114, allocations: 0.6697 MB / 0.5547 GB, free: 1.199 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01849/0.4299, allocations: 6.697 MB / 0.5613 GB, free: 14.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.01419/0.4441, allocations: 15.44 MB / 0.5763 GB, free: 5.449 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009213/0.4533, allocations: 5.301 MB / 0.5815 GB, free: 1.676 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008162/0.4615, allocations: 4.82 MB / 0.5862 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01257/0.4741, allocations: 6.131 MB / 0.5922 GB, free: 10.11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004722/0.4789, allocations: 1.328 MB / 0.5935 GB, free: 8.777 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01893/0.4978, allocations: 8.282 MB / 0.6016 GB, free: 500 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004952/0.5028, allocations: 3.536 MB / 0.605 GB, free: 12.95 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006653/0.5095, allocations: 3.892 MB / 0.6088 GB, free: 9.043 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02165/0.5312, allocations: 14.97 MB / 0.6235 GB, free: 10.04 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.5312, allocations: 0 / 0.6235 GB, free: 10.04 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.5312, allocations: 0 / 0.6235 GB, free: 10.04 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0001133/0.5313, allocations: 4 kB / 0.6235 GB, free: 10.04 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 885 * Number of variables: 885 Notification: Performance of Generate backend data structure: time 0.06391/0.5952, allocations: 13.52 MB / 0.6367 GB, free: 12.44 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.5953, allocations: 11.89 kB / 0.6367 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01063/0.6059, allocations: 1.301 MB / 0.6379 GB, free: 11.12 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/0.62, allocations: 4.186 MB / 0.642 GB, free: 6.891 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00733/0.6274, allocations: 2.714 MB / 0.6447 GB, free: 4.008 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003038/0.6304, allocations: 351.7 kB / 0.645 GB, free: 3.664 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07336/0.7038, allocations: 26.12 MB / 0.6705 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.834e-05/0.7039, allocations: 0 / 0.6705 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001949/0.7059, allocations: 132 kB / 0.6707 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001593/0.7061, allocations: 174.7 kB / 0.6708 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1238/0.8299, allocations: 45.47 MB / 0.7152 GB, free: 11.64 MB / 0.5606 GB 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.3527/1.183, allocations: 71.95 MB / 0.7855 GB, free: 176.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05931/1.242, allocations: 23.03 MB / 0.808 GB, free: 167.6 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.04147/1.283, allocations: 18 MB / 0.8256 GB, free: 156.8 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1613/1.445, allocations: 93.43 MB / 0.9168 GB, free: 52.98 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001381/1.445, allocations: 88.58 kB / 0.9169 GB, free: 52.89 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=482): time 7.564e-06/1.445, allocations: 0 / 0.9169 GB, free: 52.89 MB / 0.5919 GB Notification: Performance of matching and sorting (n=483): time 0.575/2.02, allocations: 102.6 MB / 1.017 GB, free: 203.8 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/2.02, allocations: 122.4 kB / 1.017 GB, free: 203.7 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007995/2.021, allocations: 0.7032 MB / 1.018 GB, free: 203.3 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.003497/2.024, allocations: 108.6 kB / 1.018 GB, free: 203.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/2.025, allocations: 0.7307 MB / 1.019 GB, free: 202.6 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.003256/2.028, allocations: 1.667 MB / 1.02 GB, free: 201.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005266/2.033, allocations: 1.995 MB / 1.022 GB, free: 200 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.26e-05/2.033, allocations: 361.3 kB / 1.023 GB, free: 199.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0423/2.076, allocations: 18.18 MB / 1.04 GB, free: 189.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04395/2.12, allocations: 18.58 MB / 1.058 GB, free: 171.2 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08048/2.2, allocations: 29.4 MB / 1.087 GB, free: 141.6 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/2.2, allocations: 4 kB / 1.087 GB, free: 141.6 MB / 0.6075 GB Notification: Performance of matching and sorting (n=534) (initialization): time 0.1883/2.388, allocations: 63.06 MB / 1.149 GB, free: 78.46 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.885e-05/2.389, allocations: 9.312 kB / 1.149 GB, free: 78.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/2.389, allocations: 8 kB / 1.149 GB, free: 78.45 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6007/2.989, allocations: 117.1 MB / 1.263 GB, free: 187.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003023/2.992, allocations: 0.7134 MB / 1.264 GB, free: 187.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1593/3.152, allocations: 56.13 MB / 1.319 GB, free: 131 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02225/3.174, allocations: 3.706 MB / 1.322 GB, free: 127.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004501/3.179, allocations: 0.6978 MB / 1.323 GB, free: 126.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04944/3.228, allocations: 18.67 MB / 1.341 GB, free: 107.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04391/3.272, allocations: 18.36 MB / 1.359 GB, free: 89.44 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.07965/3.352, allocations: 28.94 MB / 1.387 GB, free: 60.42 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.867e-05/3.352, allocations: 4 kB / 1.387 GB, free: 60.42 MB / 0.6075 GB Notification: Performance of matching and sorting (n=534) (initialization_lambda0): time 0.412/3.764, allocations: 59.86 MB / 1.446 GB, free: 205.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/3.764, allocations: 7.844 kB / 1.446 GB, free: 205.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/3.764, allocations: 4.719 kB / 1.446 GB, free: 205.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3588/4.123, allocations: 115.5 MB / 1.559 GB, free: 113.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003185/4.126, allocations: 0.7619 MB / 1.559 GB, free: 112.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1541/4.28, allocations: 54.82 MB / 1.613 GB, free: 58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02172/4.302, allocations: 3.704 MB / 1.617 GB, free: 54.3 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003806/4.306, allocations: 0.6939 MB / 1.617 GB, free: 53.6 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 17 (hexFV.fluidState[15].phase,hexFV.fluidState[14].phase,hexFV.fluidState[13].phase,hexFV.fluidState[12].phase,hexFV.fluidState[11].phase,hexFV.fluidState[10].phase,hexFV.fluidState[9].phase,hexFV.fluidState[8].phase,hexFV.fluidState[7].phase,hexFV.fluidState[6].phase,hexFV.fluidState[5].phase,hexFV.fluidState[4].phase,hexFV.fluidState[3].phase,hexFV.fluidState[2].phase,hexFV.fluidState[1].phase,hexFV.heatTransfer.dew.phase,hexFV.heatTransfer.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 136 * Array equations: 1 * 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 {(15,367)} Notification: Performance of prepare postOptimizeDAE: time 0.004883/4.31, allocations: 384.7 kB / 1.618 GB, free: 53.24 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003057/4.314, allocations: 221.3 kB / 1.618 GB, free: 53.12 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3905/4.704, allocations: 71.75 MB / 1.688 GB, free: 200.2 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001508/4.704, allocations: 27.66 kB / 1.688 GB, free: 200.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/4.704, allocations: 4.875 kB / 1.688 GB, free: 200.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007982/4.712, allocations: 2.84 MB / 1.691 GB, free: 199.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005016/4.717, allocations: 113.5 kB / 1.691 GB, free: 199.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02274/4.74, allocations: 3.858 MB / 1.695 GB, free: 198 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005133/4.745, allocations: 0.8819 MB / 1.695 GB, free: 197.3 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.1416/4.887, allocations: 44.82 MB / 1.739 GB, free: 159.1 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.1374/5.024, allocations: 52.54 MB / 1.791 GB, free: 106.5 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0425/5.067, allocations: 18.84 MB / 1.809 GB, free: 87.61 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005354/5.067, allocations: 487 kB / 1.809 GB, free: 87.13 MB / 0.6075 GB Notification: Performance of Backend: time 3.11e-07/5.067, allocations: 2.297 kB / 1.809 GB, free: 87.13 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.1571/5.225, allocations: 49.92 MB / 1.858 GB, free: 37.48 MB / 0.6075 GB Notification: Performance of SimCode: time 0.01023/5.235, allocations: 8.621 MB / 1.867 GB, free: 28.88 MB / 0.6075 GB Notification: Performance of Templates: time 1.262/6.497, allocations: 0.5819 GB / 2.448 GB, free: 106.4 MB / 0.6075 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph.pipe 2>&1)