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.001234/0.001234, allocations: 112.7 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.001283/0.001283, 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.529/1.529, allocations: 205.1 MB / 224.6 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.2925/0.2925, allocations: 48.84 MB / 320.8 MB, free: 10.99 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.001712/0.001712, allocations: 75.89 kB / 451.2 MB, free: 8.516 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1209, allocations: 59.16 MB / 0.4984 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_DB): time 0.3219/0.4428, allocations: 51.98 MB / 0.5492 GB, free: 4.137 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01715/0.46, allocations: 14.66 MB / 0.5635 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006633/0.4607, allocations: 15.59 kB / 0.5635 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009832/0.4617, allocations: 334.3 kB / 0.5638 GB, free: 10.84 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001088/0.4628, allocations: 0.5121 MB / 0.5643 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01703/0.4799, allocations: 6.052 MB / 0.5703 GB, free: 7.621 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003604/0.4835, allocations: 3.278 MB / 0.5735 GB, free: 5.676 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001356/0.4849, allocations: 1.116 MB / 0.5745 GB, free: 4.98 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.4863, allocations: 1.075 MB / 0.5756 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001663/0.488, allocations: 1.271 MB / 0.5768 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003348/0.4883, allocations: 220.2 kB / 0.577 GB, free: 3.648 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01635/0.5047, allocations: 6.999 MB / 0.5839 GB, free: 136 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001696/0.5064, allocations: 0.9127 MB / 0.5848 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004105/0.5105, allocations: 1.187 MB / 0.5859 GB, free: 14.76 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01614/0.5267, allocations: 6.508 MB / 0.5923 GB, free: 9.984 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.5267, allocations: 0 / 0.5923 GB, free: 9.984 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5268, allocations: 0 / 0.5923 GB, free: 9.984 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.934e-05/0.5269, allocations: 0 / 0.5923 GB, free: 9.984 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.01028/0.5372, allocations: 3.243 MB / 0.5955 GB, free: 6.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.5372, allocations: 11.89 kB / 0.5955 GB, free: 6.668 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004095/0.5413, allocations: 0.6554 MB / 0.5961 GB, free: 6.012 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002996/0.5443, allocations: 1.223 MB / 0.5973 GB, free: 4.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001327/0.5445, allocations: 148.3 kB / 0.5974 GB, free: 4.602 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005512/0.545, allocations: 203.8 kB / 0.5976 GB, free: 4.402 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01305/0.5581, allocations: 5.253 MB / 0.6028 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.891e-05/0.5582, allocations: 4 kB / 0.6028 GB, free: 15.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003334/0.5585, allocations: 76 kB / 0.6028 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001022/0.5586, allocations: 99.91 kB / 0.6029 GB, free: 14.95 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01355/0.5722, allocations: 5.827 MB / 0.6086 GB, free: 9.113 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.01713/0.5893, allocations: 11.67 MB / 0.62 GB, free: 12.54 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.6017, allocations: 4.581 MB / 0.6245 GB, free: 7.953 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002187/0.6039, allocations: 1.475 MB / 0.6259 GB, free: 6.473 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1662/0.7701, allocations: 81.18 MB / 0.7052 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.987e-05/0.7703, allocations: 60.56 kB / 0.7053 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=244): time 5.561e-06/0.7703, allocations: 0 / 0.7053 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of matching and sorting (n=244): time 0.02549/0.7958, allocations: 8.091 MB / 0.7132 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.7959, allocations: 77.41 kB / 0.7132 GB, free: 3.324 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008069/0.7967, allocations: 0.5615 MB / 0.7138 GB, free: 2.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004024/0.7971, allocations: 73.7 kB / 0.7139 GB, free: 2.672 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003876/0.7975, allocations: 0.5147 MB / 0.7144 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009645/0.7985, allocations: 0.8752 MB / 0.7152 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001342/0.7998, allocations: 0.648 MB / 0.7159 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.8, allocations: 345.9 kB / 0.7162 GB, free: 272 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003195/0.8032, allocations: 1.874 MB / 0.718 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003569/0.8067, allocations: 2.108 MB / 0.7201 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00705/0.8138, allocations: 4.035 MB / 0.724 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.8138, allocations: 0 / 0.724 GB, free: 8.086 MB / 0.5762 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.01269/0.8265, allocations: 6.571 MB / 0.7304 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.8266, allocations: 7.906 kB / 0.7304 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.8266, allocations: 4 kB / 0.7304 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04606/0.8727, allocations: 8.633 MB / 0.7389 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.8732, allocations: 103.8 kB / 0.739 GB, free: 8.703 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01576/0.889, allocations: 7.571 MB / 0.7464 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/0.8911, allocations: 202.6 kB / 0.7466 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005948/0.8917, allocations: 211.8 kB / 0.7468 GB, free: 0.6992 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.2157/1.107, allocations: 2.286 MB / 0.749 GB, free: 213.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003276/1.111, allocations: 2.089 MB / 0.751 GB, free: 212.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00629/1.117, allocations: 4.018 MB / 0.755 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.452e-06/1.117, allocations: 3.844 kB / 0.755 GB, free: 211.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.01214/1.129, allocations: 6.615 MB / 0.7614 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/1.129, allocations: 7.766 kB / 0.7614 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/1.129, allocations: 3.25 kB / 0.7614 GB, free: 209.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04603/1.175, allocations: 8.657 MB / 0.7699 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005049/1.176, allocations: 106.3 kB / 0.77 GB, free: 208.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01337/1.189, allocations: 7.573 MB / 0.7774 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001822/1.191, allocations: 188.2 kB / 0.7776 GB, free: 204.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004279/1.191, allocations: 210.5 kB / 0.7778 GB, free: 204.8 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.0007078/1.192, allocations: 291 kB / 0.778 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005907/1.193, allocations: 138.8 kB / 0.7782 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/1.211, allocations: 22.75 MB / 0.8004 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-05/1.211, allocations: 15.89 kB / 0.8004 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/1.211, allocations: 0 / 0.8004 GB, free: 185.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008063/1.212, allocations: 0.5772 MB / 0.801 GB, free: 184.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003222/1.212, allocations: 56 kB / 0.801 GB, free: 184.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001861/1.214, allocations: 184.8 kB / 0.8012 GB, free: 184.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004201/1.215, allocations: 197.7 kB / 0.8014 GB, free: 184.1 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008477/1.223, allocations: 4.99 MB / 0.8063 GB, free: 179.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007753/1.231, allocations: 6.978 MB / 0.8131 GB, free: 172.2 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002187/1.233, allocations: 2.176 MB / 0.8152 GB, free: 170 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003798/1.234, allocations: 394.8 kB / 0.8156 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of Backend: time 5.31e-07/1.234, allocations: 4 kB / 0.8156 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01503/1.249, allocations: 7.063 MB / 0.8225 GB, free: 162.8 MB / 0.5919 GB Notification: Performance of SimCode: time 0.005052/1.254, allocations: 4.592 MB / 0.827 GB, free: 158.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.1356/1.389, allocations: 139.4 MB / 0.9631 GB, free: 18.24 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)