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.171/2.171, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001515/0.001515, allocations: 183.3 kB / 325.6 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.351/2.351, allocations: 205.4 MB / 0.5766 GB, free: 20.77 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.001217/0.001217, allocations: 98.22 kB / 0.6811 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004917/0.0004916, allocations: 16.28 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.223/1.444, allocations: 419.6 MB / 1.309 GB, free: 3.648 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003596/1.444, allocations: 100.9 kB / 1.309 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.043/6.487, allocations: 0.9482 GB / 2.257 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.004e-06/6.487, allocations: 4.734 kB / 2.257 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004985/6.488, allocations: 79.84 kB / 2.257 GB, free: 145 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.01212/6.5, allocations: 3.144 MB / 2.26 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/6.5, allocations: 8.031 kB / 2.26 GB, free: 141.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002335/6.502, allocations: 360 kB / 2.26 GB, free: 141.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009948/6.512, allocations: 3.045 MB / 2.263 GB, free: 138.5 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/6.512, allocations: 180.6 kB / 2.264 GB, free: 138.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009562/6.513, allocations: 234.5 kB / 2.264 GB, free: 138.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008728/6.522, allocations: 3 MB / 2.267 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/6.522, allocations: 11.83 kB / 2.267 GB, free: 134.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003933/6.523, allocations: 100 kB / 2.267 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.911e-05/6.523, allocations: 62.41 kB / 2.267 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007217/6.53, allocations: 2.387 MB / 2.269 GB, free: 132.4 MB / 0.8855 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.02662/6.557, allocations: 12.94 MB / 2.282 GB, free: 118.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003999/6.561, allocations: 1.638 MB / 2.283 GB, free: 117.1 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009648/6.562, allocations: 0.713 MB / 2.284 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/6.562, allocations: 49.09 kB / 2.284 GB, free: 116.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002477/6.564, allocations: 226.5 kB / 2.284 GB, free: 116 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=126): time 5.5e-06/6.564, allocations: 0 / 2.284 GB, free: 116 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126): time 0.01436/6.579, allocations: 3.345 MB / 2.288 GB, free: 112.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/6.579, allocations: 145.5 kB / 2.288 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004292/6.583, allocations: 1.874 MB / 2.29 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000449/6.584, allocations: 53.7 kB / 2.29 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001482/6.585, allocations: 1.258 MB / 2.291 GB, free: 109.2 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007484/6.586, allocations: 444.5 kB / 2.291 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/6.586, allocations: 36 kB / 2.291 GB, free: 108.7 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001413/6.586, allocations: 373.9 kB / 2.292 GB, free: 108.4 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001708/6.588, allocations: 0.7027 MB / 2.292 GB, free: 107.7 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/6.59, allocations: 1.232 MB / 2.294 GB, free: 106.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002247/6.592, allocations: 0.9421 MB / 2.295 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-05/6.592, allocations: 7.984 kB / 2.295 GB, free: 105.3 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006061/6.598, allocations: 2.362 MB / 2.297 GB, free: 102.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001183/6.6, allocations: 5.706 MB / 2.302 GB, free: 96.71 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-05/6.6, allocations: 16 kB / 2.302 GB, free: 96.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002618/6.602, allocations: 449.4 kB / 2.303 GB, free: 96.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/6.605, allocations: 355.4 kB / 2.303 GB, free: 95.91 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004335/6.609, allocations: 3.144 MB / 2.306 GB, free: 92.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003798/6.613, allocations: 231.5 kB / 2.306 GB, free: 92.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003592/6.614, allocations: 83.97 kB / 2.307 GB, free: 92.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/6.614, allocations: 4 kB / 2.307 GB, free: 92.29 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005206/6.619, allocations: 2.136 MB / 2.309 GB, free: 90.15 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.245e-05/6.619, allocations: 16 kB / 2.309 GB, free: 90.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008818/6.62, allocations: 230.2 kB / 2.309 GB, free: 89.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002691/6.623, allocations: 379.3 kB / 2.309 GB, free: 89.53 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005395/6.628, allocations: 4.198 MB / 2.313 GB, free: 85.08 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/6.632, allocations: 223.6 kB / 2.314 GB, free: 84.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004163/6.632, allocations: 83.94 kB / 2.314 GB, free: 84.78 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 () * 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.002587/6.635, allocations: 1.004 MB / 2.315 GB, free: 83.76 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007515/6.635, allocations: 201.5 kB / 2.315 GB, free: 83.56 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00621/6.642, allocations: 2.011 MB / 2.317 GB, free: 81.54 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.897e-05/6.642, allocations: 15.98 kB / 2.317 GB, free: 81.52 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/6.642, allocations: 3.953 kB / 2.317 GB, free: 81.52 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004399/6.646, allocations: 1.613 MB / 2.318 GB, free: 79.89 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01327/6.66, allocations: 4.543 MB / 2.323 GB, free: 75.28 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/6.66, allocations: 0 / 2.323 GB, free: 75.28 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001928/6.662, allocations: 203.8 kB / 2.323 GB, free: 75.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002317/6.664, allocations: 415.9 kB / 2.323 GB, free: 74.67 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002611/6.664, allocations: 35.97 kB / 2.323 GB, free: 74.64 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003785/6.668, allocations: 3.049 MB / 2.326 GB, free: 71.44 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/6.668, allocations: 0 / 2.326 GB, free: 71.44 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006637/6.675, allocations: 2.968 MB / 2.329 GB, free: 68.41 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001919/6.677, allocations: 0.514 MB / 2.33 GB, free: 67.87 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000678/6.677, allocations: 28 kB / 2.33 GB, free: 67.84 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003011/6.68, allocations: 187.6 kB / 2.33 GB, free: 67.66 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004197/6.681, allocations: 101.1 kB / 2.33 GB, free: 67.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001982/6.681, allocations: 59.95 kB / 2.33 GB, free: 67.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003236/6.684, allocations: 1.451 MB / 2.332 GB, free: 66.03 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.61e-07/6.684, allocations: 0 / 2.332 GB, free: 66.03 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006615/6.691, allocations: 1.511 MB / 2.333 GB, free: 64.52 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) * 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.001537/6.693, allocations: 0.5694 MB / 2.334 GB, free: 64 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.007853/6.7, allocations: 3.306 MB / 2.337 GB, free: 60.67 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/6.7, allocations: 8 kB / 2.337 GB, free: 60.66 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002176/6.703, allocations: 0.981 MB / 2.338 GB, free: 59.67 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009413/6.712, allocations: 1.135 MB / 2.339 GB, free: 58.57 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0135/6.726, allocations: 6.241 MB / 2.345 GB, free: 52.33 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002907/6.729, allocations: 2.202 MB / 2.347 GB, free: 50.09 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005067/6.734, allocations: 0.9346 MB / 2.348 GB, free: 49.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001/6.735, allocations: 179.4 kB / 2.348 GB, free: 49 MB / 0.8855 GB Notification: Performance of SimCode: time 9.52e-07/6.735, allocations: 0 / 2.348 GB, free: 49 MB / 0.8855 GB Notification: Performance of Templates: time 0.1097/6.844, allocations: 46.8 MB / 2.394 GB, free: 2.875 MB / 0.8855 GB