Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.024/5.024, allocations: 0.5623 GB / 0.5775 GB, free: 3.375 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002615/0.002615, allocations: 359.4 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.231/4.231, allocations: 410.7 MB / 1.113 GB, free: 5.965 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001934/0.001933, allocations: 174.4 kB / 1.226 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007411/0.0007414, allocations: 12 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8337/0.8344, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.203/2.038, allocations: 427.2 MB / 1.879 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/2.038, allocations: 96.59 kB / 1.879 GB, free: 115.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.434/7.472, allocations: 0.9659 GB / 2.845 GB, free: 216.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.525e-06/7.472, allocations: 0 / 2.845 GB, free: 216.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005112/7.473, allocations: 80.91 kB / 2.845 GB, free: 216.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01304/7.486, allocations: 3.167 MB / 2.848 GB, free: 215.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/7.486, allocations: 11.38 kB / 2.848 GB, free: 215.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002413/7.488, allocations: 352 kB / 2.848 GB, free: 215.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01002/7.498, allocations: 2.903 MB / 2.851 GB, free: 215 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002488/7.499, allocations: 178.4 kB / 2.851 GB, free: 215 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/7.5, allocations: 241 kB / 2.851 GB, free: 215 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009931/7.51, allocations: 3.048 MB / 2.854 GB, free: 214.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001119/7.51, allocations: 4.344 kB / 2.854 GB, free: 214.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004748/7.51, allocations: 98.75 kB / 2.854 GB, free: 214.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/7.51, allocations: 70.03 kB / 2.854 GB, free: 214.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008393/7.519, allocations: 2.383 MB / 2.857 GB, free: 214.6 MB / 0.948 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.0292/7.548, allocations: 12.89 MB / 2.869 GB, free: 208.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004157/7.552, allocations: 1.619 MB / 2.871 GB, free: 208.2 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002699/7.555, allocations: 1.15 MB / 2.872 GB, free: 208.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001008/7.556, allocations: 0.7107 MB / 2.873 GB, free: 207.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.3e-05/7.556, allocations: 50.25 kB / 2.873 GB, free: 207.4 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00275/7.559, allocations: 218.6 kB / 2.873 GB, free: 207.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=126): time 1.019e-05/7.559, allocations: 3.75 kB / 2.873 GB, free: 207.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=126): time 0.01778/7.577, allocations: 3.481 MB / 2.876 GB, free: 207 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/7.577, allocations: 144.2 kB / 2.877 GB, free: 206.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004524/7.581, allocations: 1.949 MB / 2.878 GB, free: 206.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004752/7.582, allocations: 63.67 kB / 2.879 GB, free: 206.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00153/7.583, allocations: 1.25 MB / 2.88 GB, free: 206.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007662/7.584, allocations: 439.8 kB / 2.88 GB, free: 205.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001607/7.584, allocations: 35.31 kB / 2.88 GB, free: 205.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001587/7.585, allocations: 373.8 kB / 2.881 GB, free: 205.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001967/7.587, allocations: 0.7005 MB / 2.881 GB, free: 205.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/7.589, allocations: 1.247 MB / 2.882 GB, free: 204.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002564/7.592, allocations: 0.9393 MB / 2.883 GB, free: 204.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-05/7.592, allocations: 3.969 kB / 2.883 GB, free: 204.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007003/7.599, allocations: 2.359 MB / 2.886 GB, free: 204.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003339/7.599, allocations: 0.5008 MB / 2.886 GB, free: 204.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/7.599, allocations: 14.34 kB / 2.886 GB, free: 204.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003642/7.603, allocations: 0.4989 MB / 2.887 GB, free: 204.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002612/7.606, allocations: 333.6 kB / 2.887 GB, free: 204.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004518/7.61, allocations: 3.101 MB / 2.89 GB, free: 202.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003952/7.614, allocations: 226.9 kB / 2.89 GB, free: 202.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004914/7.615, allocations: 81.72 kB / 2.89 GB, free: 202.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/7.615, allocations: 6.594 kB / 2.89 GB, free: 202.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005797/7.621, allocations: 2.134 MB / 2.892 GB, free: 202.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.709e-05/7.621, allocations: 21.09 kB / 2.892 GB, free: 202.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009779/7.622, allocations: 239.8 kB / 2.893 GB, free: 202.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002701/7.624, allocations: 349.9 kB / 2.893 GB, free: 202.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005631/7.63, allocations: 4.152 MB / 2.897 GB, free: 199.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003717/7.634, allocations: 223.8 kB / 2.897 GB, free: 199.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004943/7.634, allocations: 80.88 kB / 2.897 GB, free: 199.4 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.onOffBot.y,onOffBot.y,$PRE.onOffMid.y,onOffMid.y,and2.y,nor.y,$PRE.onOffHea.y,onOffHea.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 177 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 22} Notification: Performance of prepare postOptimizeDAE: time 0.002734/7.637, allocations: 1.011 MB / 2.898 GB, free: 199.2 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007946/7.638, allocations: 203.1 kB / 2.899 GB, free: 199.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005644/7.644, allocations: 2.009 MB / 2.9 GB, free: 199 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.804e-05/7.644, allocations: 22.25 kB / 2.901 GB, free: 199 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/7.644, allocations: 0 / 2.901 GB, free: 199 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004088/7.648, allocations: 1.607 MB / 2.902 GB, free: 198.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/7.661, allocations: 4.581 MB / 2.907 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/7.661, allocations: 2.969 kB / 2.907 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001863/7.663, allocations: 211.7 kB / 2.907 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002973/7.666, allocations: 432.5 kB / 2.907 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000343/7.667, allocations: 33.02 kB / 2.907 GB, free: 198.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004084/7.671, allocations: 3.016 MB / 2.91 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/7.671, allocations: 3.156 kB / 2.91 GB, free: 196.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007588/7.678, allocations: 2.914 MB / 2.913 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002145/7.681, allocations: 0.4999 MB / 2.913 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000951/7.682, allocations: 26.69 kB / 2.914 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003468/7.685, allocations: 196.5 kB / 2.914 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005205/7.686, allocations: 102.3 kB / 2.914 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002407/7.686, allocations: 58.28 kB / 2.914 GB, free: 196 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003118/7.689, allocations: 1.336 MB / 2.915 GB, free: 195.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.62e-07/7.689, allocations: 0 / 2.915 GB, free: 195.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.007488/7.697, allocations: 1.505 MB / 2.917 GB, free: 195.6 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (tan.vol[1].dynBal.U,tan.vol[2].dynBal.U,tan.vol[3].dynBal.U,tan.vol[4].dynBal.U,tan.vol[5].dynBal.U) * Number of discrete variables: 5 (onOffBot.y,onOffMid.y,and2.y,nor.y,onOffHea.y) * Number of discrete states: 3 (onOffBot.y,onOffMid.y,onOffHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 1 {3 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.00174/7.698, allocations: 0.5608 MB / 2.917 GB, free: 195.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008679/7.707, allocations: 3.293 MB / 2.92 GB, free: 195 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/7.707, allocations: 4.969 kB / 2.92 GB, free: 195 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002806/7.71, allocations: 0.9786 MB / 2.921 GB, free: 194.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01058/7.721, allocations: 1.158 MB / 2.922 GB, free: 194.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/7.737, allocations: 6.259 MB / 2.929 GB, free: 192.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003827/7.741, allocations: 2.205 MB / 2.931 GB, free: 191.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.005515/7.747, allocations: 0.9249 MB / 2.932 GB, free: 191.7 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/7.748, allocations: 174.5 kB / 2.932 GB, free: 191.7 MB / 0.948 GB Notification: Performance of SimCode: time 1.703e-06/7.748, allocations: 2.469 kB / 2.932 GB, free: 191.7 MB / 0.948 GB Notification: Performance of Templates: time 0.1333/7.881, allocations: 46.89 MB / 2.978 GB, free: 181.6 MB / 0.948 GB