Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.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.TestFlow1D2phChen_hf,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, 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.00112/0.00112, 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.295/1.295, 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.253/0.253, allocations: 48.84 MB / 320.7 MB, free: 11.02 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.001547/0.001547, allocations: 72.47 kB / 451.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09942/0.101, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf): time 0.2377/0.3387, allocations: 36.12 MB / 0.5337 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01601/0.3548, allocations: 16.38 MB / 0.5497 GB, free: 4.133 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004368/0.3552, allocations: 14.44 kB / 0.5497 GB, free: 4.125 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.3558, allocations: 210.8 kB / 0.5499 GB, free: 4.031 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.3569, allocations: 499 kB / 0.5504 GB, free: 3.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01736/0.3743, allocations: 6.599 MB / 0.5568 GB, free: 2.039 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009569/0.3838, allocations: 9.983 MB / 0.5666 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005208/0.3891, allocations: 3.364 MB / 0.5699 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004647/0.3937, allocations: 3.211 MB / 0.573 GB, free: 8.504 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006707/0.4005, allocations: 4.143 MB / 0.5771 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001625/0.4021, allocations: 0.7842 MB / 0.5778 GB, free: 5.852 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01607/0.4182, allocations: 7.715 MB / 0.5854 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002212/0.4204, allocations: 1.977 MB / 0.5873 GB, free: 15.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003049/0.4235, allocations: 2.193 MB / 0.5894 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01575/0.4393, allocations: 9.917 MB / 0.5991 GB, free: 3.07 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4393, allocations: 4 kB / 0.5991 GB, free: 3.066 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.4393, allocations: 0 / 0.5991 GB, free: 3.066 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.888e-05/0.4394, allocations: 0 / 0.5991 GB, free: 3.066 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.0455/0.4849, allocations: 10 MB / 0.6089 GB, free: 9 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.4849, allocations: 11.89 kB / 0.6089 GB, free: 8.988 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01731/0.5022, allocations: 2.585 MB / 0.6114 GB, free: 6.398 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005633/0.5079, allocations: 2.201 MB / 0.6136 GB, free: 4.156 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002638/0.5106, allocations: 0.9618 MB / 0.6145 GB, free: 3.145 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001859/0.5124, allocations: 199.7 kB / 0.6147 GB, free: 2.949 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04138/0.5538, allocations: 15.27 MB / 0.6296 GB, free: 3.574 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.277e-05/0.5539, allocations: 3.938 kB / 0.6296 GB, free: 3.57 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001342/0.5553, allocations: 72 kB / 0.6297 GB, free: 3.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.252e-05/0.5553, allocations: 44 kB / 0.6297 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0735/0.6288, allocations: 28.35 MB / 0.6574 GB, free: 7.066 MB / 0.4981 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.08653/0.7154, allocations: 57.35 MB / 0.7134 GB, free: 8.668 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03378/0.7492, allocations: 12.44 MB / 0.7256 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02524/0.7745, allocations: 10.28 MB / 0.7356 GB, free: 1.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3761/1.151, allocations: 88.42 MB / 0.822 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/1.151, allocations: 53.56 kB / 0.822 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=212): time 4.028e-06/1.151, allocations: 0 / 0.822 GB, free: 123.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=213): time 0.1388/1.29, allocations: 51.29 MB / 0.8721 GB, free: 76.67 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/1.29, allocations: 80.03 kB / 0.8722 GB, free: 76.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/1.29, allocations: 0.6408 MB / 0.8728 GB, free: 75.93 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001854/1.292, allocations: 65.7 kB / 0.8729 GB, free: 75.86 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002375/1.292, allocations: 0.53 MB / 0.8734 GB, free: 75.33 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002019/1.294, allocations: 0.7358 MB / 0.8741 GB, free: 74.6 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00451/1.299, allocations: 1.147 MB / 0.8752 GB, free: 73.44 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.996e-05/1.299, allocations: 345.9 kB / 0.8756 GB, free: 73.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02232/1.321, allocations: 10.5 MB / 0.8858 GB, free: 62.58 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02305/1.344, allocations: 10.96 MB / 0.8965 GB, free: 51.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5819/1.926, allocations: 114.6 MB / 1.008 GB, free: 246.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/1.926, allocations: 3 kB / 1.008 GB, free: 246.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.489/2.415, allocations: 116.3 MB / 1.122 GB, free: 151.7 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/2.415, allocations: 12.78 kB / 1.122 GB, free: 151.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/2.415, allocations: 16 kB / 1.122 GB, free: 151.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1329/2.548, allocations: 49.52 MB / 1.17 GB, free: 102.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005283/2.554, allocations: 1.291 MB / 1.172 GB, free: 100.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04935/2.603, allocations: 20.95 MB / 1.192 GB, free: 79.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01191/2.615, allocations: 2.079 MB / 1.194 GB, free: 77.75 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002195/2.617, allocations: 432 kB / 1.195 GB, free: 77.32 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 10 initial equations are redundant, so they are removed from the initialization system: $DER.hex.htilde[1] = 0.0 $DER.hex.htilde[2] = 0.0 $DER.hex.htilde[3] = 0.0 $DER.hex.htilde[4] = 0.0 $DER.hex.htilde[5] = 0.0 $DER.hex.htilde[6] = 0.0 $DER.hex.htilde[7] = 0.0 $DER.hex.htilde[8] = 0.0 $DER.hex.htilde[9] = 0.0 $DER.hex.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02477/2.642, allocations: 10.8 MB / 1.205 GB, free: 66.51 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02345/2.666, allocations: 10.89 MB / 1.216 GB, free: 55.43 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5483/3.214, allocations: 114.2 MB / 1.327 GB, free: 178.4 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.099e-05/3.214, allocations: 4 kB / 1.327 GB, free: 178.4 MB / 0.6387 GB Notification: Performance of matching and sorting (n=279) (initialization_lambda0): time 0.3079/3.522, allocations: 79.2 MB / 1.405 GB, free: 99.29 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/3.522, allocations: 12 kB / 1.405 GB, free: 99.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.695e-05/3.522, allocations: 12 kB / 1.405 GB, free: 99.27 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1328/3.655, allocations: 49.16 MB / 1.453 GB, free: 50.05 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00547/3.66, allocations: 1.307 MB / 1.454 GB, free: 48.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2458/3.906, allocations: 20.59 MB / 1.474 GB, free: 247.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0122/3.918, allocations: 2.077 MB / 1.476 GB, free: 247.3 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002179/3.921, allocations: 438.1 kB / 1.477 GB, free: 247.3 MB / 0.6387 GB Warning: The initial conditions are over specified. The following 10 initial equations are redundant, so they are removed from the initialization_lambda0 system: $DER.hex.htilde[1] = 0.0 $DER.hex.htilde[2] = 0.0 $DER.hex.htilde[3] = 0.0 $DER.hex.htilde[4] = 0.0 $DER.hex.htilde[5] = 0.0 $DER.hex.htilde[6] = 0.0 $DER.hex.htilde[7] = 0.0 $DER.hex.htilde[8] = 0.0 $DER.hex.htilde[9] = 0.0 $DER.hex.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 12 (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,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (182): * Single equations (assignments): 181 * 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,87)} Notification: Performance of prepare postOptimizeDAE: time 0.002894/3.923, allocations: 331 kB / 1.477 GB, free: 247 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/3.925, allocations: 130.3 kB / 1.477 GB, free: 247 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06226/3.987, allocations: 40.39 MB / 1.516 GB, free: 222.1 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.725e-05/3.987, allocations: 11.95 kB / 1.516 GB, free: 222.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/3.987, allocations: 0 / 1.516 GB, free: 222.1 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003805/3.991, allocations: 1.738 MB / 1.518 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001372/3.993, allocations: 59.91 kB / 1.518 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01211/4.005, allocations: 2.237 MB / 1.52 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001577/4.006, allocations: 417 kB / 1.521 GB, free: 217.7 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05997/4.066, allocations: 22.91 MB / 1.543 GB, free: 194.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.07012/4.136, allocations: 30.81 MB / 1.573 GB, free: 163.9 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0228/4.159, allocations: 10.8 MB / 1.584 GB, free: 153.1 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005442/4.16, allocations: 435 kB / 1.584 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of Backend: time 8.51e-07/4.16, allocations: 0 / 1.584 GB, free: 152.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.06418/4.224, allocations: 25.63 MB / 1.609 GB, free: 127.4 MB / 0.6387 GB Notification: Performance of SimCode: time 0.00603/4.23, allocations: 4.49 MB / 1.614 GB, free: 122.9 MB / 0.6387 GB Notification: Performance of Templates: time 0.7305/4.961, allocations: 354.3 MB / 1.96 GB, free: 235.2 MB / 0.6387 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf.pipe 2>&1)