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.001158/0.001158, allocations: 110.5 kB / 17.75 MB, free: 5.305 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.001167/0.001167, allocations: 183 kB / 18.68 MB, free: 4.383 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.31/1.31, allocations: 205.1 MB / 224.6 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2745/0.2745, 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.001586/0.001586, allocations: 71.89 kB / 451.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1024, allocations: 59.15 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV2ph_B): time 0.2695/0.3719, allocations: 38.06 MB / 0.5356 GB, free: 7.051 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01403/0.386, allocations: 12.48 MB / 0.5478 GB, free: 5.215 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005489/0.3866, allocations: 14.78 kB / 0.5478 GB, free: 5.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007426/0.3874, allocations: 241.8 kB / 0.548 GB, free: 5.102 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001224/0.3886, allocations: 0.5171 MB / 0.5485 GB, free: 4.84 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01735/0.406, allocations: 5.383 MB / 0.5538 GB, free: 3.438 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007178/0.4132, allocations: 7.24 MB / 0.5609 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004025/0.4173, allocations: 2.451 MB / 0.5633 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004557/0.4219, allocations: 2.348 MB / 0.5656 GB, free: 13.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006059/0.4279, allocations: 2.902 MB / 0.5684 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002421/0.4304, allocations: 0.5237 MB / 0.5689 GB, free: 11.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01621/0.4466, allocations: 6.871 MB / 0.5756 GB, free: 8.637 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002935/0.4496, allocations: 1.504 MB / 0.5771 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003468/0.4531, allocations: 1.759 MB / 0.5788 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01599/0.4691, allocations: 8.108 MB / 0.5867 GB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.4691, allocations: 0 / 0.5867 GB, free: 15.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4691, allocations: 0 / 0.5867 GB, free: 15.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001006/0.4693, allocations: 4 kB / 0.5867 GB, free: 15.73 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.03183/0.5011, allocations: 6.555 MB / 0.5931 GB, free: 9.109 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.5012, allocations: 11.89 kB / 0.5931 GB, free: 9.098 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004909/0.5061, allocations: 0.5619 MB / 0.5937 GB, free: 8.535 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004888/0.511, allocations: 1.663 MB / 0.5953 GB, free: 6.832 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003053/0.5141, allocations: 0.9312 MB / 0.5962 GB, free: 5.852 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001802/0.5159, allocations: 176.3 kB / 0.5964 GB, free: 5.68 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03354/0.5495, allocations: 11.37 MB / 0.6075 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.187e-05/0.5496, allocations: 0 / 0.6075 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001447/0.551, allocations: 64 kB / 0.6075 GB, free: 10.21 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/0.5512, allocations: 99.48 kB / 0.6076 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04995/0.6011, allocations: 18.8 MB / 0.626 GB, free: 7.281 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.05137/0.6525, allocations: 31.96 MB / 0.6572 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02557/0.6781, allocations: 9.103 MB / 0.6661 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01778/0.6959, allocations: 6.926 MB / 0.6729 GB, free: 3.973 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1555/0.8514, allocations: 76.22 MB / 0.7473 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.775e-05/0.8515, allocations: 60.55 kB / 0.7474 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=192): time 5.099e-06/0.8516, allocations: 4 kB / 0.7474 GB, free: 15.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=193): time 0.3808/1.232, allocations: 35.97 MB / 0.7825 GB, free: 195.2 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.056e-05/1.232, allocations: 71.47 kB / 0.7826 GB, free: 195.2 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007545/1.233, allocations: 0.5148 MB / 0.7831 GB, free: 195.1 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001518/1.235, allocations: 57.83 kB / 0.7831 GB, free: 195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000302/1.235, allocations: 0.5281 MB / 0.7836 GB, free: 194.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.001387/1.236, allocations: 0.6927 MB / 0.7843 GB, free: 194.2 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002275/1.239, allocations: 0.8778 MB / 0.7852 GB, free: 194 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.346e-05/1.239, allocations: 345.7 kB / 0.7855 GB, free: 193.7 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01753/1.256, allocations: 7.285 MB / 0.7926 GB, free: 191.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01738/1.274, allocations: 7.499 MB / 0.7999 GB, free: 188.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03062/1.304, allocations: 12.25 MB / 0.8119 GB, free: 178 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/1.304, allocations: 4 kB / 0.8119 GB, free: 178 MB / 0.6075 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.09674/1.401, allocations: 31.74 MB / 0.8429 GB, free: 146.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.9e-05/1.401, allocations: 11.91 kB / 0.8429 GB, free: 146.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/1.401, allocations: 7.938 kB / 0.8429 GB, free: 146.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1314/1.533, allocations: 49.58 MB / 0.8913 GB, free: 96.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/1.534, allocations: 286.4 kB / 0.8916 GB, free: 96.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04756/1.582, allocations: 21.23 MB / 0.9123 GB, free: 74.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008526/1.59, allocations: 1.342 MB / 0.9136 GB, free: 73.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008061/1.591, allocations: 315.4 kB / 0.914 GB, free: 73.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01595/1.607, allocations: 7.631 MB / 0.9214 GB, free: 65.7 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01538/1.623, allocations: 7.455 MB / 0.9287 GB, free: 58.19 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0289/1.651, allocations: 12.17 MB / 0.9406 GB, free: 45.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.299e-05/1.651, allocations: 5.875 kB / 0.9406 GB, free: 45.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=220) (initialization_lambda0): time 0.09287/1.744, allocations: 28.89 MB / 0.9688 GB, free: 17.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.744, allocations: 8 kB / 0.9688 GB, free: 17.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/1.744, allocations: 4 kB / 0.9688 GB, free: 17.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3876/2.132, allocations: 49.63 MB / 1.017 GB, free: 236.5 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/2.133, allocations: 282.7 kB / 1.018 GB, free: 236.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05288/2.186, allocations: 21.24 MB / 1.038 GB, free: 220.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0092/2.196, allocations: 1.336 MB / 1.04 GB, free: 219.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001997/2.198, allocations: 315.4 kB / 1.04 GB, free: 218.9 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.002201/2.2, allocations: 270.7 kB / 1.04 GB, free: 218.6 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001279/2.201, allocations: 113.8 kB / 1.04 GB, free: 218.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04946/2.251, allocations: 32.92 MB / 1.072 GB, free: 185.7 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.635e-05/2.251, allocations: 7.969 kB / 1.072 GB, free: 185.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/2.251, allocations: 0 / 1.072 GB, free: 185.7 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003227/2.254, allocations: 1.183 MB / 1.074 GB, free: 184.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00118/2.255, allocations: 51.98 kB / 1.074 GB, free: 184.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009044/2.264, allocations: 1.439 MB / 1.075 GB, free: 183.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001299/2.266, allocations: 313.9 kB / 1.075 GB, free: 182.8 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.044/2.31, allocations: 15.95 MB / 1.091 GB, free: 166.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05054/2.36, allocations: 21.3 MB / 1.112 GB, free: 145.5 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0164/2.377, allocations: 7.518 MB / 1.119 GB, free: 138 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003832/2.377, allocations: 358.8 kB / 1.119 GB, free: 137.6 MB / 0.6231 GB Notification: Performance of Backend: time 5.92e-07/2.377, allocations: 0 / 1.119 GB, free: 137.6 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.04732/2.424, allocations: 18.26 MB / 1.137 GB, free: 119.6 MB / 0.6231 GB Notification: Performance of SimCode: time 0.005288/2.43, allocations: 4.386 MB / 1.141 GB, free: 115.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.5027/2.932, allocations: 284.8 MB / 1.42 GB, free: 51.74 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)