Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.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,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 106.4 kB / 17.74 MB, free: 5.363 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.001316/0.001316, allocations: 189.3 kB / 18.67 MB, free: 4.441 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.341/1.341, 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.2794/0.2794, allocations: 48.85 MB / 320.8 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.002311/0.002311, allocations: 67.91 kB / 451.2 MB, free: 8.535 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1194, allocations: 59.15 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB): time 0.2765/0.396, allocations: 36.32 MB / 0.5339 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01797/0.414, allocations: 15.93 MB / 0.5495 GB, free: 4.199 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007547/0.4148, allocations: 16.69 kB / 0.5495 GB, free: 4.191 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008702/0.4157, allocations: 245.2 kB / 0.5497 GB, free: 4.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001765/0.4175, allocations: 0.5833 MB / 0.5503 GB, free: 3.789 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02254/0.44, allocations: 6.45 MB / 0.5566 GB, free: 2.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01027/0.4503, allocations: 6.966 MB / 0.5634 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005079/0.4554, allocations: 2.709 MB / 0.566 GB, free: 12.9 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004875/0.4603, allocations: 2.421 MB / 0.5684 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006235/0.4666, allocations: 3.033 MB / 0.5713 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002139/0.4688, allocations: 0.5448 MB / 0.5719 GB, free: 9.715 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01862/0.4874, allocations: 7.403 MB / 0.5791 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00292/0.4904, allocations: 1.62 MB / 0.5807 GB, free: 4.914 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00434/0.4947, allocations: 1.809 MB / 0.5825 GB, free: 3.555 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01788/0.5126, allocations: 8.528 MB / 0.5908 GB, free: 11.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5127, allocations: 0 / 0.5908 GB, free: 11.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5127, allocations: 4 kB / 0.5908 GB, free: 11.57 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.689e-05/0.5128, allocations: 0 / 0.5908 GB, free: 11.57 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: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.03622/0.549, allocations: 8.358 MB / 0.5989 GB, free: 3.152 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.5491, allocations: 15.89 kB / 0.599 GB, free: 3.137 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005483/0.5546, allocations: 0.7325 MB / 0.5997 GB, free: 2.402 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004585/0.5592, allocations: 1.759 MB / 0.6014 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002018/0.5612, allocations: 0.7633 MB / 0.6021 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001348/0.5626, allocations: 192.2 kB / 0.6023 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03727/0.5999, allocations: 11.43 MB / 0.6135 GB, free: 4.145 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-05/0.6, allocations: 4 kB / 0.6135 GB, free: 4.141 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002362/0.6024, allocations: 68 kB / 0.6136 GB, free: 4.074 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.6025, allocations: 71.5 kB / 0.6136 GB, free: 4.004 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05607/0.6586, allocations: 19.14 MB / 0.6323 GB, free: 0.8438 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.06444/0.7231, allocations: 39.01 MB / 0.6704 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03072/0.7538, allocations: 10.11 MB / 0.6803 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02002/0.7739, allocations: 7.434 MB / 0.6875 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4294/1.203, allocations: 88.35 MB / 0.7738 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.766e-05/1.203, allocations: 64.97 kB / 0.7739 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=233): time 4.729e-06/1.203, allocations: 0 / 0.7739 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=234): time 0.1233/1.327, allocations: 39.86 MB / 0.8128 GB, free: 150.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/1.327, allocations: 111.1 kB / 0.8129 GB, free: 150.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/1.328, allocations: 0.6701 MB / 0.8136 GB, free: 150.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.001673/1.33, allocations: 65.7 kB / 0.8136 GB, free: 150 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00029/1.33, allocations: 0.5269 MB / 0.8142 GB, free: 149.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.002299/1.332, allocations: 0.8052 MB / 0.8149 GB, free: 148.7 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004692/1.337, allocations: 0.8858 MB / 0.8158 GB, free: 147.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.433e-05/1.337, allocations: 357.9 kB / 0.8161 GB, free: 147.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01821/1.355, allocations: 7.581 MB / 0.8235 GB, free: 139.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01889/1.374, allocations: 7.837 MB / 0.8312 GB, free: 131.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0356/1.41, allocations: 13.06 MB / 0.844 GB, free: 118.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.659e-05/1.41, allocations: 3.938 kB / 0.844 GB, free: 118.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.1074/1.517, allocations: 33.92 MB / 0.8771 GB, free: 84.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/1.517, allocations: 4 kB / 0.8771 GB, free: 84.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/1.517, allocations: 4 kB / 0.8771 GB, free: 84.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1368/1.654, allocations: 45.44 MB / 0.9215 GB, free: 39.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00085/1.655, allocations: 182.3 kB / 0.9216 GB, free: 39.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06536/1.72, allocations: 23.59 MB / 0.9447 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/1.731, allocations: 1.591 MB / 0.9462 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001935/1.733, allocations: 305 kB / 0.9465 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.02021/1.753, allocations: 7.891 MB / 0.9542 GB, free: 5.758 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0197/1.773, allocations: 7.773 MB / 0.9618 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.3086/2.081, allocations: 12.91 MB / 0.9744 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.183e-05/2.081, allocations: 0 / 0.9744 GB, free: 221.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.07082/2.152, allocations: 23.32 MB / 0.9972 GB, free: 216.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/2.152, allocations: 7.062 kB / 0.9972 GB, free: 216.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/2.152, allocations: 4.031 kB / 0.9972 GB, free: 216.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1294/2.282, allocations: 44.71 MB / 1.041 GB, free: 181 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000932/2.283, allocations: 193.3 kB / 1.041 GB, free: 180.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0578/2.34, allocations: 23.16 MB / 1.064 GB, free: 157.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009813/2.35, allocations: 1.591 MB / 1.065 GB, free: 156.1 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001785/2.352, allocations: 295.5 kB / 1.066 GB, free: 155.8 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 10 (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 (77): * Single equations (assignments): 76 * 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 {(9,196)} Notification: Performance of prepare postOptimizeDAE: time 0.001733/2.354, allocations: 294.4 kB / 1.066 GB, free: 155.5 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001182/2.355, allocations: 131.3 kB / 1.066 GB, free: 155.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05159/2.407, allocations: 31.47 MB / 1.097 GB, free: 124 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.381e-05/2.407, allocations: 11.95 kB / 1.097 GB, free: 124 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/2.407, allocations: 0 / 1.097 GB, free: 124 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003182/2.41, allocations: 1.222 MB / 1.098 GB, free: 122.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001089/2.411, allocations: 68.78 kB / 1.098 GB, free: 122.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009668/2.421, allocations: 1.708 MB / 1.1 GB, free: 121 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00121/2.422, allocations: 321.2 kB / 1.1 GB, free: 120.7 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05184/2.474, allocations: 17.66 MB / 1.117 GB, free: 103 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0548/2.529, allocations: 22.67 MB / 1.139 GB, free: 80.25 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01814/2.547, allocations: 7.982 MB / 1.147 GB, free: 72.26 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005202/2.547, allocations: 479 kB / 1.148 GB, free: 71.79 MB / 0.6075 GB Notification: Performance of Backend: time 3.1e-07/2.547, allocations: 0 / 1.148 GB, free: 71.79 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.05399/2.601, allocations: 19.54 MB / 1.167 GB, free: 52.48 MB / 0.6075 GB Notification: Performance of SimCode: time 0.00597/2.607, allocations: 5.236 MB / 1.172 GB, free: 47.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.7303/3.338, allocations: 287.4 MB / 1.452 GB, free: 205.5 MB / 0.6075 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phDB.pipe 2>&1)