Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_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.TestWaterFlow1DFEM_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001354, allocations: 102.5 kB / 17.74 MB, free: 5.363 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.001575/0.001576, allocations: 189.3 kB / 18.67 MB, free: 4.441 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.2563/0.2563, 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: 72.45 kB / 451.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1069, allocations: 59.16 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B): time 0.2704/0.3773, allocations: 51.63 MB / 0.5488 GB, free: 4.375 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01383/0.3912, allocations: 11.48 MB / 0.5601 GB, free: 13.62 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006278/0.3919, allocations: 17.06 kB / 0.5601 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.393, allocations: 329.6 kB / 0.5604 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.3941, allocations: 449.2 kB / 0.5608 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01625/0.4104, allocations: 5.27 MB / 0.566 GB, free: 10.95 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006697/0.4171, allocations: 6.342 MB / 0.5722 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003707/0.4208, allocations: 2.222 MB / 0.5743 GB, free: 6.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003629/0.4245, allocations: 1.862 MB / 0.5761 GB, free: 5.219 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005447/0.4299, allocations: 2.972 MB / 0.579 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001785/0.4317, allocations: 0.6481 MB / 0.5797 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01406/0.4458, allocations: 6.926 MB / 0.5864 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003633/0.4495, allocations: 2.319 MB / 0.5887 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004875/0.4544, allocations: 2.867 MB / 0.5915 GB, free: 10.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01621/0.4706, allocations: 10.27 MB / 0.6015 GB, free: 492 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.4706, allocations: 0 / 0.6015 GB, free: 492 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4707, allocations: 0 / 0.6015 GB, free: 492 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001624/0.4708, allocations: 3.938 kB / 0.6015 GB, free: 488 kB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1387 * Number of variables: 1387 Notification: Performance of Generate backend data structure: time 0.02866/0.4995, allocations: 8.279 MB / 0.6096 GB, free: 8.133 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.4996, allocations: 11.89 kB / 0.6096 GB, free: 8.121 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003566/0.5031, allocations: 0.7919 MB / 0.6104 GB, free: 7.324 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00622/0.5094, allocations: 2.83 MB / 0.6132 GB, free: 4.445 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002955/0.5097, allocations: 411.2 kB / 0.6136 GB, free: 4.043 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001127/0.5108, allocations: 0.5182 MB / 0.6141 GB, free: 3.527 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02414/0.535, allocations: 12.3 MB / 0.6261 GB, free: 7.18 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00012/0.5351, allocations: 0 / 0.6261 GB, free: 7.18 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009322/0.5361, allocations: 219.9 kB / 0.6263 GB, free: 6.965 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001806/0.5363, allocations: 226.8 kB / 0.6265 GB, free: 6.742 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04042/0.5767, allocations: 14.41 MB / 0.6406 GB, free: 8.312 MB / 494.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.03655/0.6133, allocations: 24.3 MB / 0.6643 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/0.6251, allocations: 4.915 MB / 0.6691 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003825/0.6289, allocations: 2.223 MB / 0.6713 GB, free: 6.938 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1278/0.7568, allocations: 64.27 MB / 0.734 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.486e-05/0.7569, allocations: 68.59 kB / 0.7341 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=257): time 4.579e-06/0.7569, allocations: 0 / 0.7341 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=257): time 0.303/1.06, allocations: 23.74 MB / 0.7573 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/1.06, allocations: 77.84 kB / 0.7574 GB, free: 206.5 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00549/1.065, allocations: 3.989 MB / 0.7613 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008315/1.066, allocations: 68.08 kB / 0.7613 GB, free: 205.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00159/1.068, allocations: 3.145 MB / 0.7644 GB, free: 203.1 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001448/1.069, allocations: 1.041 MB / 0.7654 GB, free: 202.4 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003669/1.073, allocations: 1.955 MB / 0.7673 GB, free: 201.5 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 7.6e-05/1.073, allocations: 351.4 kB / 0.7677 GB, free: 201.2 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006323/1.079, allocations: 3.99 MB / 0.7716 GB, free: 200 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007781/1.087, allocations: 9.025 MB / 0.7804 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/1.101, allocations: 13.63 MB / 0.7937 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003196/1.102, allocations: 52.53 kB / 0.7937 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.02566/1.127, allocations: 15.49 MB / 0.8089 GB, free: 169.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002196/1.128, allocations: 83.91 kB / 0.8089 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002169/1.128, allocations: 176 kB / 0.8091 GB, free: 169.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04263/1.171, allocations: 12.67 MB / 0.8215 GB, free: 156.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004378/1.175, allocations: 1.677 MB / 0.8231 GB, free: 155 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/1.194, allocations: 10.51 MB / 0.8334 GB, free: 144.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006855/1.201, allocations: 1.187 MB / 0.8345 GB, free: 143.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001523/1.202, allocations: 0.6391 MB / 0.8352 GB, free: 142.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007458/1.21, allocations: 5.143 MB / 0.8402 GB, free: 137.4 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007264/1.217, allocations: 8.958 MB / 0.8489 GB, free: 126 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01369/1.231, allocations: 13.51 MB / 0.8621 GB, free: 109.9 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001464/1.231, allocations: 56 kB / 0.8622 GB, free: 109.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1102) (initialization_lambda0): time 0.03444/1.265, allocations: 17.43 MB / 0.8792 GB, free: 92.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/1.265, allocations: 80 kB / 0.8793 GB, free: 92.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002078/1.266, allocations: 181.6 kB / 0.8795 GB, free: 92.15 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04217/1.308, allocations: 12.66 MB / 0.8918 GB, free: 79.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00413/1.312, allocations: 1.669 MB / 0.8934 GB, free: 77.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01856/1.331, allocations: 10.47 MB / 0.9037 GB, free: 67.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00614/1.337, allocations: 0.8679 MB / 0.9045 GB, free: 66.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001178/1.338, allocations: 0.6365 MB / 0.9051 GB, free: 65.79 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 14 (hex.fluidState[12].phase,hex.fluidState[11].phase,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 (903): * Single equations (assignments): 902 * 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 {(13,187)} Notification: Performance of prepare postOptimizeDAE: time 0.002019/1.34, allocations: 0.8436 MB / 0.906 GB, free: 64.94 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009442/1.341, allocations: 370.2 kB / 0.9063 GB, free: 64.58 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04708/1.388, allocations: 32.63 MB / 0.9382 GB, free: 31.9 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-05/1.388, allocations: 15.94 kB / 0.9382 GB, free: 31.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.388, allocations: 0 / 0.9382 GB, free: 31.89 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002044/1.39, allocations: 0.8848 MB / 0.9391 GB, free: 30.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001124/1.391, allocations: 91.95 kB / 0.9391 GB, free: 30.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003651/1.395, allocations: 307.5 kB / 0.9394 GB, free: 30.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001305/1.396, allocations: 353.6 kB / 0.9398 GB, free: 30.24 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02531/1.422, allocations: 9.623 MB / 0.9492 GB, free: 20.67 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01301/1.435, allocations: 9.574 MB / 0.9585 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003564/1.438, allocations: 3.017 MB / 0.9615 GB, free: 8.02 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002745/1.441, allocations: 2.337 MB / 0.9638 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of Backend: time 4.41e-07/1.441, allocations: 0 / 0.9638 GB, free: 5.699 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.2408/1.682, allocations: 16.08 MB / 0.9795 GB, free: 185.2 MB / 0.5919 GB Notification: Performance of SimCode: time 0.01704/1.699, allocations: 10.85 MB / 0.9901 GB, free: 180.9 MB / 0.5919 GB Notification: Performance of Templates: time 0.2017/1.901, allocations: 191 MB / 1.177 GB, free: 7.094 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_B.pipe 2>&1)