Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.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_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 112.2 kB / 17.75 MB, free: 5.203 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.001375/0.001375, allocations: 189.3 kB / 18.68 MB, free: 4.281 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.276/1.276, allocations: 205.1 MB / 224.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.2511/0.2511, allocations: 48.85 MB / 320.8 MB, free: 10.99 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.00144/0.00144, allocations: 71.89 kB / 451.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09631/0.09776, allocations: 59.17 MB / 0.4984 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp): time 0.231/0.3287, allocations: 52.01 MB / 0.5492 GB, free: 4.641 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01601/0.3448, allocations: 15.73 MB / 0.5646 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005591/0.3454, allocations: 11.94 kB / 0.5646 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008628/0.3463, allocations: 326.1 kB / 0.5649 GB, free: 10.29 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01192/0.3582, allocations: 4.737 MB / 0.5695 GB, free: 8.289 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003764/0.362, allocations: 1.418 MB / 0.5709 GB, free: 7.203 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.3638, allocations: 1.693 MB / 0.5726 GB, free: 6.238 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007364/0.3645, allocations: 0.5872 MB / 0.5731 GB, free: 5.871 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008732/0.3654, allocations: 0.6104 MB / 0.5737 GB, free: 5.551 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008215/0.3663, allocations: 0.6748 MB / 0.5744 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.3664, allocations: 81.72 kB / 0.5745 GB, free: 5.145 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/0.38, allocations: 7.26 MB / 0.5816 GB, free: 1.395 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003494/0.3804, allocations: 348 kB / 0.5819 GB, free: 1.152 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005861/0.381, allocations: 0.5212 MB / 0.5824 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008357/0.3894, allocations: 5.01 MB / 0.5873 GB, free: 13.63 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3894, allocations: 4 kB / 0.5873 GB, free: 13.63 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3894, allocations: 0 / 0.5873 GB, free: 13.63 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.208e-05/0.3894, allocations: 0 / 0.5873 GB, free: 13.63 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.00468/0.3941, allocations: 1.91 MB / 0.5892 GB, free: 12.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.3941, allocations: 8.156 kB / 0.5892 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00124/0.3954, allocations: 240.1 kB / 0.5894 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.3965, allocations: 0.6467 MB / 0.59 GB, free: 11.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.738e-05/0.3966, allocations: 64.39 kB / 0.5901 GB, free: 11.7 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.3967, allocations: 91.73 kB / 0.5902 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004539/0.4012, allocations: 1.989 MB / 0.5921 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.276e-05/0.4013, allocations: 0 / 0.5921 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.579e-05/0.4014, allocations: 39.94 kB / 0.5922 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.716e-05/0.4014, allocations: 37.98 kB / 0.5922 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004638/0.4061, allocations: 1.971 MB / 0.5941 GB, free: 8.148 MB / 446.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.005367/0.4115, allocations: 4.644 MB / 0.5987 GB, free: 3.082 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003525/0.415, allocations: 1.355 MB / 0.6 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006294/0.4156, allocations: 406.6 kB / 0.6004 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1562/0.5718, allocations: 80.41 MB / 0.6789 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.5719, allocations: 39.22 kB / 0.6789 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=72): time 3.126e-06/0.5719, allocations: 0 / 0.6789 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of matching and sorting (n=72): time 0.008356/0.5803, allocations: 2.563 MB / 0.6814 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.795e-05/0.5803, allocations: 60.06 kB / 0.6815 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006768/0.581, allocations: 0.5459 MB / 0.682 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001061/0.5811, allocations: 37.7 kB / 0.6821 GB, free: 4.027 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.5814, allocations: 348.2 kB / 0.6824 GB, free: 3.684 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.5816, allocations: 260.3 kB / 0.6827 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004097/0.582, allocations: 238.4 kB / 0.6829 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5822, allocations: 382.8 kB / 0.6832 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.5832, allocations: 0.5708 MB / 0.6838 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001143/0.5844, allocations: 0.6927 MB / 0.6845 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00219/0.5866, allocations: 1.228 MB / 0.6857 GB, free: 244 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.5866, allocations: 4 kB / 0.6857 GB, free: 240 kB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004276/0.5909, allocations: 2.052 MB / 0.6877 GB, free: 14.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.5909, allocations: 4 kB / 0.6877 GB, free: 14.17 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.5909, allocations: 4 kB / 0.6877 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004226/0.5951, allocations: 1.669 MB / 0.6893 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003783/0.5955, allocations: 84.77 kB / 0.6894 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003965/0.5995, allocations: 2.313 MB / 0.6917 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007674/0.6003, allocations: 91.14 kB / 0.6918 GB, free: 9.98 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.6005, allocations: 75.92 kB / 0.6918 GB, free: 9.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001286/0.6018, allocations: 0.764 MB / 0.6926 GB, free: 9.141 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001114/0.6029, allocations: 0.6818 MB / 0.6932 GB, free: 8.418 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002142/0.605, allocations: 1.232 MB / 0.6944 GB, free: 7.148 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.354e-06/0.605, allocations: 0 / 0.6944 GB, free: 7.148 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.003924/0.609, allocations: 1.992 MB / 0.6964 GB, free: 5.145 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.609, allocations: 7.906 kB / 0.6964 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.609, allocations: 4 kB / 0.6964 GB, free: 5.133 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00413/0.6131, allocations: 1.677 MB / 0.698 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003296/0.6135, allocations: 79.83 kB / 0.6981 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004125/0.6176, allocations: 2.306 MB / 0.7004 GB, free: 1.043 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/0.6184, allocations: 71.48 kB / 0.7004 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/0.6186, allocations: 83.91 kB / 0.7005 GB, free: 0.8906 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (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 (44): * Single equations (assignments): 43 * 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 {(4,41)} Notification: Performance of prepare postOptimizeDAE: time 0.0003234/0.6189, allocations: 220.1 kB / 0.7007 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002601/0.6192, allocations: 71.16 kB / 0.7008 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008913/0.6281, allocations: 8.72 MB / 0.7093 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.282e-05/0.6281, allocations: 3.984 kB / 0.7093 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.6281, allocations: 4 kB / 0.7093 GB, free: 7.848 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004153/0.6285, allocations: 271.3 kB / 0.7096 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.6287, allocations: 16 kB / 0.7096 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007998/0.6295, allocations: 83.84 kB / 0.7097 GB, free: 7.465 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/0.6297, allocations: 64.55 kB / 0.7097 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003388/0.6331, allocations: 1.746 MB / 0.7114 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003393/0.6365, allocations: 2.485 MB / 0.7139 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009831/0.6375, allocations: 0.7404 MB / 0.7146 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004438/0.6379, allocations: 386.8 kB / 0.7149 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of Backend: time 3.91e-07/0.6379, allocations: 0 / 0.7149 GB, free: 2.027 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009665/0.6476, allocations: 3.191 MB / 0.7181 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of SimCode: time 0.003464/0.6511, allocations: 2.492 MB / 0.7205 GB, free: 12.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.2615/0.9126, allocations: 75.39 MB / 0.7941 GB, free: 192.1 MB / 0.5919 GB make -j1 -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.makefile (rm -f ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; mkfifo ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe >> ../files/ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.sim & ./ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_AdaptiveAverageTemp.pipe 2>&1)