Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.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_B,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 110.3 kB / 17.74 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.001343/0.001343, allocations: 189.4 kB / 18.67 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.304/1.304, 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.2755/0.2755, 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.001503/0.001503, allocations: 72.28 kB / 451.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09729/0.0988, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B): time 0.2419/0.3407, allocations: 38.05 MB / 0.5356 GB, free: 7.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.3532, allocations: 12.49 MB / 0.5478 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005487/0.3539, allocations: 14.78 kB / 0.5478 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007447/0.3547, allocations: 243.8 kB / 0.548 GB, free: 5.188 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001046/0.3557, allocations: 0.5143 MB / 0.5485 GB, free: 4.926 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0146/0.3703, allocations: 5.377 MB / 0.5538 GB, free: 3.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006408/0.3768, allocations: 7.231 MB / 0.5608 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003092/0.3799, allocations: 2.447 MB / 0.5632 GB, free: 15 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002994/0.3829, allocations: 2.345 MB / 0.5655 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004897/0.3878, allocations: 2.899 MB / 0.5684 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001066/0.3889, allocations: 0.5232 MB / 0.5689 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01511/0.404, allocations: 6.868 MB / 0.5756 GB, free: 8.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002725/0.4068, allocations: 1.513 MB / 0.577 GB, free: 7.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002792/0.4096, allocations: 1.76 MB / 0.5788 GB, free: 6.18 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.4227, allocations: 8.094 MB / 0.5867 GB, free: 15.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4227, allocations: 0 / 0.5867 GB, free: 15.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4227, allocations: 3.938 kB / 0.5867 GB, free: 15.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.624e-05/0.4228, allocations: 0 / 0.5867 GB, free: 15.78 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: 452 * Number of variables: 452 Notification: Performance of Generate backend data structure: time 0.02755/0.4503, allocations: 6.494 MB / 0.593 GB, free: 9.223 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/0.4504, allocations: 15.89 kB / 0.593 GB, free: 9.207 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003573/0.454, allocations: 0.5493 MB / 0.5936 GB, free: 8.656 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/0.4581, allocations: 1.662 MB / 0.5952 GB, free: 6.953 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00246/0.4606, allocations: 0.9305 MB / 0.5961 GB, free: 5.973 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009606/0.4616, allocations: 172.3 kB / 0.5963 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03191/0.4935, allocations: 11.37 MB / 0.6074 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/0.4936, allocations: 0 / 0.6074 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007532/0.4944, allocations: 71.98 kB / 0.6074 GB, free: 10.33 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.954e-05/0.4945, allocations: 102.3 kB / 0.6075 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05119/0.5457, allocations: 18.8 MB / 0.6259 GB, free: 7.406 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.05426/0.6, allocations: 31.94 MB / 0.6571 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02639/0.6264, allocations: 9.106 MB / 0.666 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0184/0.6448, allocations: 6.926 MB / 0.6727 GB, free: 4.109 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1604/0.8052, allocations: 76.22 MB / 0.7472 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.071e-05/0.8053, allocations: 56.56 kB / 0.7472 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=192): time 4.598e-06/0.8053, allocations: 0 / 0.7472 GB, free: 15.33 MB / 0.6075 GB Notification: Performance of matching and sorting (n=193): time 0.3859/1.191, allocations: 35.94 MB / 0.7823 GB, free: 195.4 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/1.191, allocations: 72.31 kB / 0.7824 GB, free: 195.3 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007534/1.192, allocations: 0.5052 MB / 0.7829 GB, free: 195.2 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001531/1.194, allocations: 58.55 kB / 0.7829 GB, free: 195.1 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/1.194, allocations: 0.5215 MB / 0.7835 GB, free: 194.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001711/1.196, allocations: 0.6599 MB / 0.7841 GB, free: 194.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002492/1.198, allocations: 0.8797 MB / 0.785 GB, free: 194 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001263/1.198, allocations: 341.8 kB / 0.7853 GB, free: 193.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01805/1.216, allocations: 7.289 MB / 0.7924 GB, free: 191.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01796/1.234, allocations: 7.499 MB / 0.7997 GB, free: 188.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03153/1.266, allocations: 12.25 MB / 0.8117 GB, free: 178.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.949e-06/1.266, allocations: 6.156 kB / 0.8117 GB, free: 178.1 MB / 0.6075 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.1024/1.368, allocations: 31.73 MB / 0.8427 GB, free: 146.3 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/1.368, allocations: 15.89 kB / 0.8427 GB, free: 146.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/1.368, allocations: 3.938 kB / 0.8427 GB, free: 146.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1357/1.504, allocations: 49.58 MB / 0.8911 GB, free: 96.67 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/1.506, allocations: 284.5 kB / 0.8914 GB, free: 96.4 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05158/1.557, allocations: 21.23 MB / 0.9121 GB, free: 75.13 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00924/1.567, allocations: 1.34 MB / 0.9134 GB, free: 73.79 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001652/1.568, allocations: 325.3 kB / 0.9137 GB, free: 73.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01802/1.586, allocations: 7.627 MB / 0.9212 GB, free: 65.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01727/1.604, allocations: 7.453 MB / 0.9285 GB, free: 58.33 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0314/1.635, allocations: 12.17 MB / 0.9404 GB, free: 46.12 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.392e-05/1.635, allocations: 0 / 0.9404 GB, free: 46.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=220) (initialization_lambda0): time 0.09195/1.727, allocations: 28.88 MB / 0.9686 GB, free: 17.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/1.727, allocations: 4 kB / 0.9686 GB, free: 17.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/1.727, allocations: 4 kB / 0.9686 GB, free: 17.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3866/2.114, allocations: 49.64 MB / 1.017 GB, free: 236.7 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/2.115, allocations: 283.4 kB / 1.017 GB, free: 236.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05262/2.168, allocations: 21.23 MB / 1.038 GB, free: 220.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00898/2.177, allocations: 1.334 MB / 1.039 GB, free: 219.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001064/2.178, allocations: 323.4 kB / 1.04 GB, free: 219.2 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 10 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 120 * 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,89)} Notification: Performance of prepare postOptimizeDAE: time 0.001669/2.18, allocations: 262.1 kB / 1.04 GB, free: 218.9 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/2.181, allocations: 114.5 kB / 1.04 GB, free: 218.8 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04815/2.229, allocations: 32.92 MB / 1.072 GB, free: 186 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.974e-05/2.229, allocations: 11.95 kB / 1.072 GB, free: 186 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/2.229, allocations: 0 / 1.072 GB, free: 186 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002789/2.232, allocations: 1.171 MB / 1.073 GB, free: 184.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008982/2.233, allocations: 51.98 kB / 1.073 GB, free: 184.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008438/2.241, allocations: 1.441 MB / 1.075 GB, free: 183.3 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008832/2.242, allocations: 317.1 kB / 1.075 GB, free: 183 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04466/2.287, allocations: 15.94 MB / 1.091 GB, free: 167.1 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05472/2.341, allocations: 21.29 MB / 1.111 GB, free: 145.7 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01717/2.359, allocations: 7.52 MB / 1.119 GB, free: 138.2 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003931/2.359, allocations: 358.8 kB / 1.119 GB, free: 137.9 MB / 0.6231 GB Notification: Performance of Backend: time 7.42e-07/2.359, allocations: 0 / 1.119 GB, free: 137.9 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.05037/2.409, allocations: 18.26 MB / 1.137 GB, free: 119.8 MB / 0.6231 GB Notification: Performance of SimCode: time 0.006015/2.416, allocations: 4.336 MB / 1.141 GB, free: 115.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.5141/2.93, allocations: 284.2 MB / 1.419 GB, free: 52.57 MB / 0.6231 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B.pipe 2>&1)