Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.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_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.001295/0.001295, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.217/1.217, allocations: 205.1 MB / 224.5 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.2493/0.2493, allocations: 48.84 MB / 320.7 MB, free: 11.03 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.00145/0.00145, allocations: 71.89 kB / 451.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09154/0.093, allocations: 59.17 MB / 0.4984 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D): time 0.2436/0.3367, allocations: 39.95 MB / 0.5374 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.3471, allocations: 10.17 MB / 0.5474 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003428/0.3475, allocations: 14.44 kB / 0.5474 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005844/0.3481, allocations: 222.4 kB / 0.5476 GB, free: 5.449 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006142/0.3488, allocations: 376.4 kB / 0.548 GB, free: 5.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01177/0.3606, allocations: 5.057 MB / 0.5529 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.004857/0.3654, allocations: 6.047 MB / 0.5588 GB, free: 2.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001993/0.3674, allocations: 1.995 MB / 0.5608 GB, free: 1.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001636/0.3691, allocations: 1.725 MB / 0.5624 GB, free: 428 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003553/0.3726, allocations: 2.849 MB / 0.5652 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.3738, allocations: 0.623 MB / 0.5658 GB, free: 14.81 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01331/0.3871, allocations: 6.74 MB / 0.5724 GB, free: 11.62 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002366/0.3895, allocations: 2.259 MB / 0.5746 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0032/0.3927, allocations: 2.761 MB / 0.5773 GB, free: 8.047 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01173/0.4045, allocations: 9.919 MB / 0.587 GB, free: 15.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.4045, allocations: 0 / 0.587 GB, free: 15.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4045, allocations: 0 / 0.587 GB, free: 15.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.204e-05/0.4046, allocations: 0 / 0.587 GB, free: 15.42 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: 1341 * Number of variables: 1341 Notification: Performance of Generate backend data structure: time 0.0254/0.43, allocations: 8.048 MB / 0.5949 GB, free: 7.309 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.43, allocations: 11.89 kB / 0.5949 GB, free: 7.297 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/0.4334, allocations: 0.7609 MB / 0.5956 GB, free: 6.531 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006967/0.4404, allocations: 2.767 MB / 0.5983 GB, free: 3.719 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002586/0.4407, allocations: 390.7 kB / 0.5987 GB, free: 3.336 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009778/0.4417, allocations: 0.5044 MB / 0.5992 GB, free: 2.832 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02184/0.4635, allocations: 12.06 MB / 0.611 GB, free: 6.719 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.61e-05/0.4636, allocations: 0 / 0.611 GB, free: 6.719 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006411/0.4643, allocations: 208 kB / 0.6112 GB, free: 6.516 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001627/0.4644, allocations: 210.5 kB / 0.6114 GB, free: 6.309 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03479/0.4992, allocations: 14.19 MB / 0.6252 GB, free: 8.102 MB / 478.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.03002/0.5293, allocations: 24.23 MB / 0.6489 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009993/0.5393, allocations: 4.461 MB / 0.6532 GB, free: 9.648 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002589/0.5419, allocations: 2.004 MB / 0.6552 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1248/0.6667, allocations: 64.28 MB / 0.7179 GB, free: 15.72 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.328e-05/0.6668, allocations: 56.56 kB / 0.718 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=240): time 4.629e-06/0.6668, allocations: 4 kB / 0.718 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of matching and sorting (n=240): time 0.103/0.7698, allocations: 23.6 MB / 0.7411 GB, free: 7.965 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.7699, allocations: 77.41 kB / 0.7411 GB, free: 7.875 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004743/0.7746, allocations: 3.976 MB / 0.745 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0004753/0.7751, allocations: 65.7 kB / 0.7451 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00197/0.7771, allocations: 3.128 MB / 0.7481 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.208/0.9851, allocations: 0.9787 MB / 0.7491 GB, free: 172.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002868/0.988, allocations: 1.958 MB / 0.751 GB, free: 172 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.452e-05/0.9881, allocations: 339 kB / 0.7513 GB, free: 171.7 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005612/0.9937, allocations: 3.836 MB / 0.7551 GB, free: 171.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007259/1.001, allocations: 8.924 MB / 0.7638 GB, free: 165.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01346/1.014, allocations: 13.38 MB / 0.7769 GB, free: 157.8 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002299/1.015, allocations: 55.44 kB / 0.7769 GB, free: 157.8 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.02176/1.036, allocations: 15.06 MB / 0.7916 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.577e-05/1.037, allocations: 85.34 kB / 0.7917 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001828/1.037, allocations: 180.2 kB / 0.7919 GB, free: 153.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03132/1.068, allocations: 10.26 MB / 0.8019 GB, free: 150.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004281/1.072, allocations: 1.748 MB / 0.8036 GB, free: 149.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01341/1.086, allocations: 9.107 MB / 0.8125 GB, free: 140.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005777/1.092, allocations: 1.165 MB / 0.8136 GB, free: 139.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000708/1.092, allocations: 0.6482 MB / 0.8143 GB, free: 138.9 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006011/1.098, allocations: 4.952 MB / 0.8191 GB, free: 133.9 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005732/1.104, allocations: 8.865 MB / 0.8278 GB, free: 122.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01095/1.115, allocations: 13.25 MB / 0.8407 GB, free: 106.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.209e-05/1.115, allocations: 52 kB / 0.8407 GB, free: 106.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1097) (initialization_lambda0): time 0.01985/1.135, allocations: 15 MB / 0.8554 GB, free: 91.65 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.283e-05/1.135, allocations: 80 kB / 0.8555 GB, free: 91.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.515e-05/1.135, allocations: 180 kB / 0.8556 GB, free: 91.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03096/1.166, allocations: 10.25 MB / 0.8656 GB, free: 81.13 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003924/1.17, allocations: 1.735 MB / 0.8673 GB, free: 79.39 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/1.183, allocations: 9.103 MB / 0.8762 GB, free: 70.26 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005332/1.189, allocations: 0.8437 MB / 0.8771 GB, free: 69.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006401/1.189, allocations: 0.6404 MB / 0.8777 GB, free: 68.77 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 12 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (943): * Single equations (assignments): 942 * 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,142)} Notification: Performance of prepare postOptimizeDAE: time 0.001918/1.191, allocations: 0.8415 MB / 0.8785 GB, free: 67.92 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007114/1.192, allocations: 351.5 kB / 0.8788 GB, free: 67.57 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03736/1.229, allocations: 31.18 MB / 0.9093 GB, free: 36.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-05/1.229, allocations: 11.95 kB / 0.9093 GB, free: 36.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.229, allocations: 4.672 kB / 0.9093 GB, free: 36.32 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.231, allocations: 0.8266 MB / 0.9101 GB, free: 35.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005591/1.231, allocations: 87.95 kB / 0.9102 GB, free: 35.39 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00266/1.234, allocations: 283.5 kB / 0.9105 GB, free: 35.11 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000708/1.235, allocations: 337.3 kB / 0.9108 GB, free: 34.78 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01893/1.254, allocations: 8.608 MB / 0.9192 GB, free: 26.21 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00976/1.263, allocations: 8.695 MB / 0.9277 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002777/1.266, allocations: 2.73 MB / 0.9303 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002224/1.268, allocations: 2.312 MB / 0.9326 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of Backend: time 7.72e-07/1.268, allocations: 0 / 0.9326 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.02757/1.296, allocations: 15.19 MB / 0.9474 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of SimCode: time 0.01307/1.309, allocations: 10.39 MB / 0.9576 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of Templates: time 0.3824/1.692, allocations: 179.1 MB / 1.133 GB, free: 106.5 MB / 0.6387 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D.pipe 2>&1)