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.246/2.246, allocations: 248.7 MB / 256.2 MB, free: 7.082 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.001488/0.001488, allocations: 180.4 kB / 315.4 MB, free: 4 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.029/2.029, allocations: 205.3 MB / 0.5662 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001143/0.001131, allocations: 89.61 kB / 0.6704 GB, free: 5.805 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.257e-05/2.256e-05, allocations: 4 kB / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.208, allocations: 106.3 MB / 0.8841 GB, free: 13 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.88/2.088, allocations: 419.8 MB / 1.294 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/2.088, allocations: 91.09 kB / 1.294 GB, free: 260.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.412/6.501, allocations: 0.9409 GB / 2.235 GB, free: 18.34 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.548e-06/6.501, allocations: 11.98 kB / 2.235 GB, free: 18.33 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004836/6.501, allocations: 79.86 kB / 2.235 GB, free: 18.25 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.009488/6.511, allocations: 2.68 MB / 2.238 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/6.511, allocations: 8.562 kB / 2.238 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002245/6.513, allocations: 356.9 kB / 2.238 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009927/6.523, allocations: 3.021 MB / 2.241 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/6.523, allocations: 72 kB / 2.241 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007981/6.524, allocations: 144 kB / 2.241 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006867/6.531, allocations: 2.196 MB / 2.243 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008148/6.539, allocations: 2.632 MB / 2.246 GB, free: 6.902 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-05/6.539, allocations: 11.91 kB / 2.246 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/6.54, allocations: 0 / 2.246 GB, free: 6.891 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-05/6.54, allocations: 71.98 kB / 2.246 GB, free: 6.82 MB / 0.8698 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.6636/7.203, allocations: 12.54 MB / 2.258 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004758/7.208, allocations: 1.554 MB / 2.26 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003295/7.212, allocations: 1.093 MB / 2.261 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001104/7.213, allocations: 0.7121 MB / 2.262 GB, free: 170.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.966e-05/7.213, allocations: 56.19 kB / 2.262 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002834/7.216, allocations: 201.8 kB / 2.262 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=126): time 1.439e-05/7.216, allocations: 1 kB / 2.262 GB, free: 170.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=126): time 0.006257/7.222, allocations: 1.627 MB / 2.263 GB, free: 170.2 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/7.222, allocations: 146.6 kB / 2.264 GB, free: 170 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005019/7.227, allocations: 1.724 MB / 2.265 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004957/7.228, allocations: 31.95 kB / 2.265 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001912/7.23, allocations: 1.25 MB / 2.266 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009377/7.231, allocations: 431.7 kB / 2.267 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/7.231, allocations: 1.781 kB / 2.267 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001841/7.231, allocations: 369.8 kB / 2.267 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001735/7.233, allocations: 0.657 MB / 2.268 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002712/7.235, allocations: 1.171 MB / 2.269 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00362/7.239, allocations: 0.914 MB / 2.27 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.384e-05/7.239, allocations: 5.469 kB / 2.27 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.0097/7.249, allocations: 2.168 MB / 2.272 GB, free: 168 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001733/7.251, allocations: 5.688 MB / 2.278 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001181/7.251, allocations: 16.47 kB / 2.278 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002667/7.254, allocations: 401.7 kB / 2.278 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003112/7.257, allocations: 360.8 kB / 2.278 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005252/7.262, allocations: 2.988 MB / 2.281 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004158/7.266, allocations: 194.1 kB / 2.281 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005965/7.267, allocations: 83.98 kB / 2.281 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/7.267, allocations: 3.688 kB / 2.281 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007435/7.274, allocations: 1.906 MB / 2.283 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001093/7.275, allocations: 14 kB / 2.283 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001546/7.276, allocations: 211.6 kB / 2.284 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005024/7.281, allocations: 380 kB / 2.284 GB, free: 160.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008858/7.29, allocations: 3.76 MB / 2.288 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00591/7.296, allocations: 186.5 kB / 2.288 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006606/7.297, allocations: 81.36 kB / 2.288 GB, free: 157.6 MB / 0.8698 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 (182): * Single equations (assignments): 180 * 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 19} Notification: Performance of prepare postOptimizeDAE: time 0.001012/7.298, allocations: 154.5 kB / 2.288 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008332/7.306, allocations: 1.622 MB / 2.29 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001338/7.308, allocations: 202.2 kB / 2.29 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009423/7.317, allocations: 1.863 MB / 2.292 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.67e-05/7.317, allocations: 13.31 kB / 2.292 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/7.317, allocations: 3.531 kB / 2.292 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007145/7.324, allocations: 1.493 MB / 2.293 GB, free: 157 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/7.342, allocations: 4.119 MB / 2.297 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/7.342, allocations: 0 / 2.297 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/7.344, allocations: 212 kB / 2.297 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002115/7.346, allocations: 374.3 kB / 2.298 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003462/7.346, allocations: 25.36 kB / 2.298 GB, free: 156.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004188/7.351, allocations: 2.926 MB / 2.301 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/7.351, allocations: 3.125 kB / 2.301 GB, free: 154.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007413/7.358, allocations: 2.847 MB / 2.303 GB, free: 154.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002269/7.361, allocations: 0.5057 MB / 2.304 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000734/7.361, allocations: 16.52 kB / 2.304 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002808/7.364, allocations: 159.3 kB / 2.304 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003158/7.364, allocations: 104.3 kB / 2.304 GB, free: 154 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/7.365, allocations: 61.3 kB / 2.304 GB, free: 154 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.003128/7.368, allocations: 1.309 MB / 2.305 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.022e-06/7.368, allocations: 0 / 2.305 GB, free: 153.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008097/7.376, allocations: 1.459 MB / 2.307 GB, free: 153.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (onOffMid.y,onOffBot.y,onOffHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 97 * 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 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.008224/7.384, allocations: 4.162 MB / 2.311 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007244/7.392, allocations: 3.1 MB / 2.314 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/7.392, allocations: 0 / 2.314 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002056/7.394, allocations: 0.9243 MB / 2.315 GB, free: 152 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009036/7.403, allocations: 1.07 MB / 2.316 GB, free: 151.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01483/7.418, allocations: 4.933 MB / 2.321 GB, free: 151 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002182/7.42, allocations: 2.205 MB / 2.323 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.006605/7.426, allocations: 1.357 MB / 2.324 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002223/7.429, allocations: 0.9756 MB / 2.325 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.132e-06/7.429, allocations: 6.594 kB / 2.325 GB, free: 150.2 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1678/7.597, allocations: 65.96 MB / 2.39 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002967/7.597, allocations: 194.2 kB / 2.39 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.16/12.76, allocations: 3.234 kB / 2.39 GB, free: 147.4 MB / 0.8698 GB