Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_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.TestFlow1D2phDB_hf,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 110.9 kB / 17.75 MB, free: 5.309 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.001267/0.001268, allocations: 186.6 kB / 18.67 MB, free: 4.395 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.226/1.226, allocations: 205.1 MB / 224.5 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2381/0.2381, allocations: 48.85 MB / 320.8 MB, free: 11 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.001338/0.001338, allocations: 71.89 kB / 451.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09295/0.0943, allocations: 59.15 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf): time 0.2198/0.3141, allocations: 36.06 MB / 0.5336 GB, free: 7.109 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01427/0.3284, allocations: 15.84 MB / 0.5491 GB, free: 4.445 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003364/0.3288, allocations: 12 kB / 0.5491 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005132/0.3293, allocations: 215.4 kB / 0.5493 GB, free: 4.344 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008953/0.3302, allocations: 494 kB / 0.5498 GB, free: 4.09 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.345, allocations: 6.421 MB / 0.5561 GB, free: 2.402 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006603/0.3517, allocations: 8.492 MB / 0.5644 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003333/0.355, allocations: 2.936 MB / 0.5672 GB, free: 12.08 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003159/0.3582, allocations: 2.865 MB / 0.57 GB, free: 10.58 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005011/0.3632, allocations: 3.523 MB / 0.5735 GB, free: 8.348 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001018/0.3642, allocations: 0.6428 MB / 0.5741 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01455/0.3788, allocations: 7.495 MB / 0.5814 GB, free: 4.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001652/0.3805, allocations: 1.712 MB / 0.5831 GB, free: 3.418 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002505/0.383, allocations: 1.93 MB / 0.585 GB, free: 1.523 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0122/0.3952, allocations: 9.024 MB / 0.5938 GB, free: 8.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3952, allocations: 0 / 0.5938 GB, free: 8.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.3952, allocations: 0 / 0.5938 GB, free: 8.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.587e-05/0.3953, allocations: 0 / 0.5938 GB, free: 8.48 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: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.03914/0.4344, allocations: 9.946 MB / 0.6035 GB, free: 14.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.4345, allocations: 15.83 kB / 0.6035 GB, free: 14.45 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005269/0.4397, allocations: 0.8263 MB / 0.6043 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004793/0.4445, allocations: 1.914 MB / 0.6062 GB, free: 11.67 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002153/0.4467, allocations: 0.9617 MB / 0.6071 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008921/0.4476, allocations: 188.2 kB / 0.6073 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03652/0.4841, allocations: 13.99 MB / 0.621 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.025e-05/0.4842, allocations: 4 kB / 0.621 GB, free: 12.44 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000753/0.4849, allocations: 68 kB / 0.621 GB, free: 12.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.415e-05/0.485, allocations: 43.98 kB / 0.6211 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0644/0.5494, allocations: 24.57 MB / 0.6451 GB, free: 3.738 MB / 494.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.07025/0.6197, allocations: 46.76 MB / 0.6907 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03121/0.6509, allocations: 11.57 MB / 0.702 GB, free: 5.027 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02353/0.6745, allocations: 9.298 MB / 0.7111 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3673/1.042, allocations: 88.36 MB / 0.7974 GB, free: 143.5 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/1.042, allocations: 63.47 kB / 0.7975 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=222): time 4.568e-06/1.042, allocations: 2.5 kB / 0.7975 GB, free: 143.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=223): time 0.1241/1.166, allocations: 46.58 MB / 0.843 GB, free: 108.3 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/1.166, allocations: 73.41 kB / 0.843 GB, free: 108.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006253/1.167, allocations: 0.6601 MB / 0.8437 GB, free: 107.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000802/1.167, allocations: 73.69 kB / 0.8437 GB, free: 107.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/1.168, allocations: 496.9 kB / 0.8442 GB, free: 107 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009724/1.169, allocations: 0.7676 MB / 0.845 GB, free: 106.2 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002368/1.171, allocations: 1.018 MB / 0.846 GB, free: 105.2 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.235e-05/1.171, allocations: 341.9 kB / 0.8463 GB, free: 104.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02156/1.193, allocations: 9.596 MB / 0.8557 GB, free: 95.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02187/1.215, allocations: 9.859 MB / 0.8653 GB, free: 85.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2064/1.421, allocations: 75.68 MB / 0.9392 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/1.421, allocations: 4 kB / 0.9392 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=271) (initialization): time 0.4558/1.877, allocations: 66.92 MB / 1.005 GB, free: 230.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.558e-05/1.877, allocations: 7.562 kB / 1.005 GB, free: 230.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/1.877, allocations: 3.781 kB / 1.005 GB, free: 230.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1333/2.01, allocations: 49.52 MB / 1.053 GB, free: 193.4 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005035/2.015, allocations: 1.164 MB / 1.054 GB, free: 192.3 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04833/2.064, allocations: 20.95 MB / 1.075 GB, free: 171.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01159/2.075, allocations: 2.087 MB / 1.077 GB, free: 169.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008666/2.076, allocations: 355.4 kB / 1.077 GB, free: 168.9 MB / 0.6231 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.022/2.098, allocations: 9.862 MB / 1.087 GB, free: 159 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02157/2.12, allocations: 9.749 MB / 1.096 GB, free: 149.2 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2003/2.32, allocations: 74.16 MB / 1.168 GB, free: 74.73 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.234e-06/2.32, allocations: 4 kB / 1.168 GB, free: 74.73 MB / 0.6231 GB Notification: Performance of matching and sorting (n=271) (initialization_lambda0): time 0.5343/2.854, allocations: 83.56 MB / 1.25 GB, free: 223.5 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/2.854, allocations: 19.12 kB / 1.25 GB, free: 223.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/2.854, allocations: 3.969 kB / 1.25 GB, free: 223.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1323/2.987, allocations: 49.16 MB / 1.298 GB, free: 179.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004915/2.992, allocations: 1.16 MB / 1.299 GB, free: 178.1 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04801/3.04, allocations: 20.58 MB / 1.319 GB, free: 157.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/3.051, allocations: 2.083 MB / 1.321 GB, free: 155.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009512/3.052, allocations: 353 kB / 1.322 GB, free: 155.1 MB / 0.6231 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: 19 * 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 (174): * Single equations (assignments): 173 * 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.001831/3.054, allocations: 320.4 kB / 1.322 GB, free: 154.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001268/3.055, allocations: 129.2 kB / 1.322 GB, free: 154.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05844/3.114, allocations: 38.28 MB / 1.36 GB, free: 116.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.615e-05/3.114, allocations: 15.95 kB / 1.36 GB, free: 116.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/3.114, allocations: 0 / 1.36 GB, free: 116.5 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003566/3.117, allocations: 1.433 MB / 1.361 GB, free: 115.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/3.118, allocations: 51.98 kB / 1.361 GB, free: 115.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01143/3.13, allocations: 2.242 MB / 1.363 GB, free: 112.8 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001053/3.131, allocations: 354.1 kB / 1.364 GB, free: 112.5 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05647/3.187, allocations: 21.12 MB / 1.384 GB, free: 91.39 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0666/3.254, allocations: 27.92 MB / 1.411 GB, free: 63.42 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.02203/3.276, allocations: 9.91 MB / 1.421 GB, free: 53.51 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000459/3.277, allocations: 469 kB / 1.422 GB, free: 53.06 MB / 0.6231 GB Notification: Performance of Backend: time 2.21e-07/3.277, allocations: 0 / 1.422 GB, free: 53.06 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.2347/3.511, allocations: 23.32 MB / 1.444 GB, free: 237.2 MB / 0.6231 GB Notification: Performance of SimCode: time 0.005676/3.517, allocations: 4.439 MB / 1.449 GB, free: 235.4 MB / 0.6231 GB Notification: Performance of Templates: time 0.459/3.976, allocations: 319.2 MB / 1.76 GB, free: 174.6 MB / 0.6231 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB_hf.pipe 2>&1)