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.002149/0.002149, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.4 MB / 223.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008348/0.0008348, allocations: 85.48 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.4959/0.4959, allocations: 48.78 MB / 369 MB, free: 47.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.0003659, allocations: 12 kB / 439.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1436, allocations: 60.26 MB / 0.4884 GB, free: 14.3 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.292/6.435, allocations: 2.943 GB / 3.431 GB, free: 77.09 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/6.436, allocations: 86.62 kB / 3.432 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.315/7.751, allocations: 379.3 MB / 3.802 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.258e-06/7.751, allocations: 0 / 3.802 GB, free: 58.13 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001569/7.751, allocations: 92.91 kB / 3.802 GB, free: 58.13 MB / 0.5105 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.03598/7.787, allocations: 10.2 MB / 3.812 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/7.787, allocations: 14.25 kB / 3.812 GB, free: 56.14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007339/7.795, allocations: 0.7968 MB / 3.813 GB, free: 55.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01159/7.806, allocations: 3.028 MB / 3.816 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006452/7.807, allocations: 404.4 kB / 3.816 GB, free: 54.62 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004418/7.811, allocations: 0.5223 MB / 3.817 GB, free: 54.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04114/7.853, allocations: 12.19 MB / 3.829 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003764/7.853, allocations: 0 / 3.829 GB, free: 50.2 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004237/7.857, allocations: 221 kB / 3.829 GB, free: 50.03 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002321/7.857, allocations: 210.7 kB / 3.829 GB, free: 50.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.054/7.911, allocations: 14.18 MB / 3.843 GB, free: 45.88 MB / 0.5105 GB 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.05224/7.964, allocations: 24.34 MB / 3.867 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01196/7.976, allocations: 4.577 MB / 3.871 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004275/7.98, allocations: 2.115 MB / 3.873 GB, free: 22.29 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4407/8.421, allocations: 63.75 MB / 3.935 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.92e-05/8.421, allocations: 60.59 kB / 3.935 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=249): time 8.747e-06/8.421, allocations: 2.719 kB / 3.935 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=249): time 0.121/8.542, allocations: 26.02 MB / 3.961 GB, free: 55.63 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.109e-05/8.542, allocations: 81.12 kB / 3.961 GB, free: 55.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009435/8.552, allocations: 3.981 MB / 3.965 GB, free: 55.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001637/8.553, allocations: 71.33 kB / 3.965 GB, free: 55.22 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002603/8.556, allocations: 3.17 MB / 3.968 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002678/8.559, allocations: 1.011 MB / 3.969 GB, free: 52.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001878/8.561, allocations: 168.4 kB / 3.969 GB, free: 52.9 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001077/8.562, allocations: 0.7174 MB / 3.97 GB, free: 52.57 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00906/8.571, allocations: 3.813 MB / 3.974 GB, free: 52.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01207/8.583, allocations: 8.889 MB / 3.982 GB, free: 45.89 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02035/8.603, allocations: 13.34 MB / 3.995 GB, free: 38.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004441/8.604, allocations: 52.38 kB / 3.995 GB, free: 38.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.03956/8.643, allocations: 14.95 MB / 4.01 GB, free: 37.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.004863/8.648, allocations: 5.306 MB / 4.015 GB, free: 30.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000584/8.649, allocations: 175.8 kB / 4.015 GB, free: 30.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03964/8.688, allocations: 11.54 MB / 4.027 GB, free: 29.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005625/8.694, allocations: 1.72 MB / 4.028 GB, free: 28.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/8.718, allocations: 9.792 MB / 4.038 GB, free: 25.51 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009725/8.728, allocations: 1.315 MB / 4.039 GB, free: 24.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00343/8.732, allocations: 0.639 MB / 4.04 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/8.732, allocations: 11.25 kB / 4.04 GB, free: 24.68 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03684/8.769, allocations: 14.47 MB / 4.054 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007611/8.769, allocations: 175.5 kB / 4.054 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03938/8.809, allocations: 11.54 MB / 4.065 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005673/8.815, allocations: 1.699 MB / 4.067 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02455/8.839, allocations: 9.793 MB / 4.077 GB, free: 4.773 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009374/8.849, allocations: 0.9914 MB / 4.078 GB, free: 3.875 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003082/8.852, allocations: 0.6274 MB / 4.078 GB, free: 3.301 MB / 0.5261 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 (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.007872/8.86, allocations: 1.858 MB / 4.08 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002204/8.862, allocations: 363.3 kB / 4.08 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4684/9.33, allocations: 34.49 MB / 4.114 GB, free: 72.93 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001205/9.33, allocations: 71.31 kB / 4.114 GB, free: 72.93 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/9.33, allocations: 3.641 kB / 4.114 GB, free: 72.93 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001076/9.331, allocations: 16.92 kB / 4.114 GB, free: 72.92 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07895/9.41, allocations: 43.82 MB / 4.157 GB, free: 68.22 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.894e-05/9.41, allocations: 0.7969 kB / 4.157 GB, free: 68.22 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003225/9.413, allocations: 393.3 kB / 4.157 GB, free: 68.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0381/9.451, allocations: 8.422 MB / 4.165 GB, free: 67.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002383/9.453, allocations: 125.9 kB / 4.166 GB, free: 67.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0532/9.507, allocations: 30.05 MB / 4.195 GB, free: 56.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/9.507, allocations: 4.25 kB / 4.195 GB, free: 56.84 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03964/9.546, allocations: 15.23 MB / 4.21 GB, free: 52.29 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003373/9.55, allocations: 0.9231 MB / 4.211 GB, free: 51.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001733/9.552, allocations: 92.56 kB / 4.211 GB, free: 51.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004255/9.556, allocations: 306.6 kB / 4.211 GB, free: 51.74 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00228/9.558, allocations: 252.6 kB / 4.211 GB, free: 51.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009511/9.559, allocations: 98.25 kB / 4.211 GB, free: 51.69 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004599/9.564, allocations: 2.327 MB / 4.214 GB, free: 51.04 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.01e-07/9.564, allocations: 0.5625 kB / 4.214 GB, free: 51.04 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02425/9.588, allocations: 3.392 MB / 4.217 GB, free: 50.59 MB / 0.5417 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 () * Number of clocked 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.01245/9.601, allocations: 1.415 MB / 4.218 GB, free: 50.43 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.04507/9.646, allocations: 16.86 MB / 4.235 GB, free: 45.61 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.649e-05/9.646, allocations: 0 / 4.235 GB, free: 45.61 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01511/9.661, allocations: 4.685 MB / 4.239 GB, free: 43.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008332/9.669, allocations: 0.694 MB / 4.24 GB, free: 43.59 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0332/9.703, allocations: 13.66 MB / 4.253 GB, free: 32.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005349/9.708, allocations: 2.796 MB / 4.256 GB, free: 30.73 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.01379/9.722, allocations: 5.654 MB / 4.262 GB, free: 27.32 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001669/9.724, allocations: 287.8 kB / 4.262 GB, free: 27.07 MB / 0.5417 GB Notification: Performance of SimCode: time 1.883e-06/9.724, allocations: 0 / 4.262 GB, free: 27.07 MB / 0.5417 GB Notification: Performance of Templates: time 0.6445/10.37, allocations: 176.5 MB / 4.434 GB, free: 57.3 MB / 0.5573 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)