Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_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.TestWaterFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 105.3 kB / 17.7 MB, free: 5.5 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.001493/0.001493, allocations: 192.2 kB / 18.63 MB, free: 4.574 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.614/1.614, allocations: 205.1 MB / 224.5 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3305/0.3305, allocations: 48.84 MB / 320.7 MB, free: 11.04 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.002354/0.002354, allocations: 67.91 kB / 451.2 MB, free: 8.566 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1497, allocations: 59.16 MB / 0.4984 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B): time 0.3549/0.5046, allocations: 51.92 MB / 0.5491 GB, free: 4.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01931/0.5239, allocations: 15.67 MB / 0.5644 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009613/0.5249, allocations: 11.72 kB / 0.5644 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001052/0.526, allocations: 325.9 kB / 0.5647 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0147/0.5407, allocations: 4.65 MB / 0.5692 GB, free: 8.316 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004525/0.5453, allocations: 1.464 MB / 0.5707 GB, free: 7.199 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002932/0.5482, allocations: 2.681 MB / 0.5733 GB, free: 5.625 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001217/0.5495, allocations: 0.9595 MB / 0.5742 GB, free: 5.039 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001647/0.5511, allocations: 0.9115 MB / 0.5751 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.5527, allocations: 1.073 MB / 0.5762 GB, free: 3.922 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003159/0.5531, allocations: 170.6 kB / 0.5763 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01459/0.5677, allocations: 6.492 MB / 0.5827 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007054/0.5684, allocations: 0.7236 MB / 0.5834 GB, free: 144 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001336/0.5697, allocations: 0.9976 MB / 0.5843 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01199/0.5817, allocations: 5.639 MB / 0.5898 GB, free: 11.93 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.5818, allocations: 1.688 kB / 0.5898 GB, free: 11.93 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5818, allocations: 4 kB / 0.5899 GB, free: 11.93 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.473e-05/0.5819, allocations: 0 / 0.5899 GB, free: 11.93 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: 420 * Number of variables: 420 Notification: Performance of Generate backend data structure: time 0.009394/0.5913, allocations: 2.859 MB / 0.5926 GB, free: 9.555 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.286e-05/0.5913, allocations: 15.89 kB / 0.5927 GB, free: 9.539 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002695/0.594, allocations: 462.6 kB / 0.5931 GB, free: 9.086 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.5965, allocations: 1.053 MB / 0.5941 GB, free: 7.996 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.967e-05/0.5966, allocations: 119.5 kB / 0.5942 GB, free: 7.879 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003086/0.5969, allocations: 168.5 kB / 0.5944 GB, free: 7.715 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01083/0.6078, allocations: 4.581 MB / 0.5989 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.6078, allocations: 0 / 0.5989 GB, free: 3.098 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.608, allocations: 60 kB / 0.5989 GB, free: 3.039 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.688e-05/0.6081, allocations: 87.25 kB / 0.599 GB, free: 2.953 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01159/0.6197, allocations: 4.919 MB / 0.6038 GB, free: 14.02 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.01468/0.6344, allocations: 10.22 MB / 0.6138 GB, free: 2.898 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00891/0.6433, allocations: 3.485 MB / 0.6172 GB, free: 15.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001663/0.645, allocations: 1.02 MB / 0.6182 GB, free: 14.38 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1714/0.8165, allocations: 80.3 MB / 0.6966 GB, free: 4.523 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.949e-05/0.8166, allocations: 43.88 kB / 0.6967 GB, free: 4.469 MB / 0.545 GB Notification: Performance of pre-optimization done (n=158): time 5.65e-06/0.8166, allocations: 0 / 0.6967 GB, free: 4.469 MB / 0.545 GB Notification: Performance of matching and sorting (n=158): time 0.02283/0.8394, allocations: 6.594 MB / 0.7031 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.8395, allocations: 72.7 kB / 0.7032 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008649/0.8404, allocations: 0.5692 MB / 0.7037 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000412/0.8408, allocations: 57.7 kB / 0.7038 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/0.8412, allocations: 0.5119 MB / 0.7043 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008273/0.842, allocations: 0.5468 MB / 0.7048 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/0.8432, allocations: 0.5304 MB / 0.7053 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.8434, allocations: 341.9 kB / 0.7057 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002617/0.846, allocations: 1.5 MB / 0.7071 GB, free: 9.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002837/0.8489, allocations: 1.697 MB / 0.7088 GB, free: 7.906 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005508/0.8544, allocations: 3.169 MB / 0.7119 GB, free: 4.688 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.8544, allocations: 7.938 kB / 0.7119 GB, free: 4.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.01027/0.8647, allocations: 5.177 MB / 0.7169 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.8648, allocations: 8 kB / 0.7169 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.8648, allocations: 0 / 0.7169 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01237/0.8772, allocations: 4.762 MB / 0.7216 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006123/0.8779, allocations: 111.8 kB / 0.7217 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01199/0.8899, allocations: 5.676 MB / 0.7272 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.8919, allocations: 158.5 kB / 0.7274 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004772/0.8924, allocations: 179.8 kB / 0.7276 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003545/0.896, allocations: 1.845 MB / 0.7294 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002854/0.8988, allocations: 1.69 MB / 0.731 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005609/0.9045, allocations: 3.147 MB / 0.7341 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.636e-06/0.9045, allocations: 0 / 0.7341 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.01081/0.9153, allocations: 5.224 MB / 0.7392 GB, free: 8.539 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.776e-05/0.9154, allocations: 11.91 kB / 0.7392 GB, free: 8.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.9154, allocations: 7.984 kB / 0.7392 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01238/0.9278, allocations: 4.758 MB / 0.7439 GB, free: 3.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006295/0.9285, allocations: 115.8 kB / 0.744 GB, free: 3.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3054/1.234, allocations: 5.659 MB / 0.7495 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001817/1.236, allocations: 137.7 kB / 0.7496 GB, free: 212.8 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003269/1.236, allocations: 180.2 kB / 0.7498 GB, free: 212.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 (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,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 (66): * Single equations (assignments): 65 * 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,113)} Notification: Performance of prepare postOptimizeDAE: time 0.000711/1.237, allocations: 264.2 kB / 0.75 GB, free: 212.6 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/1.237, allocations: 103.5 kB / 0.7501 GB, free: 212.6 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02412/1.261, allocations: 21.2 MB / 0.7708 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-05/1.262, allocations: 9.359 kB / 0.7709 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/1.262, allocations: 2.391 kB / 0.7709 GB, free: 204.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.263, allocations: 442.4 kB / 0.7713 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002777/1.263, allocations: 44.56 kB / 0.7713 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/1.265, allocations: 173.5 kB / 0.7715 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004466/1.265, allocations: 154.2 kB / 0.7716 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008374/1.274, allocations: 4.047 MB / 0.7756 GB, free: 202.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006916/1.28, allocations: 5.434 MB / 0.7809 GB, free: 200.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001869/1.282, allocations: 1.706 MB / 0.7826 GB, free: 199.8 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004639/1.283, allocations: 404.7 kB / 0.7829 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of Backend: time 9.71e-07/1.283, allocations: 0 / 0.7829 GB, free: 199.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01246/1.295, allocations: 5.82 MB / 0.7886 GB, free: 197.5 MB / 0.5919 GB Notification: Performance of SimCode: time 0.00459/1.3, allocations: 4.115 MB / 0.7926 GB, free: 194.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.1132/1.413, allocations: 119.1 MB / 0.9089 GB, free: 74.68 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B.pipe 2>&1)