Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingAndHeating,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingAndHeating",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.829/3.829, allocations: 403.3 MB / 415.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.112e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6021/0.6022, allocations: 92.68 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.414/8.017, allocations: 2.43 GB / 3.02 GB, free: 120.3 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/8.017, allocations: 97.94 kB / 3.02 GB, free: 120.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 6.343/14.36, allocations: 1.197 GB / 4.217 GB, free: 80.23 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.084e-06/14.36, allocations: 1.031 kB / 4.217 GB, free: 80.23 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0006528/14.36, allocations: 90.09 kB / 4.217 GB, free: 80.22 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01155/14.37, allocations: 3.77 MB / 4.221 GB, free: 78.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/14.37, allocations: 10.34 kB / 4.221 GB, free: 78.18 MB / 0.8073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001212/14.37, allocations: 320 kB / 4.221 GB, free: 78.13 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004524/14.38, allocations: 0.5475 MB / 4.221 GB, free: 77.91 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02576/14.4, allocations: 7.607 MB / 4.229 GB, free: 77.2 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/14.4, allocations: 180.9 kB / 4.229 GB, free: 77.19 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008243/14.4, allocations: 242.3 kB / 4.229 GB, free: 77.19 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00896/14.41, allocations: 2.934 MB / 4.232 GB, free: 76.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.664e-05/14.41, allocations: 8.906 kB / 4.232 GB, free: 76.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004137/14.41, allocations: 103.9 kB / 4.232 GB, free: 76.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/14.41, allocations: 89.53 kB / 4.232 GB, free: 76.69 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007554/14.42, allocations: 2.173 MB / 4.234 GB, free: 76.62 MB / 0.8073 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.02506/14.45, allocations: 12.7 MB / 4.247 GB, free: 70.24 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/14.45, allocations: 1.439 MB / 4.248 GB, free: 69.59 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/14.45, allocations: 0.976 MB / 4.249 GB, free: 69.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004392/14.45, allocations: 350.4 kB / 4.25 GB, free: 68.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/14.45, allocations: 53.94 kB / 4.25 GB, free: 68.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=123): time 4.578e-06/14.45, allocations: 0 / 4.25 GB, free: 68.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=133): time 0.01874/14.47, allocations: 6.911 MB / 4.256 GB, free: 64.64 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00017/14.47, allocations: 424 kB / 4.257 GB, free: 64.16 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008028/14.48, allocations: 3.176 MB / 4.26 GB, free: 62.92 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005642/14.48, allocations: 57.84 kB / 4.26 GB, free: 62.87 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.002036/14.48, allocations: 1.639 MB / 4.262 GB, free: 61.59 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007695/14.48, allocations: 464.8 kB / 4.262 GB, free: 61.25 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/14.48, allocations: 33.16 kB / 4.262 GB, free: 61.22 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001737/14.48, allocations: 376.6 kB / 4.262 GB, free: 60.89 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/14.49, allocations: 1.087 MB / 4.263 GB, free: 60.45 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/14.49, allocations: 1.65 MB / 4.265 GB, free: 59.36 MB / 0.8073 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.00961/14.5, allocations: 3.142 MB / 4.268 GB, free: 57.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/14.5, allocations: 3.938 kB / 4.268 GB, free: 57.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.00868/14.51, allocations: 3.527 MB / 4.272 GB, free: 56.05 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001372/14.51, allocations: 5.318 MB / 4.277 GB, free: 50.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.744e-05/14.51, allocations: 10.75 kB / 4.277 GB, free: 50.43 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/14.51, allocations: 211.4 kB / 4.277 GB, free: 50.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002676/14.51, allocations: 326.8 kB / 4.277 GB, free: 50.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/14.52, allocations: 1.371 MB / 4.279 GB, free: 49.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005013/14.52, allocations: 224.8 kB / 4.279 GB, free: 49.09 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005848/14.52, allocations: 96.16 kB / 4.279 GB, free: 49.07 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/14.52, allocations: 7.438 kB / 4.279 GB, free: 49.07 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007414/14.53, allocations: 3.566 MB / 4.282 GB, free: 47.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.198e-05/14.53, allocations: 11.25 kB / 4.282 GB, free: 47.38 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/14.53, allocations: 214 kB / 4.283 GB, free: 47.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002213/14.53, allocations: 306.7 kB / 4.283 GB, free: 47.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/14.53, allocations: 1.361 MB / 4.284 GB, free: 46.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/14.54, allocations: 187.7 kB / 4.284 GB, free: 46.05 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005676/14.54, allocations: 87.52 kB / 4.285 GB, free: 46.04 MB / 0.8073 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 8 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i,conCoo.I.trigger_internal,conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (190): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 12 * 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: 0 * Non-linear torn systems: 2 {1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0008434/14.54, allocations: 405.3 kB / 4.285 GB, free: 45.66 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001177/14.54, allocations: 344.4 kB / 4.285 GB, free: 45.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005712/14.55, allocations: 2.4 MB / 4.288 GB, free: 44.37 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.121e-05/14.55, allocations: 16.84 kB / 4.288 GB, free: 44.37 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/14.55, allocations: 3.953 kB / 4.288 GB, free: 44.36 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004297/14.55, allocations: 2.164 MB / 4.29 GB, free: 43.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/14.57, allocations: 6.068 MB / 4.296 GB, free: 39.67 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.878e-05/14.57, allocations: 8 kB / 4.296 GB, free: 39.66 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002336/14.57, allocations: 260.3 kB / 4.296 GB, free: 39.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.297e-05/14.57, allocations: 10.34 kB / 4.296 GB, free: 39.44 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002602/14.57, allocations: 54.91 kB / 4.296 GB, free: 39.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.78e-05/14.57, allocations: 12.2 kB / 4.296 GB, free: 39.38 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/14.57, allocations: 11.94 kB / 4.296 GB, free: 39.37 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008687/14.58, allocations: 4.558 MB / 4.3 GB, free: 34.84 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00296/14.58, allocations: 0.7103 MB / 4.301 GB, free: 34.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00128/14.58, allocations: 40 kB / 4.301 GB, free: 34.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004385/14.59, allocations: 188.3 kB / 4.301 GB, free: 34.02 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007082/14.59, allocations: 159.9 kB / 4.302 GB, free: 33.9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002687/14.59, allocations: 65.94 kB / 4.302 GB, free: 33.85 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.006687/14.59, allocations: 2.441 MB / 4.304 GB, free: 31.65 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.402e-06/14.59, allocations: 6.844 kB / 4.304 GB, free: 31.64 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.008747/14.6, allocations: 1.556 MB / 4.305 GB, free: 30.11 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 6 (conHea.I.y,vol.dynBal.U,vol.dynBal.mXi[1],conCoo.I.y,beaCooHea.conCoo.hex.vol.dynBal.medium.T,beaCooHea.conHea.hex.vol.dynBal.medium.T) * Number of discrete variables: 6 (beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i,beaCooHea.conHea.mod.airFlo_mod.i) * Number of discrete states: 6 (beaCooHea.conHea.mod.airFlo_mod.i,beaCooHea.conCoo.mod.airFlo_mod.i,beaCooHea.conCoo.mod.watFlo_mod.i,beaCooHea.conCoo.mod.temDif_mod.i,beaCooHea.conHea.mod.temDif_mod.i,beaCooHea.conHea.mod.watFlo_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01474/14.62, allocations: 9.039 MB / 4.314 GB, free: 21.7 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01107/14.63, allocations: 5.796 MB / 4.32 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/14.63, allocations: 2.625 kB / 4.32 GB, free: 15.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003599/14.63, allocations: 1.869 MB / 4.322 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01371/14.65, allocations: 1.696 MB / 4.323 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02082/14.67, allocations: 6.197 MB / 4.329 GB, free: 7.238 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003494/14.67, allocations: 2.212 MB / 4.332 GB, free: 5.531 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.008908/14.68, allocations: 1.118 MB / 4.333 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002975/14.68, allocations: 1.373 MB / 4.334 GB, free: 3.535 MB / 0.8073 GB Notification: Performance of SimCode: time 1.714e-06/14.68, allocations: 0 / 4.334 GB, free: 3.535 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.992/15.67, allocations: 141.3 MB / 4.472 GB, free: 100.1 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/15.67, allocations: 251.7 kB / 4.472 GB, free: 99.74 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.349/25.02, allocations: 0 / 4.472 GB, free: 99.74 MB / 0.8386 GB