Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.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_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 103.1 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.001624/0.001624, allocations: 198.4 kB / 18.68 MB, free: 4.406 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.324/1.324, 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.2581/0.2581, allocations: 48.84 MB / 320.7 MB, free: 11.01 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.001468/0.001468, allocations: 67.91 kB / 451.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09591/0.09739, allocations: 59.16 MB / 0.4984 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A): time 0.2418/0.3393, allocations: 51.79 MB / 0.549 GB, free: 4.223 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01205/0.3513, allocations: 11.14 MB / 0.5599 GB, free: 13.7 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000632/0.352, allocations: 16.22 kB / 0.5599 GB, free: 13.69 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008966/0.3529, allocations: 329.9 kB / 0.5602 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009882/0.354, allocations: 479.1 kB / 0.5607 GB, free: 13.21 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01357/0.3675, allocations: 5.035 MB / 0.5656 GB, free: 11.11 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.003521/0.3711, allocations: 3.839 MB / 0.5693 GB, free: 9.082 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.3727, allocations: 1.519 MB / 0.5708 GB, free: 8.191 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001467/0.3742, allocations: 1.275 MB / 0.5721 GB, free: 7.551 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.3761, allocations: 1.615 MB / 0.5736 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000391/0.3765, allocations: 264.9 kB / 0.5739 GB, free: 6.602 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01198/0.3885, allocations: 6.544 MB / 0.5803 GB, free: 3.332 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.3898, allocations: 1.267 MB / 0.5815 GB, free: 2.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002212/0.392, allocations: 1.697 MB / 0.5832 GB, free: 1.449 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01183/0.4038, allocations: 7.159 MB / 0.5902 GB, free: 12.16 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4039, allocations: 0 / 0.5902 GB, free: 12.16 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4039, allocations: 0 / 0.5902 GB, free: 12.16 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.802e-05/0.404, allocations: 3.938 kB / 0.5902 GB, free: 12.16 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: 762 * Number of variables: 762 Notification: Performance of Generate backend data structure: time 0.01274/0.4167, allocations: 4.481 MB / 0.5946 GB, free: 7.613 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.4168, allocations: 11.89 kB / 0.5946 GB, free: 7.602 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004513/0.4213, allocations: 0.8135 MB / 0.5954 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003522/0.4248, allocations: 1.605 MB / 0.5969 GB, free: 5.133 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.425, allocations: 213.9 kB / 0.5971 GB, free: 4.922 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004713/0.4254, allocations: 316.2 kB / 0.5974 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01944/0.4449, allocations: 8.7 MB / 0.6059 GB, free: 11.85 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.445, allocations: 3.938 kB / 0.6059 GB, free: 11.84 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002837/0.4453, allocations: 108 kB / 0.606 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.4454, allocations: 172.8 kB / 0.6062 GB, free: 11.57 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02123/0.4666, allocations: 10.31 MB / 0.6163 GB, free: 1.242 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.02151/0.4882, allocations: 17.73 MB / 0.6336 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01515/0.5034, allocations: 6.47 MB / 0.6399 GB, free: 7.426 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002783/0.5062, allocations: 1.905 MB / 0.6418 GB, free: 5.512 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1239/0.6301, allocations: 64.29 MB / 0.7045 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.233e-05/0.6302, allocations: 56.7 kB / 0.7046 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=272): time 4.889e-06/0.6302, allocations: 0 / 0.7046 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=272): time 0.04369/0.6739, allocations: 14.46 MB / 0.7187 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.674, allocations: 81.55 kB / 0.7188 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007981/0.6748, allocations: 0.6161 MB / 0.7194 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0004036/0.6752, allocations: 73.7 kB / 0.7195 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005011/0.6757, allocations: 0.8164 MB / 0.7203 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009575/0.6767, allocations: 0.9511 MB / 0.7212 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001618/0.6783, allocations: 0.9497 MB / 0.7221 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6785, allocations: 357.9 kB / 0.7225 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004781/0.6832, allocations: 2.873 MB / 0.7253 GB, free: 8.172 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004966/0.6882, allocations: 3.194 MB / 0.7284 GB, free: 4.879 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009655/0.6979, allocations: 6.041 MB / 0.7343 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/0.6979, allocations: 0 / 0.7343 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.01747/0.7154, allocations: 9.84 MB / 0.7439 GB, free: 4.828 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.799e-05/0.7155, allocations: 8 kB / 0.7439 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.7155, allocations: 4 kB / 0.7439 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2203/0.9359, allocations: 8.653 MB / 0.7524 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/0.9371, allocations: 253.3 kB / 0.7526 GB, free: 207.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01735/0.9545, allocations: 9.718 MB / 0.7621 GB, free: 206 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/0.957, allocations: 244.2 kB / 0.7623 GB, free: 206 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006591/0.9577, allocations: 333.5 kB / 0.7626 GB, free: 205.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005871/0.9636, allocations: 3.464 MB / 0.766 GB, free: 204.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004686/0.9683, allocations: 3.171 MB / 0.7691 GB, free: 203.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008549/0.9768, allocations: 5.982 MB / 0.775 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.907e-06/0.9769, allocations: 1.375 kB / 0.775 GB, free: 200.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=320) (initialization_lambda0): time 0.015/0.9919, allocations: 9.795 MB / 0.7845 GB, free: 197.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.9919, allocations: 13.34 kB / 0.7845 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.9919, allocations: 6.469 kB / 0.7845 GB, free: 197.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01674/1.009, allocations: 8.64 MB / 0.793 GB, free: 192.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00092/1.01, allocations: 254 kB / 0.7932 GB, free: 192.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0143/1.024, allocations: 9.765 MB / 0.8028 GB, free: 182.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002416/1.026, allocations: 232.7 kB / 0.803 GB, free: 182.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008374/1.027, allocations: 336.6 kB / 0.8033 GB, free: 182.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 22 (hex.fluidState[20].phase,hex.fluidState[19].phase,hex.fluidState[18].phase,hex.fluidState[17].phase,hex.fluidState[16].phase,hex.fluidState[15].phase,hex.fluidState[14].phase,hex.fluidState[13].phase,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 (145): * Single equations (assignments): 144 * 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 {(20,156)} Notification: Performance of prepare postOptimizeDAE: time 0.001215/1.028, allocations: 321.5 kB / 0.8036 GB, free: 181.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007686/1.029, allocations: 146.2 kB / 0.8038 GB, free: 181.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03352/1.063, allocations: 42.19 MB / 0.845 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.12e-05/1.063, allocations: 11.95 kB / 0.845 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.746e-06/1.063, allocations: 7.984 kB / 0.845 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/1.064, allocations: 0.6644 MB / 0.8456 GB, free: 138.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003962/1.065, allocations: 73.3 kB / 0.8457 GB, free: 138.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002506/1.067, allocations: 319.3 kB / 0.846 GB, free: 138.4 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005713/1.068, allocations: 293.8 kB / 0.8463 GB, free: 138.1 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01353/1.081, allocations: 7.825 MB / 0.8539 GB, free: 130.3 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01044/1.092, allocations: 9.649 MB / 0.8633 GB, free: 120.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002986/1.095, allocations: 3.156 MB / 0.8664 GB, free: 117.3 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004323/1.095, allocations: 422.7 kB / 0.8668 GB, free: 116.9 MB / 0.5919 GB Notification: Performance of Backend: time 2.71e-07/1.095, allocations: 0 / 0.8668 GB, free: 116.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01928/1.114, allocations: 10.15 MB / 0.8767 GB, free: 107 MB / 0.5919 GB Notification: Performance of SimCode: time 0.007355/1.122, allocations: 6.83 MB / 0.8834 GB, free: 100.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.3812/1.503, allocations: 193.1 MB / 1.072 GB, free: 124.9 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_A.pipe 2>&1)