Running: ./testmodel.py --libraries=/home/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 (/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) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.StratifiedUnloadAtMinimumTemperature,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Storage_Examples_StratifiedUnloadAtMinimumTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.406/2.406, allocations: 248.5 MB / 261 MB, free: 6.043 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001551/0.001551, allocations: 186.6 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.1 MB / 0.571 GB, free: 11.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 86.48 kB / 0.6754 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.019e-05/4.04e-05, allocations: 4 kB / 0.7869 GB, free: 97.8 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2026, allocations: 106.2 MB / 0.8907 GB, free: 7.449 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.903/2.106, allocations: 419.5 MB / 1.3 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/2.106, allocations: 92.55 kB / 1.3 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.459/6.566, allocations: 0.9456 GB / 2.246 GB, free: 1.688 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.837e-06/6.566, allocations: 7.938 kB / 2.246 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004535/6.566, allocations: 79.86 kB / 2.246 GB, free: 1.602 MB / 0.8698 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.01008/6.576, allocations: 2.687 MB / 2.249 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/6.576, allocations: 8.031 kB / 2.249 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001326/6.578, allocations: 332.9 kB / 2.249 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/6.58, allocations: 352.9 kB / 2.249 GB, free: 14.16 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01122/6.591, allocations: 3.017 MB / 2.252 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/6.591, allocations: 184.6 kB / 2.253 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009353/6.592, allocations: 235.9 kB / 2.253 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009404/6.602, allocations: 2.957 MB / 2.256 GB, free: 7.582 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.773e-05/6.602, allocations: 4 kB / 2.256 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004254/6.602, allocations: 100 kB / 2.256 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/6.602, allocations: 67.92 kB / 2.256 GB, free: 7.414 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007995/6.61, allocations: 2.333 MB / 2.258 GB, free: 5.066 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.6994/7.31, allocations: 12.94 MB / 2.271 GB, free: 180.6 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004648/7.315, allocations: 1.618 MB / 2.272 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002829/7.317, allocations: 1.114 MB / 2.273 GB, free: 180.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001027/7.318, allocations: 0.7131 MB / 2.274 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.87e-05/7.319, allocations: 52.06 kB / 2.274 GB, free: 179.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002676/7.321, allocations: 224.1 kB / 2.274 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=126): time 8.526e-06/7.321, allocations: 2.062 kB / 2.274 GB, free: 179.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126): time 0.005591/7.327, allocations: 1.692 MB / 2.276 GB, free: 179.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/7.327, allocations: 146.9 kB / 2.276 GB, free: 179.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005044/7.332, allocations: 1.852 MB / 2.278 GB, free: 179.1 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0005025/7.333, allocations: 56.95 kB / 2.278 GB, free: 179 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001789/7.334, allocations: 1.256 MB / 2.279 GB, free: 178.7 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009049/7.335, allocations: 443.4 kB / 2.28 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/7.336, allocations: 36.62 kB / 2.28 GB, free: 178.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001666/7.336, allocations: 375.4 kB / 2.28 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00187/7.338, allocations: 0.6935 MB / 2.281 GB, free: 178.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002057/7.34, allocations: 1.216 MB / 2.282 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/7.342, allocations: 0.9207 MB / 2.283 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-05/7.342, allocations: 3.844 kB / 2.283 GB, free: 177.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006766/7.349, allocations: 2.321 MB / 2.285 GB, free: 177.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001904/7.351, allocations: 5.699 MB / 2.291 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/7.351, allocations: 17.31 kB / 2.291 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004621/7.356, allocations: 459.8 kB / 2.291 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004517/7.36, allocations: 353.2 kB / 2.291 GB, free: 171.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005918/7.366, allocations: 3.083 MB / 2.295 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004237/7.371, allocations: 227.6 kB / 2.295 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003696/7.371, allocations: 82.61 kB / 2.295 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/7.371, allocations: 3.594 kB / 2.295 GB, free: 169.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006254/7.377, allocations: 2.111 MB / 2.297 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.347e-05/7.377, allocations: 13.75 kB / 2.297 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001034/7.378, allocations: 242.6 kB / 2.297 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/7.382, allocations: 375.4 kB / 2.297 GB, free: 169.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006128/7.388, allocations: 4.136 MB / 2.302 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004064/7.392, allocations: 219.4 kB / 2.302 GB, free: 166.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003802/7.392, allocations: 84.97 kB / 2.302 GB, free: 166.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.0007191/7.393, allocations: 214 kB / 2.302 GB, free: 166.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007719/7.394, allocations: 204.6 kB / 2.302 GB, free: 166.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006002/7.4, allocations: 1.985 MB / 2.304 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.895e-05/7.4, allocations: 14.09 kB / 2.304 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/7.4, allocations: 2.75 kB / 2.304 GB, free: 166.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004998/7.405, allocations: 1.585 MB / 2.306 GB, free: 166.2 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01599/7.421, allocations: 4.563 MB / 2.31 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-05/7.421, allocations: 1.469 kB / 2.31 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002059/7.423, allocations: 207.1 kB / 2.31 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002469/7.426, allocations: 416.7 kB / 2.311 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002798/7.426, allocations: 37.86 kB / 2.311 GB, free: 165.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004148/7.43, allocations: 2.989 MB / 2.314 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/7.43, allocations: 15.16 kB / 2.314 GB, free: 163.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007405/7.438, allocations: 2.92 MB / 2.317 GB, free: 163.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002324/7.44, allocations: 0.5103 MB / 2.317 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005657/7.44, allocations: 31.67 kB / 2.317 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00296/7.443, allocations: 186.9 kB / 2.317 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003926/7.444, allocations: 97.81 kB / 2.317 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/7.444, allocations: 53.5 kB / 2.317 GB, free: 163.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003272/7.447, allocations: 1.439 MB / 2.319 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5.91e-07/7.447, allocations: 0 / 2.319 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007573/7.455, allocations: 1.515 MB / 2.32 GB, free: 163 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.008514/7.464, allocations: 4.133 MB / 2.324 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008091/7.472, allocations: 3.308 MB / 2.328 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/7.472, allocations: 2.781 kB / 2.328 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/7.474, allocations: 0.9671 MB / 2.329 GB, free: 161.4 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009586/7.484, allocations: 1.14 MB / 2.33 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/7.498, allocations: 5.059 MB / 2.335 GB, free: 160.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/7.5, allocations: 2.206 MB / 2.337 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.006539/7.506, allocations: 1.379 MB / 2.338 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002112/7.509, allocations: 0.9834 MB / 2.339 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.323e-06/7.509, allocations: 0 / 2.339 GB, free: 159.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1683/7.677, allocations: 73.02 MB / 2.41 GB, free: 156.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/7.677, allocations: 238.8 kB / 2.411 GB, free: 156.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.487/13.16, allocations: 0 / 2.411 GB, free: 156.3 MB / 0.8855 GB