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.001423/0.001423, allocations: 110.2 kB / 17.75 MB, free: 5.348 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.001501/0.001501, allocations: 185.4 kB / 18.68 MB, free: 4.426 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.297/1.297, allocations: 205.1 MB / 224.6 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.2574/0.2574, allocations: 48.84 MB / 320.8 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.001449/0.001449, allocations: 63.91 kB / 451.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.09509, allocations: 59.16 MB / 0.4984 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen_hf): time 0.2271/0.3222, allocations: 36.11 MB / 0.5337 GB, free: 7.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01605/0.3383, allocations: 16.39 MB / 0.5497 GB, free: 4.094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004442/0.3388, allocations: 10.56 kB / 0.5497 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006224/0.3394, allocations: 215.8 kB / 0.5499 GB, free: 3.992 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.3405, allocations: 0.4985 MB / 0.5504 GB, free: 3.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01644/0.3569, allocations: 6.593 MB / 0.5569 GB, free: 2.008 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008274/0.3652, allocations: 9.992 MB / 0.5666 GB, free: 12.6 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004753/0.37, allocations: 3.369 MB / 0.5699 GB, free: 10.18 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004639/0.3747, allocations: 3.215 MB / 0.573 GB, free: 8.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006691/0.3814, allocations: 4.137 MB / 0.5771 GB, free: 5.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00185/0.3833, allocations: 0.7842 MB / 0.5778 GB, free: 5.82 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01703/0.4003, allocations: 7.714 MB / 0.5854 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002867/0.4032, allocations: 1.981 MB / 0.5873 GB, free: 15.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003538/0.4067, allocations: 2.205 MB / 0.5895 GB, free: 12.94 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0162/0.423, allocations: 9.919 MB / 0.5992 GB, free: 2.996 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.423, allocations: 0 / 0.5992 GB, free: 2.996 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.423, allocations: 0 / 0.5992 GB, free: 2.996 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.527e-05/0.4231, allocations: 0 / 0.5992 GB, free: 2.996 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.04597/0.469, allocations: 10.07 MB / 0.609 GB, free: 8.855 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.4691, allocations: 11.89 kB / 0.609 GB, free: 8.844 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/0.4872, allocations: 2.598 MB / 0.6115 GB, free: 6.242 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006021/0.4932, allocations: 2.197 MB / 0.6137 GB, free: 4.004 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002853/0.4961, allocations: 0.9618 MB / 0.6146 GB, free: 2.992 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002111/0.4983, allocations: 199.7 kB / 0.6148 GB, free: 2.797 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04436/0.5426, allocations: 15.28 MB / 0.6297 GB, free: 3.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.557e-05/0.5427, allocations: 5.812 kB / 0.6297 GB, free: 3.406 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001934/0.5447, allocations: 68 kB / 0.6298 GB, free: 3.34 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-05/0.5447, allocations: 44 kB / 0.6298 GB, free: 3.297 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07795/0.6227, allocations: 28.35 MB / 0.6575 GB, free: 6.91 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.1001/0.7228, allocations: 57.38 MB / 0.7136 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06824/0.7911, allocations: 12.44 MB / 0.7257 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.05262/0.8438, allocations: 10.28 MB / 0.7358 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4334/1.277, allocations: 88.43 MB / 0.8221 GB, free: 123 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.806e-05/1.277, allocations: 58.47 kB / 0.8222 GB, free: 123 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=212): time 4.288e-06/1.277, allocations: 0 / 0.8222 GB, free: 123 MB / 0.5919 GB Notification: Performance of matching and sorting (n=213): time 0.1427/1.42, allocations: 51.31 MB / 0.8723 GB, free: 76.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/1.42, allocations: 73.41 kB / 0.8723 GB, free: 76.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006413/1.421, allocations: 0.6506 MB / 0.873 GB, free: 75.64 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001946/1.423, allocations: 61.7 kB / 0.873 GB, free: 75.57 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003315/1.423, allocations: 0.5497 MB / 0.8736 GB, free: 75.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002355/1.425, allocations: 0.7728 MB / 0.8743 GB, free: 74.41 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004318/1.43, allocations: 1.151 MB / 0.8754 GB, free: 73.25 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 6.18e-05/1.43, allocations: 341.9 kB / 0.8758 GB, free: 72.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02339/1.453, allocations: 10.5 MB / 0.886 GB, free: 62.39 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02418/1.478, allocations: 10.95 MB / 0.8967 GB, free: 51.24 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5727/2.05, allocations: 114.6 MB / 1.009 GB, free: 245.9 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.359e-05/2.05, allocations: 7.25 kB / 1.009 GB, free: 245.9 MB / 0.6387 GB Notification: Performance of matching and sorting (n=279) (initialization): time 0.464/2.514, allocations: 116.3 MB / 1.122 GB, free: 151.4 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/2.514, allocations: 15.91 kB / 1.122 GB, free: 151.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.984e-05/2.514, allocations: 12 kB / 1.122 GB, free: 151.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.129/2.643, allocations: 49.53 MB / 1.171 GB, free: 101.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005557/2.649, allocations: 1.291 MB / 1.172 GB, free: 100.4 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05091/2.7, allocations: 20.95 MB / 1.192 GB, free: 79.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01276/2.713, allocations: 2.083 MB / 1.194 GB, free: 77.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001958/2.715, allocations: 435.4 kB / 1.195 GB, free: 76.97 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.02382/2.739, allocations: 10.81 MB / 1.205 GB, free: 66.14 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02387/2.762, allocations: 10.88 MB / 1.216 GB, free: 55.07 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.5522/3.315, allocations: 114.2 MB / 1.328 GB, free: 178 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.22e-05/3.315, allocations: 4 kB / 1.328 GB, free: 178 MB / 0.6387 GB Notification: Performance of matching and sorting (n=279) (initialization_lambda0): time 0.3026/3.617, allocations: 79.21 MB / 1.405 GB, free: 98.81 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/3.617, allocations: 8.875 kB / 1.405 GB, free: 98.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.839e-05/3.617, allocations: 16.69 kB / 1.405 GB, free: 98.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1335/3.751, allocations: 49.16 MB / 1.453 GB, free: 49.57 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005469/3.756, allocations: 1.303 MB / 1.454 GB, free: 48.26 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2771/4.034, allocations: 20.59 MB / 1.474 GB, free: 247.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01263/4.046, allocations: 2.08 MB / 1.476 GB, free: 247.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001547/4.048, allocations: 432.8 kB / 1.477 GB, free: 247.1 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.00205/4.05, allocations: 339 kB / 1.477 GB, free: 246.9 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001513/4.051, allocations: 138.3 kB / 1.477 GB, free: 246.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06389/4.115, allocations: 40.39 MB / 1.517 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.605e-05/4.115, allocations: 15.05 kB / 1.517 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/4.115, allocations: 4 kB / 1.517 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003745/4.119, allocations: 1.749 MB / 1.518 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001165/4.12, allocations: 59.92 kB / 1.518 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01249/4.133, allocations: 2.235 MB / 1.521 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0016/4.134, allocations: 417 kB / 1.521 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06514/4.2, allocations: 22.91 MB / 1.543 GB, free: 194.2 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.07475/4.274, allocations: 30.82 MB / 1.574 GB, free: 163.4 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02339/4.298, allocations: 10.8 MB / 1.584 GB, free: 152.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004519/4.298, allocations: 443 kB / 1.584 GB, free: 152.1 MB / 0.6387 GB Notification: Performance of Backend: time 5.61e-07/4.298, allocations: 0 / 1.584 GB, free: 152.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.06309/4.361, allocations: 25.64 MB / 1.61 GB, free: 126.9 MB / 0.6387 GB Notification: Performance of SimCode: time 0.005933/4.367, allocations: 4.564 MB / 1.614 GB, free: 122.3 MB / 0.6387 GB Notification: Performance of Templates: time 0.7251/5.092, allocations: 342.5 MB / 1.948 GB, free: 238.3 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)