Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_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.TestWaterFlow1DFEM_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 110.3 kB / 17.74 MB, free: 5.355 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.001153/0.001153, allocations: 185.4 kB / 18.68 MB, free: 4.43 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.344/1.344, allocations: 205.1 MB / 224.6 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.2775/0.2775, allocations: 48.84 MB / 320.8 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.001506/0.001506, allocations: 71.89 kB / 451.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1015, allocations: 59.16 MB / 0.4984 GB, free: 13.24 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A): time 0.2501/0.3516, allocations: 51.74 MB / 0.549 GB, free: 4.254 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01247/0.3641, allocations: 11.51 MB / 0.5602 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006117/0.3648, allocations: 15.62 kB / 0.5602 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009162/0.3657, allocations: 331.4 kB / 0.5605 GB, free: 13.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009786/0.3667, allocations: 469.2 kB / 0.561 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01398/0.3807, allocations: 5.279 MB / 0.5661 GB, free: 10.83 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00672/0.3875, allocations: 6.332 MB / 0.5723 GB, free: 7.375 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003507/0.391, allocations: 2.25 MB / 0.5745 GB, free: 5.961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004211/0.3952, allocations: 1.857 MB / 0.5763 GB, free: 5.125 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005687/0.4009, allocations: 2.988 MB / 0.5792 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002043/0.403, allocations: 0.644 MB / 0.5799 GB, free: 3.426 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0147/0.4177, allocations: 6.926 MB / 0.5866 GB, free: 15.8 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003677/0.4214, allocations: 2.335 MB / 0.5889 GB, free: 13.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00554/0.4269, allocations: 2.879 MB / 0.5917 GB, free: 10.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01657/0.4435, allocations: 10.32 MB / 0.6018 GB, free: 224 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.4436, allocations: 0 / 0.6018 GB, free: 224 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4436, allocations: 3.938 kB / 0.6018 GB, free: 220 kB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001646/0.4438, allocations: 0 / 0.6018 GB, free: 220 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.03058/0.4744, allocations: 8.449 MB / 0.6101 GB, free: 7.688 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.607e-05/0.4744, allocations: 15.89 kB / 0.6101 GB, free: 7.672 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.4791, allocations: 0.8088 MB / 0.6109 GB, free: 6.863 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007623/0.4868, allocations: 2.85 MB / 0.6137 GB, free: 3.969 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004144/0.4872, allocations: 407.1 kB / 0.614 GB, free: 3.57 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001792/0.489, allocations: 0.52 MB / 0.6145 GB, free: 3.051 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02697/0.516, allocations: 12.31 MB / 0.6266 GB, free: 6.691 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.5161, allocations: 0 / 0.6266 GB, free: 6.691 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001249/0.5174, allocations: 216 kB / 0.6268 GB, free: 6.48 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/0.5176, allocations: 226.8 kB / 0.627 GB, free: 6.258 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04131/0.5589, allocations: 14.43 MB / 0.6411 GB, free: 7.809 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.03444/0.5934, allocations: 24.16 MB / 0.6647 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0112/0.6046, allocations: 4.673 MB / 0.6692 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003026/0.6077, allocations: 2.125 MB / 0.6713 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1234/0.7311, allocations: 64.28 MB / 0.7341 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.892e-05/0.7312, allocations: 60.56 kB / 0.7341 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=249): time 5.38e-06/0.7312, allocations: 0 / 0.7341 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=249): time 0.3364/1.068, allocations: 26.57 MB / 0.7601 GB, free: 165.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/1.068, allocations: 78.28 kB / 0.7602 GB, free: 165.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004627/1.072, allocations: 3.992 MB / 0.7641 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0008493/1.073, allocations: 67.08 kB / 0.7641 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0014/1.075, allocations: 3.33 MB / 0.7674 GB, free: 163.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/1.076, allocations: 1.048 MB / 0.7684 GB, free: 163.1 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00237/1.078, allocations: 1.973 MB / 0.7703 GB, free: 162.9 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.089e-05/1.078, allocations: 351.3 kB / 0.7707 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00566/1.084, allocations: 3.907 MB / 0.7745 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007421/1.092, allocations: 8.929 MB / 0.7832 GB, free: 155.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01308/1.105, allocations: 13.45 MB / 0.7963 GB, free: 144.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002178/1.105, allocations: 52.16 kB / 0.7964 GB, free: 144.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.02436/1.129, allocations: 15.14 MB / 0.8112 GB, free: 134.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002183/1.13, allocations: 83.91 kB / 0.8113 GB, free: 134.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002474/1.13, allocations: 184.1 kB / 0.8114 GB, free: 134.5 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03893/1.169, allocations: 11.63 MB / 0.8228 GB, free: 122.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004712/1.173, allocations: 1.714 MB / 0.8245 GB, free: 121.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01841/1.192, allocations: 9.884 MB / 0.8341 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006901/1.199, allocations: 1.214 MB / 0.8353 GB, free: 110.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001484/1.2, allocations: 0.6371 MB / 0.8359 GB, free: 109.6 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.007428/1.208, allocations: 5.054 MB / 0.8409 GB, free: 104.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007271/1.215, allocations: 8.866 MB / 0.8495 GB, free: 93.13 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01344/1.229, allocations: 13.32 MB / 0.8625 GB, free: 77.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001164/1.229, allocations: 48 kB / 0.8626 GB, free: 77.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1093) (initialization_lambda0): time 0.02747/1.256, allocations: 15.88 MB / 0.8781 GB, free: 61.32 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/1.256, allocations: 80 kB / 0.8782 GB, free: 61.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001821/1.257, allocations: 182.9 kB / 0.8783 GB, free: 61.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03832/1.295, allocations: 11.66 MB / 0.8897 GB, free: 49.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00426/1.299, allocations: 1.692 MB / 0.8914 GB, free: 47.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01746/1.317, allocations: 9.897 MB / 0.901 GB, free: 37.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006203/1.323, allocations: 0.8791 MB / 0.9019 GB, free: 36.89 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.324, allocations: 0.6394 MB / 0.9025 GB, free: 36.26 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 (918): * Single equations (assignments): 917 * 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,163)} Notification: Performance of prepare postOptimizeDAE: time 0.002333/1.326, allocations: 0.8364 MB / 0.9033 GB, free: 35.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009632/1.327, allocations: 373.6 kB / 0.9037 GB, free: 35.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04274/1.37, allocations: 32.53 MB / 0.9355 GB, free: 2.473 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.64e-05/1.37, allocations: 16.5 kB / 0.9355 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.37, allocations: 0 / 0.9355 GB, free: 2.457 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/1.372, allocations: 0.8951 MB / 0.9363 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008473/1.373, allocations: 87.97 kB / 0.9364 GB, free: 1.453 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003182/1.376, allocations: 307.4 kB / 0.9367 GB, free: 1.152 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001075/1.377, allocations: 353.6 kB / 0.9371 GB, free: 0.8047 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02512/1.402, allocations: 9.443 MB / 0.9463 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01437/1.417, allocations: 9.291 MB / 0.9554 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004146/1.421, allocations: 2.924 MB / 0.9582 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003279/1.424, allocations: 2.322 MB / 0.9605 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of Backend: time 5.71e-07/1.424, allocations: 0 / 0.9605 GB, free: 8.832 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.03596/1.46, allocations: 15.83 MB / 0.9759 GB, free: 9.211 MB / 0.6387 GB Notification: Performance of SimCode: time 0.2165/1.677, allocations: 11.01 MB / 0.9867 GB, free: 228.5 MB / 0.6387 GB Notification: Performance of Templates: time 0.1987/1.875, allocations: 184 MB / 1.166 GB, free: 75.23 MB / 0.6387 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A.pipe 2>&1)