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.193/2.193, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001574/0.001573, allocations: 181.8 kB / 325.5 MB, free: 2.898 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.507/2.507, allocations: 205.4 MB / 0.5764 GB, free: 21.2 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.001133/0.001133, allocations: 95.91 kB / 0.6809 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004895/0.0004896, allocations: 12.81 kB / 0.795 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2171, allocations: 106.3 MB / 0.8988 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.234/1.451, allocations: 419.6 MB / 1.309 GB, free: 15.95 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/1.451, allocations: 91.7 kB / 1.309 GB, free: 15.9 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.063/6.514, allocations: 0.9482 GB / 2.257 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.314e-06/6.514, allocations: 0 / 2.257 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004838/6.515, allocations: 75.17 kB / 2.257 GB, free: 165.2 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.0123/6.527, allocations: 3.159 MB / 2.26 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/6.527, allocations: 6.969 kB / 2.26 GB, free: 163.1 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001581/6.529, allocations: 337 kB / 2.26 GB, free: 162.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002019/6.531, allocations: 354.2 kB / 2.261 GB, free: 162.7 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01013/6.541, allocations: 3.045 MB / 2.264 GB, free: 160.8 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000225/6.541, allocations: 176.9 kB / 2.264 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009489/6.542, allocations: 243.1 kB / 2.264 GB, free: 160.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0087/6.551, allocations: 2.994 MB / 2.267 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001065/6.551, allocations: 11.12 kB / 2.267 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004207/6.551, allocations: 97.16 kB / 2.267 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.885e-05/6.551, allocations: 63.61 kB / 2.267 GB, free: 158.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007508/6.559, allocations: 2.389 MB / 2.269 GB, free: 157.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.02638/6.585, allocations: 12.94 MB / 2.282 GB, free: 145.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00416/6.59, allocations: 1.645 MB / 2.284 GB, free: 143.5 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009761/6.591, allocations: 0.7143 MB / 2.284 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/6.591, allocations: 51.56 kB / 2.284 GB, free: 142.6 MB / 0.8855 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002636/6.593, allocations: 228.6 kB / 2.285 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=126): time 5.811e-06/6.593, allocations: 1.625 kB / 2.285 GB, free: 142.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=126): time 0.01451/6.608, allocations: 3.337 MB / 2.288 GB, free: 139 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/6.608, allocations: 141.5 kB / 2.288 GB, free: 138.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004123/6.612, allocations: 1.874 MB / 2.29 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0004704/6.613, allocations: 63.75 kB / 2.29 GB, free: 136.9 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001463/6.614, allocations: 1.246 MB / 2.291 GB, free: 135.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007649/6.615, allocations: 448.3 kB / 2.292 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000183/6.615, allocations: 32 kB / 2.292 GB, free: 135.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001379/6.615, allocations: 376.6 kB / 2.292 GB, free: 134.8 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001754/6.617, allocations: 0.7066 MB / 2.293 GB, free: 134.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002129/6.619, allocations: 1.235 MB / 2.294 GB, free: 132.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002236/6.621, allocations: 0.9338 MB / 2.295 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.677e-05/6.621, allocations: 4 kB / 2.295 GB, free: 131.7 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006119/6.628, allocations: 2.359 MB / 2.297 GB, free: 129.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001388/6.629, allocations: 5.708 MB / 2.303 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.336e-05/6.629, allocations: 15.88 kB / 2.303 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002646/6.632, allocations: 454.5 kB / 2.303 GB, free: 122.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/6.635, allocations: 355.4 kB / 2.303 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004491/6.639, allocations: 3.125 MB / 2.307 GB, free: 119.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003766/6.643, allocations: 237.1 kB / 2.307 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003594/6.643, allocations: 75.98 kB / 2.307 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/6.643, allocations: 4 kB / 2.307 GB, free: 118.9 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005378/6.649, allocations: 2.141 MB / 2.309 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.484e-05/6.649, allocations: 12.44 kB / 2.309 GB, free: 116.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009308/6.65, allocations: 245.5 kB / 2.309 GB, free: 116.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00275/6.652, allocations: 367.4 kB / 2.309 GB, free: 116.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005557/6.658, allocations: 4.212 MB / 2.314 GB, free: 111.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003673/6.662, allocations: 215.6 kB / 2.314 GB, free: 111.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003434/6.662, allocations: 88.03 kB / 2.314 GB, free: 111.3 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.002469/6.665, allocations: 1.01 MB / 2.315 GB, free: 110.3 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007895/6.665, allocations: 209.5 kB / 2.315 GB, free: 110.1 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005306/6.671, allocations: 2.011 MB / 2.317 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-05/6.671, allocations: 12 kB / 2.317 GB, free: 108.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/6.671, allocations: 7.953 kB / 2.317 GB, free: 108 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003664/6.675, allocations: 1.613 MB / 2.319 GB, free: 106.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01214/6.687, allocations: 4.529 MB / 2.323 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-05/6.687, allocations: 96 / 2.323 GB, free: 101.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/6.689, allocations: 215.7 kB / 2.323 GB, free: 101.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/6.691, allocations: 410.8 kB / 2.324 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002353/6.691, allocations: 27.98 kB / 2.324 GB, free: 101.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003942/6.695, allocations: 3.045 MB / 2.327 GB, free: 97.98 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/6.695, allocations: 4.031 kB / 2.327 GB, free: 97.98 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007737/6.703, allocations: 2.971 MB / 2.33 GB, free: 94.94 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002346/6.705, allocations: 0.5217 MB / 2.33 GB, free: 94.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008937/6.706, allocations: 27.98 kB / 2.33 GB, free: 94.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003557/6.71, allocations: 191.7 kB / 2.33 GB, free: 94.18 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005528/6.71, allocations: 97.16 kB / 2.33 GB, free: 94.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002104/6.711, allocations: 51.97 kB / 2.33 GB, free: 94.04 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.003489/6.714, allocations: 1.447 MB / 2.332 GB, free: 92.57 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6.21e-07/6.714, allocations: 0 / 2.332 GB, free: 92.57 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007342/6.722, allocations: 1.519 MB / 2.333 GB, free: 91.05 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.008542/6.73, allocations: 4.179 MB / 2.337 GB, free: 86.88 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.008042/6.738, allocations: 3.303 MB / 2.341 GB, free: 83.55 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/6.738, allocations: 0 / 2.341 GB, free: 83.55 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.002271/6.741, allocations: 0.9869 MB / 2.342 GB, free: 82.55 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009467/6.75, allocations: 1.136 MB / 2.343 GB, free: 81.45 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01931/6.769, allocations: 17.19 MB / 2.359 GB, free: 63.92 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002348/6.772, allocations: 2.203 MB / 2.362 GB, free: 61.68 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004931/6.777, allocations: 0.9465 MB / 2.363 GB, free: 60.76 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002557/6.779, allocations: 1.015 MB / 2.364 GB, free: 59.75 MB / 0.8855 GB Notification: Performance of SimCode: time 1.453e-06/6.779, allocations: 0 / 2.364 GB, free: 59.75 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8134/7.593, allocations: 68.73 MB / 2.431 GB, free: 165.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003607/7.593, allocations: 271.8 kB / 2.431 GB, free: 164.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.995/12.59, allocations: 0 / 2.431 GB, free: 164.8 MB / 0.8855 GB