Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.202/2.202, allocations: 252.6 MB / 265.2 MB, free: 5.621 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00147/0.00147, allocations: 189.7 kB / 324.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.98/1.98, allocations: 205.4 MB / 0.5754 GB, free: 10.43 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 94.62 kB / 0.6797 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.486e-05/3.501e-05, allocations: 4 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2075/0.2076, allocations: 106.2 MB / 0.8949 GB, free: 6.238 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.85/2.058, allocations: 419.5 MB / 1.305 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/2.058, allocations: 86.67 kB / 1.305 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.742/6.8, allocations: 0.9456 GB / 2.25 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.335e-06/6.8, allocations: 0 / 2.25 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0005667/6.8, allocations: 75.92 kB / 2.25 GB, free: 14.3 MB / 0.8855 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.01129/6.812, allocations: 2.684 MB / 2.253 GB, free: 11.56 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/6.812, allocations: 16.03 kB / 2.253 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002428/6.814, allocations: 348.9 kB / 2.253 GB, free: 11.2 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/6.826, allocations: 3.009 MB / 2.256 GB, free: 8.141 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003167/6.826, allocations: 176.6 kB / 2.256 GB, free: 7.965 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001115/6.827, allocations: 247.9 kB / 2.257 GB, free: 7.723 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/6.837, allocations: 2.957 MB / 2.26 GB, free: 4.625 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.73e-05/6.837, allocations: 11.88 kB / 2.26 GB, free: 4.613 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004705/6.838, allocations: 92 kB / 2.26 GB, free: 4.523 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/6.838, allocations: 71.98 kB / 2.26 GB, free: 4.453 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008409/6.847, allocations: 2.336 MB / 2.262 GB, free: 2.102 MB / 0.8855 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.6844/7.531, allocations: 12.94 MB / 2.275 GB, free: 176.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004566/7.536, allocations: 1.618 MB / 2.276 GB, free: 176.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002895/7.539, allocations: 1.116 MB / 2.277 GB, free: 176.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001054/7.54, allocations: 0.709 MB / 2.278 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/7.54, allocations: 51.34 kB / 2.278 GB, free: 175.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002736/7.542, allocations: 231.9 kB / 2.278 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=126): time 8.375e-06/7.542, allocations: 0 / 2.278 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126): time 0.005759/7.548, allocations: 1.69 MB / 2.28 GB, free: 175.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.964e-05/7.548, allocations: 146.7 kB / 2.28 GB, free: 175.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006241/7.555, allocations: 1.852 MB / 2.282 GB, free: 175.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005533/7.555, allocations: 57.16 kB / 2.282 GB, free: 175 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.002129/7.557, allocations: 1.258 MB / 2.283 GB, free: 174.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/7.558, allocations: 443 kB / 2.284 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/7.559, allocations: 33.03 kB / 2.284 GB, free: 174.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001943/7.559, allocations: 369.9 kB / 2.284 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002884/7.562, allocations: 0.688 MB / 2.285 GB, free: 174.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003589/7.565, allocations: 1.221 MB / 2.286 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003626/7.569, allocations: 0.9263 MB / 2.287 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.699e-05/7.569, allocations: 4 kB / 2.287 GB, free: 173.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.009217/7.578, allocations: 2.325 MB / 2.289 GB, free: 173.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001633/7.58, allocations: 5.698 MB / 2.295 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.339e-05/7.58, allocations: 16.2 kB / 2.295 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003956/7.584, allocations: 461.5 kB / 2.295 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003915/7.588, allocations: 355.4 kB / 2.295 GB, free: 167.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006731/7.595, allocations: 3.083 MB / 2.298 GB, free: 165.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005731/7.601, allocations: 228.6 kB / 2.299 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005606/7.601, allocations: 82.8 kB / 2.299 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/7.601, allocations: 8.203 kB / 2.299 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008759/7.61, allocations: 2.103 MB / 2.301 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.24e-05/7.61, allocations: 15.41 kB / 2.301 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/7.612, allocations: 232 kB / 2.301 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004254/7.616, allocations: 375.6 kB / 2.301 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008532/7.625, allocations: 4.147 MB / 2.305 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005198/7.63, allocations: 218.5 kB / 2.306 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007466/7.631, allocations: 85.75 kB / 2.306 GB, free: 162.7 MB / 0.8855 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 () * 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.001035/7.632, allocations: 209.7 kB / 2.306 GB, free: 162.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/7.633, allocations: 207.1 kB / 2.306 GB, free: 162.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006304/7.639, allocations: 1.986 MB / 2.308 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.034e-05/7.639, allocations: 13.86 kB / 2.308 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/7.639, allocations: 2.469 kB / 2.308 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004072/7.644, allocations: 1.586 MB / 2.31 GB, free: 162.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01351/7.657, allocations: 4.561 MB / 2.314 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/7.657, allocations: 1.344 kB / 2.314 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001874/7.659, allocations: 217.8 kB / 2.314 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/7.661, allocations: 411.5 kB / 2.315 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001896/7.662, allocations: 35.14 kB / 2.315 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004079/7.666, allocations: 3 MB / 2.318 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/7.666, allocations: 1.828 kB / 2.318 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006991/7.673, allocations: 2.927 MB / 2.32 GB, free: 159.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/7.675, allocations: 0.5132 MB / 2.321 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004619/7.675, allocations: 29.59 kB / 2.321 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002649/7.678, allocations: 186.4 kB / 2.321 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/7.678, allocations: 102.5 kB / 2.321 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/7.679, allocations: 57.05 kB / 2.321 GB, free: 159.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003193/7.682, allocations: 1.428 MB / 2.323 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.51e-07/7.682, allocations: 0 / 2.323 GB, free: 159.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007055/7.689, allocations: 1.516 MB / 2.324 GB, free: 159 MB / 0.8855 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) * 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.001826/7.691, allocations: 0.5683 MB / 2.325 GB, free: 158.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008291/7.699, allocations: 3.314 MB / 2.328 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/7.699, allocations: 0 / 2.328 GB, free: 158.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002249/7.701, allocations: 0.9663 MB / 2.329 GB, free: 158.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009473/7.711, allocations: 1.131 MB / 2.33 GB, free: 158.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/7.721, allocations: 4.288 MB / 2.334 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002146/7.724, allocations: 2.21 MB / 2.336 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006707/7.73, allocations: 1.366 MB / 2.338 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006587/7.731, allocations: 141.1 kB / 2.338 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.272e-06/7.731, allocations: 0 / 2.338 GB, free: 156.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.1199/7.851, allocations: 50.89 MB / 2.388 GB, free: 154.7 MB / 0.8855 GB