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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 180.8 kB / 8.346 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.896/1.896, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000956/0.0009562, allocations: 87.67 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.5976/0.5976, allocations: 48.77 MB / 358.8 MB, free: 53.2 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.298e-05, allocations: 4 kB / 425.3 MB, free: 8.242 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1877, allocations: 60.25 MB / 485.5 MB, free: 11.85 MB / 379.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.373/8.561, allocations: 2.942 GB / 3.416 GB, free: 64.21 MB / 0.5108 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/8.562, allocations: 79.33 kB / 3.416 GB, free: 64.17 MB / 0.5108 GB Notification: Performance of FrontEnd - DAE generated: time 1.67/10.23, allocations: 375 MB / 3.782 GB, free: 60.66 MB / 0.5108 GB Notification: Performance of FrontEnd: time 2.766e-06/10.23, allocations: 0 / 3.782 GB, free: 60.66 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0002711/10.23, allocations: 90.5 kB / 3.783 GB, free: 60.66 MB / 0.5108 GB 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.03731/10.27, allocations: 10.14 MB / 3.792 GB, free: 59.05 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/10.27, allocations: 7.938 kB / 3.792 GB, free: 59.05 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007249/10.28, allocations: 0.7988 MB / 3.793 GB, free: 58.81 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01174/10.29, allocations: 3.011 MB / 3.796 GB, free: 58.04 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005235/10.29, allocations: 175.6 kB / 3.796 GB, free: 58.03 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004674/10.29, allocations: 316.3 kB / 3.797 GB, free: 58.03 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0458/10.34, allocations: 11.36 MB / 3.808 GB, free: 54.96 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02911/10.37, allocations: 8.826 MB / 3.816 GB, free: 52 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003406/10.37, allocations: 0 / 3.816 GB, free: 52 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004031/10.37, allocations: 3.797 kB / 3.816 GB, free: 52 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002195/10.37, allocations: 211.9 kB / 3.817 GB, free: 51.98 MB / 0.5108 GB Warning: The model contains alias variables with conflicting start and/or 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.06003/10.43, allocations: 23.81 MB / 3.84 GB, free: 33.38 MB / 0.5108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00819/10.44, allocations: 3.043 MB / 3.843 GB, free: 31.86 MB / 0.5108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/10.45, allocations: 1.985 MB / 3.845 GB, free: 30.91 MB / 0.5108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5792/11.03, allocations: 63.98 MB / 3.907 GB, free: 62.68 MB / 0.5265 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001245/11.03, allocations: 62.69 kB / 3.907 GB, free: 62.64 MB / 0.5265 GB Notification: Performance of pre-optimization done (n=249): time 6.262e-06/11.03, allocations: 0 / 3.907 GB, free: 62.64 MB / 0.5265 GB Notification: Performance of matching and sorting (n=249): time 0.04014/11.07, allocations: 11.19 MB / 3.918 GB, free: 62.47 MB / 0.5265 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.017e-05/11.07, allocations: 79.44 kB / 3.918 GB, free: 62.41 MB / 0.5265 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006291/11.07, allocations: 3.332 MB / 3.922 GB, free: 62.09 MB / 0.5265 GB Notification: Performance of collectPreVariables (initialization): time 0.00199/11.08, allocations: 25.7 kB / 3.922 GB, free: 62.06 MB / 0.5265 GB Notification: Performance of collectInitialEqns (initialization): time 0.002493/11.08, allocations: 3.165 MB / 3.925 GB, free: 60.3 MB / 0.5265 GB Notification: Performance of collectInitialBindings (initialization): time 0.003016/11.08, allocations: 0.9753 MB / 3.926 GB, free: 59.75 MB / 0.5265 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007351/11.08, allocations: 2.406 kB / 3.926 GB, free: 59.75 MB / 0.5265 GB Notification: Performance of setup shared object (initialization): time 0.0007174/11.08, allocations: 0.7153 MB / 3.926 GB, free: 59.42 MB / 0.5265 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005451/11.09, allocations: 3.557 MB / 3.93 GB, free: 59.39 MB / 0.5265 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0117/11.1, allocations: 8.549 MB / 3.938 GB, free: 52.92 MB / 0.5265 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01978/11.12, allocations: 5.476 MB / 3.943 GB, free: 52.86 MB / 0.5265 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005347/11.12, allocations: 54.22 kB / 3.944 GB, free: 52.86 MB / 0.5265 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.04644/11.17, allocations: 13.83 MB / 3.957 GB, free: 51.93 MB / 0.5265 GB Notification: Performance of prepare postOptimizeDAE: time 0.03126/11.2, allocations: 70.23 MB / 4.026 GB, free: 26.53 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008612/11.2, allocations: 176.1 kB / 4.026 GB, free: 26.53 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04115/11.24, allocations: 11.19 MB / 4.037 GB, free: 26.05 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006035/11.25, allocations: 1.712 MB / 4.038 GB, free: 25.89 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02553/11.27, allocations: 10.81 MB / 4.049 GB, free: 25.15 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009455/11.28, allocations: 1.141 MB / 4.05 GB, free: 24.56 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003049/11.28, allocations: 0.6371 MB / 4.051 GB, free: 24.56 MB / 0.5733 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/11.28, allocations: 3.938 kB / 4.051 GB, free: 24.56 MB / 0.5733 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03267/11.32, allocations: 13.18 MB / 4.064 GB, free: 22.04 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008301/11.32, allocations: 177.8 kB / 4.064 GB, free: 22.04 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03917/11.36, allocations: 11.18 MB / 4.075 GB, free: 20.27 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006047/11.36, allocations: 1.703 MB / 4.076 GB, free: 20.05 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02604/11.39, allocations: 10.81 MB / 4.087 GB, free: 16.29 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/11.4, allocations: 0.8242 MB / 4.088 GB, free: 15.94 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003449/11.4, allocations: 0.636 MB / 4.088 GB, free: 15.84 MB / 0.5733 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 163} Notification: Performance of prepare postOptimizeDAE: time 0.00501/11.41, allocations: 0.5052 MB / 4.089 GB, free: 15.41 MB / 0.5733 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/11.41, allocations: 361.8 kB / 4.089 GB, free: 15.21 MB / 0.5733 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5414/11.95, allocations: 34.94 MB / 4.123 GB, free: 109.3 MB / 0.5733 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001525/11.95, allocations: 68.53 kB / 4.123 GB, free: 109.3 MB / 0.5733 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.453e-05/11.95, allocations: 0.625 kB / 4.123 GB, free: 109.3 MB / 0.5733 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001189/11.95, allocations: 15.47 kB / 4.123 GB, free: 109.3 MB / 0.5733 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08919/12.04, allocations: 44.07 MB / 4.166 GB, free: 106.4 MB / 0.5733 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-05/12.04, allocations: 0.75 kB / 4.166 GB, free: 106.4 MB / 0.5733 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003874/12.04, allocations: 394 kB / 4.167 GB, free: 106.4 MB / 0.5733 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03856/12.08, allocations: 8.317 MB / 4.175 GB, free: 106.3 MB / 0.5733 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001994/12.09, allocations: 88.25 kB / 4.175 GB, free: 106.3 MB / 0.5733 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05354/12.14, allocations: 28.97 MB / 4.203 GB, free: 97.16 MB / 0.5733 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/12.14, allocations: 1.312 kB / 4.203 GB, free: 97.16 MB / 0.5733 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04004/12.18, allocations: 14.91 MB / 4.218 GB, free: 92.79 MB / 0.5733 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003822/12.18, allocations: 0.9194 MB / 4.219 GB, free: 92.34 MB / 0.5733 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009509/12.18, allocations: 41.23 kB / 4.219 GB, free: 92.34 MB / 0.5733 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003559/12.19, allocations: 267.8 kB / 4.219 GB, free: 92.33 MB / 0.5733 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001273/12.19, allocations: 253 kB / 4.219 GB, free: 92.29 MB / 0.5733 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002981/12.19, allocations: 104.6 kB / 4.219 GB, free: 92.27 MB / 0.5733 GB Notification: Performance of sorting global known variables: time 0.003083/12.19, allocations: 2.107 MB / 4.221 GB, free: 91.64 MB / 0.5733 GB Notification: Performance of sort global known variables: time 2.2e-07/12.19, allocations: 1.375 kB / 4.221 GB, free: 91.64 MB / 0.5733 GB Notification: Performance of remove unused functions: time 0.02334/12.22, allocations: 3 MB / 4.224 GB, free: 91.5 MB / 0.5733 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.01043/12.23, allocations: 1.502 MB / 4.226 GB, free: 91.34 MB / 0.5733 GB Notification: Performance of simCode: created initialization part: time 0.03905/12.26, allocations: 15.73 MB / 4.241 GB, free: 86.84 MB / 0.5733 GB Notification: Performance of simCode: created event and clocks part: time 1.321e-05/12.26, allocations: 0 / 4.241 GB, free: 86.84 MB / 0.5733 GB Notification: Performance of simCode: created simulation system equations: time 0.01367/12.28, allocations: 4.467 MB / 4.245 GB, free: 85.13 MB / 0.5733 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005544/12.28, allocations: 0.5799 MB / 4.246 GB, free: 84.96 MB / 0.5733 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02466/12.31, allocations: 9.98 MB / 4.256 GB, free: 79.2 MB / 0.5733 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003503/12.31, allocations: 2.883 MB / 4.259 GB, free: 77.01 MB / 0.5733 GB Notification: Performance of simCode: alias equations: time 0.01372/12.33, allocations: 5.684 MB / 4.264 GB, free: 73.59 MB / 0.5733 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001803/12.33, allocations: 277.5 kB / 4.264 GB, free: 73.35 MB / 0.5733 GB Notification: Performance of SimCode: time 1.263e-06/12.33, allocations: 0 / 4.264 GB, free: 73.35 MB / 0.5733 GB Notification: Performance of Templates: time 0.6482/12.98, allocations: 166.2 MB / 4.427 GB, free: 88.89 MB / 0.5733 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)