Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.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.TestWaterFlow1DFV_DB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001559/0.001559, allocations: 108.7 kB / 17.74 MB, free: 5.336 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.001789/0.001789, allocations: 187 kB / 18.67 MB, free: 4.414 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.352/1.352, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2639/0.2639, allocations: 48.84 MB / 320.7 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.001583/0.001583, allocations: 63.91 kB / 451.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0948/0.09639, allocations: 59.17 MB / 0.4984 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB): time 0.2548/0.3512, allocations: 51.98 MB / 0.5492 GB, free: 4.691 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01663/0.3678, allocations: 14.66 MB / 0.5635 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006654/0.3685, allocations: 12.31 kB / 0.5635 GB, free: 11.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.3697, allocations: 336.9 kB / 0.5638 GB, free: 11.13 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.371, allocations: 0.5073 MB / 0.5643 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01712/0.3881, allocations: 6.041 MB / 0.5702 GB, free: 7.891 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003644/0.3918, allocations: 3.277 MB / 0.5734 GB, free: 5.945 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001465/0.3933, allocations: 1.114 MB / 0.5745 GB, free: 5.246 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.3948, allocations: 1.074 MB / 0.5756 GB, free: 4.684 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.3966, allocations: 1.268 MB / 0.5768 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003487/0.397, allocations: 225.5 kB / 0.577 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01404/0.411, allocations: 6.999 MB / 0.5839 GB, free: 408 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001341/0.4124, allocations: 0.9112 MB / 0.5848 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001751/0.4142, allocations: 1.188 MB / 0.5859 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01169/0.4259, allocations: 6.489 MB / 0.5922 GB, free: 10.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.4259, allocations: 0 / 0.5922 GB, free: 10.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4259, allocations: 0 / 0.5922 GB, free: 10.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.816e-05/0.426, allocations: 4 kB / 0.5923 GB, free: 10.21 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: 505 * Number of variables: 505 Notification: Performance of Generate backend data structure: time 0.008576/0.4345, allocations: 3.171 MB / 0.5953 GB, free: 6.984 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4346, allocations: 15.89 kB / 0.5954 GB, free: 6.969 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/0.4382, allocations: 0.6377 MB / 0.596 GB, free: 6.332 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002651/0.4409, allocations: 1.234 MB / 0.5972 GB, free: 5.055 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001054/0.441, allocations: 140.3 kB / 0.5973 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003657/0.4414, allocations: 211.7 kB / 0.5975 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01156/0.4529, allocations: 5.249 MB / 0.6027 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.819e-05/0.453, allocations: 7.875 kB / 0.6027 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002117/0.4532, allocations: 76 kB / 0.6027 GB, free: 15.35 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.613e-05/0.4533, allocations: 95.92 kB / 0.6028 GB, free: 15.26 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01234/0.4656, allocations: 5.825 MB / 0.6085 GB, free: 9.43 MB / 462.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.01403/0.4797, allocations: 11.64 MB / 0.6199 GB, free: 12.88 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01139/0.4911, allocations: 4.58 MB / 0.6244 GB, free: 8.289 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/0.4933, allocations: 1.471 MB / 0.6258 GB, free: 6.812 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1576/0.6509, allocations: 81.17 MB / 0.7051 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.879e-05/0.651, allocations: 68.48 kB / 0.7051 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=244): time 7.193e-06/0.651, allocations: 0 / 0.7051 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=244): time 0.02462/0.6756, allocations: 8.088 MB / 0.713 GB, free: 3.75 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.6757, allocations: 77.41 kB / 0.7131 GB, free: 3.664 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007608/0.6765, allocations: 0.5653 MB / 0.7136 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004077/0.6769, allocations: 65.7 kB / 0.7137 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.6772, allocations: 0.4978 MB / 0.7142 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009665/0.6782, allocations: 0.8394 MB / 0.715 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001414/0.6796, allocations: 0.6402 MB / 0.7156 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.6798, allocations: 349.8 kB / 0.716 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003144/0.6829, allocations: 1.868 MB / 0.7178 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003422/0.6863, allocations: 2.104 MB / 0.7199 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006727/0.6931, allocations: 4.047 MB / 0.7238 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.736e-06/0.6931, allocations: 0 / 0.7238 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01286/0.706, allocations: 6.56 MB / 0.7302 GB, free: 1.863 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.706, allocations: 11.91 kB / 0.7302 GB, free: 1.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.7061, allocations: 4 kB / 0.7302 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04428/0.7504, allocations: 8.625 MB / 0.7387 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005136/0.7509, allocations: 111.8 kB / 0.7388 GB, free: 9.102 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0142/0.7651, allocations: 7.562 MB / 0.7461 GB, free: 1.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.7669, allocations: 206 kB / 0.7463 GB, free: 1.309 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004905/0.7675, allocations: 211.8 kB / 0.7465 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2056/0.9731, allocations: 2.284 MB / 0.7488 GB, free: 213.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003267/0.9764, allocations: 2.095 MB / 0.7508 GB, free: 213.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006113/0.9825, allocations: 4.013 MB / 0.7547 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.325e-06/0.9826, allocations: 7.031 kB / 0.7547 GB, free: 212.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.01167/0.9942, allocations: 6.606 MB / 0.7612 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.9943, allocations: 8.891 kB / 0.7612 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.9943, allocations: 3.375 kB / 0.7612 GB, free: 209.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04344/1.038, allocations: 8.66 MB / 0.7697 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/1.038, allocations: 101.6 kB / 0.7698 GB, free: 208.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/1.05, allocations: 7.568 MB / 0.7772 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/1.052, allocations: 184.2 kB / 0.7773 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003775/1.053, allocations: 210.3 kB / 0.7775 GB, free: 205.3 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (hexFV.fluidState[10].phase,hexFV.fluidState[9].phase,hexFV.fluidState[8].phase,hexFV.fluidState[7].phase,hexFV.fluidState[6].phase,hexFV.fluidState[5].phase,hexFV.fluidState[4].phase,hexFV.fluidState[3].phase,hexFV.fluidState[2].phase,hexFV.fluidState[1].phase,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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,202)} Notification: Performance of prepare postOptimizeDAE: time 0.0006887/1.053, allocations: 284.6 kB / 0.7778 GB, free: 205.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005353/1.054, allocations: 134.2 kB / 0.7779 GB, free: 205 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01822/1.072, allocations: 22.75 MB / 0.8001 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.68e-05/1.072, allocations: 15.89 kB / 0.8002 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/1.072, allocations: 4 kB / 0.8002 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009954/1.073, allocations: 0.5564 MB / 0.8007 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003031/1.073, allocations: 59.89 kB / 0.8008 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001649/1.075, allocations: 190.5 kB / 0.8009 GB, free: 185 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/1.076, allocations: 194.8 kB / 0.8011 GB, free: 184.8 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008241/1.084, allocations: 4.983 MB / 0.806 GB, free: 179.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007758/1.092, allocations: 6.967 MB / 0.8128 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002166/1.094, allocations: 2.176 MB / 0.8149 GB, free: 170.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003948/1.094, allocations: 398.8 kB / 0.8153 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of Backend: time 4.11e-07/1.094, allocations: 0 / 0.8153 GB, free: 170.2 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01488/1.109, allocations: 7.043 MB / 0.8222 GB, free: 163.4 MB / 0.5919 GB Notification: Performance of SimCode: time 0.005055/1.114, allocations: 4.525 MB / 0.8266 GB, free: 158.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.3182/1.432, allocations: 142.4 MB / 0.9657 GB, free: 211.5 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB.pipe 2>&1)