Running command: "" <> buildModelFMU(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage,fileNamePrefix="BuildingSystems_BuildingSystems_Technologies_Chillers_Examples_CompressionChillerWithStorage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(BuildingSystems): time 3.084/3.084, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.078e-05/4.085e-05, allocations: 4 kB / 436.6 MB, free: 2.379 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1693, allocations: 77.74 MB / 0.5023 GB, free: 4.492 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.57/1.74, allocations: 418.2 MB / 0.9108 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/1.74, allocations: 86.7 kB / 0.9108 GB, free: 111.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.836/8.576, allocations: 1.23 GB / 2.141 GB, free: 53.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.585e-06/8.576, allocations: 0 / 2.141 GB, free: 53.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000795/8.577, allocations: 111.5 kB / 2.141 GB, free: 53.54 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 714 * Number of variables: 714 Notification: Performance of Generate backend data structure: time 0.01468/8.591, allocations: 3.699 MB / 2.144 GB, free: 51.93 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/8.591, allocations: 8.688 kB / 2.144 GB, free: 51.93 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00176/8.593, allocations: 394.5 kB / 2.145 GB, free: 51.88 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005789/8.599, allocations: 0.6144 MB / 2.145 GB, free: 51.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01898/8.618, allocations: 4.771 MB / 2.15 GB, free: 51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004222/8.618, allocations: 246.2 kB / 2.15 GB, free: 50.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001456/8.62, allocations: 295.4 kB / 2.151 GB, free: 50.96 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01185/8.632, allocations: 3.226 MB / 2.154 GB, free: 50.53 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001933/8.632, allocations: 13.62 kB / 2.154 GB, free: 50.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001086/8.633, allocations: 121.7 kB / 2.154 GB, free: 50.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001362/8.633, allocations: 82.45 kB / 2.154 GB, free: 50.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00901/8.642, allocations: 2.434 MB / 2.156 GB, free: 50.5 MB / 0.698 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.03611/8.679, allocations: 14.03 MB / 2.17 GB, free: 44.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005047/8.684, allocations: 1.896 MB / 2.172 GB, free: 44.41 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003166/8.687, allocations: 1.115 MB / 2.173 GB, free: 44.39 MB / 0.698 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 evalFunc (simulation): time 0.01824/8.705, allocations: 5.714 MB / 2.179 GB, free: 41.81 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/8.705, allocations: 55.31 kB / 2.179 GB, free: 41.77 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00314/8.708, allocations: 308.4 kB / 2.179 GB, free: 41.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=150): time 1.172e-05/8.709, allocations: 0 / 2.179 GB, free: 41.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=150): time 0.006538/8.715, allocations: 1.726 MB / 2.181 GB, free: 41.43 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.67e-05/8.715, allocations: 154.2 kB / 2.181 GB, free: 41.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008557/8.724, allocations: 2.713 MB / 2.183 GB, free: 41.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005082/8.724, allocations: 58.48 kB / 2.183 GB, free: 40.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002739/8.727, allocations: 1.724 MB / 2.185 GB, free: 40.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001028/8.728, allocations: 0.5292 MB / 2.186 GB, free: 40.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002316/8.728, allocations: 41.78 kB / 2.186 GB, free: 40.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001902/8.729, allocations: 380.7 kB / 2.186 GB, free: 39.76 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001996/8.731, allocations: 0.6812 MB / 2.187 GB, free: 39.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002774/8.734, allocations: 1.321 MB / 2.188 GB, free: 39 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0029/8.736, allocations: 0.9448 MB / 2.189 GB, free: 38.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-05/8.737, allocations: 11.98 kB / 2.189 GB, free: 38.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.008785/8.745, allocations: 2.464 MB / 2.191 GB, free: 38.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001778/8.747, allocations: 7.676 MB / 2.199 GB, free: 30.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001087/8.747, allocations: 23.75 kB / 2.199 GB, free: 30.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009079/8.748, allocations: 178.3 kB / 2.199 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004012/8.752, allocations: 497.2 kB / 2.199 GB, free: 30.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003426/8.756, allocations: 2.262 MB / 2.202 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005385/8.761, allocations: 234.8 kB / 2.202 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006677/8.762, allocations: 101.8 kB / 2.202 GB, free: 29.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/8.762, allocations: 3.469 kB / 2.202 GB, free: 29.2 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006778/8.769, allocations: 2.136 MB / 2.204 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.249e-05/8.769, allocations: 21.95 kB / 2.204 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007574/8.77, allocations: 176.1 kB / 2.204 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003781/8.774, allocations: 486.2 kB / 2.205 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003228/8.777, allocations: 2.279 MB / 2.207 GB, free: 27.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004971/8.782, allocations: 216.2 kB / 2.207 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006625/8.783, allocations: 99.27 kB / 2.207 GB, free: 27.75 MB / 0.698 GB Warning: Assuming fixed start value for the following 7 variables: pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pump$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pump$vol$dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (-273.15 + pump.vol.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_top$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_top$dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (-273.15 + storage.vol_top.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_bot$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_bot$dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (-273.15 + storage.vol_bot.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (-273.15 + storage.vol[2].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (-273.15 + storage.vol[1].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] chiller.volEva.dynBal.U:VARIABLE(start = chiller.volEva.dynBal.fluidVolume * chiller.volEva.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volEva$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volEva$dynBal.Medium.setState_pTX(chiller.volEva.dynBal.p_start, chiller.volEva.dynBal.T_start, {})) + (-273.15 + chiller.volEva.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real chiller.volCon.dynBal.U:VARIABLE(start = chiller.volCon.dynBal.fluidVolume * chiller.volCon.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volCon$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volCon$dynBal.Medium.setState_pTX(chiller.volCon.dynBal.p_start, chiller.volCon.dynBal.T_start, {})) + (-273.15 + chiller.volCon.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.controller.y,controller.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 244 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001483/8.784, allocations: 437.7 kB / 2.208 GB, free: 27.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001229/8.785, allocations: 325.4 kB / 2.208 GB, free: 27.38 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008044/8.793, allocations: 2.277 MB / 2.21 GB, free: 27.21 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-05/8.794, allocations: 24.7 kB / 2.21 GB, free: 27.21 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/8.794, allocations: 6.438 kB / 2.21 GB, free: 27.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004638/8.798, allocations: 1.78 MB / 2.212 GB, free: 26.89 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.02144/8.82, allocations: 5.224 MB / 2.217 GB, free: 26.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-05/8.82, allocations: 0 / 2.217 GB, free: 26.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008444/8.828, allocations: 314.5 kB / 2.217 GB, free: 26.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009603/8.829, allocations: 152.3 kB / 2.218 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004583/8.83, allocations: 46.83 kB / 2.218 GB, free: 26.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00803/8.838, allocations: 2.238 MB / 2.22 GB, free: 24.91 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/8.838, allocations: 6.297 kB / 2.22 GB, free: 24.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02367/8.862, allocations: 3.19 MB / 2.223 GB, free: 24.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003525/8.865, allocations: 0.6519 MB / 2.224 GB, free: 24.11 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001694/8.867, allocations: 33.66 kB / 2.224 GB, free: 24.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005963/8.873, allocations: 184.4 kB / 2.224 GB, free: 24.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006912/8.874, allocations: 115.3 kB / 2.224 GB, free: 24.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003221/8.874, allocations: 57.88 kB / 2.224 GB, free: 24.09 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.008194/8.882, allocations: 2.098 MB / 2.226 GB, free: 23.93 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.152e-06/8.882, allocations: 0 / 2.226 GB, free: 23.93 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01359/8.896, allocations: 2.231 MB / 2.228 GB, free: 23.59 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (senTemConIn.T,senTemConOut.T,chiller.volCon.dynBal.U,chiller.volEva.dynBal.U,senTemEvaIn.T,senTemEvaOut.T,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pump.vol.dynBal.U,pump.filter.x[1],pump.filter.x[2],exp.m,exp.H) * Number of discrete variables: 1 (controller.y) * Number of discrete states: 1 (controller.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * 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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01445/8.91, allocations: 5.961 MB / 2.234 GB, free: 21.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.009834/8.92, allocations: 3.333 MB / 2.237 GB, free: 37.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.256e-05/8.92, allocations: 0.875 kB / 2.237 GB, free: 37.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.002765/8.923, allocations: 1.011 MB / 2.238 GB, free: 37.09 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01527/8.938, allocations: 1.781 MB / 2.24 GB, free: 36.98 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02304/8.962, allocations: 6.696 MB / 2.246 GB, free: 35.01 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004585/8.966, allocations: 2.447 MB / 2.249 GB, free: 34.19 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.01258/8.979, allocations: 1.479 MB / 2.25 GB, free: 33.99 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006541/8.985, allocations: 1.472 MB / 2.252 GB, free: 33.97 MB / 0.7136 GB Notification: Performance of SimCode: time 2.014e-06/8.985, allocations: 1.031 kB / 2.252 GB, free: 33.97 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9226/9.908, allocations: 117.4 MB / 2.366 GB, free: 82.26 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/9.908, allocations: 240.7 kB / 2.367 GB, free: 81.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.535/18.44, allocations: 0 / 2.367 GB, free: 81.93 MB / 0.7292 GB