Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.501/4.501, allocations: 404.1 MB / 411.3 MB, free: 360 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.99e-05/2.985e-05, allocations: 9.859 kB / 0.4945 GB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6713/0.6714, allocations: 92.69 MB / 0.585 GB, free: 2.293 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.37/2.042, allocations: 438.1 MB / 1.013 GB, free: 7.648 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003928/2.042, allocations: 104.6 kB / 1.013 GB, free: 7.594 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 65.18/67.22, allocations: 9.828 GB / 10.84 GB, free: 49.44 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.214e-06/67.22, allocations: 0 / 10.84 GB, free: 49.44 MB / 1.026 GB Notification: Performance of Transformations before backend: time 0.003677/67.22, allocations: 350.2 kB / 10.84 GB, free: 49.36 MB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.06035/67.28, allocations: 10.83 MB / 10.85 GB, free: 44.38 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.981e-05/67.28, allocations: 11.16 kB / 10.85 GB, free: 44.38 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02267/67.31, allocations: 2.194 MB / 10.85 GB, free: 43.57 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08836/67.39, allocations: 18.14 MB / 10.87 GB, free: 41.23 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005579/67.4, allocations: 197.1 kB / 10.87 GB, free: 41.23 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003613/67.4, allocations: 425.5 kB / 10.87 GB, free: 41.22 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0258/67.42, allocations: 6.782 MB / 10.88 GB, free: 39.07 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03033/67.46, allocations: 7.431 MB / 10.89 GB, free: 34.73 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005277/67.46, allocations: 15.81 kB / 10.89 GB, free: 34.71 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003307/67.46, allocations: 20 kB / 10.89 GB, free: 34.7 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000275/67.46, allocations: 155.6 kB / 10.89 GB, free: 34.55 MB / 1.026 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 1.263/68.72, allocations: 48.5 MB / 10.93 GB, free: 54.08 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01699/68.74, allocations: 6.003 MB / 10.94 GB, free: 53.99 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01111/68.75, allocations: 3.957 MB / 10.94 GB, free: 53.95 MB / 1.026 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.07124/68.82, allocations: 16.25 MB / 10.96 GB, free: 50.61 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01003/68.83, allocations: 3.303 MB / 10.96 GB, free: 50.48 MB / 1.026 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02125/68.85, allocations: 2.427 MB / 10.97 GB, free: 50.48 MB / 1.026 GB Notification: Performance of pre-optimization done (n=328): time 3.493e-05/68.85, allocations: 0.75 kB / 10.97 GB, free: 50.48 MB / 1.026 GB Notification: Performance of matching and sorting (n=332): time 0.2287/69.08, allocations: 28.08 MB / 10.99 GB, free: 47.03 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/69.08, allocations: 142.8 kB / 10.99 GB, free: 46.9 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04585/69.13, allocations: 11.02 MB / 11 GB, free: 46.29 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.002094/69.13, allocations: 42.25 kB / 11 GB, free: 46.25 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.01161/69.14, allocations: 6.135 MB / 11.01 GB, free: 45.18 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.00271/69.14, allocations: 1.088 MB / 11.01 GB, free: 44.61 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001397/69.15, allocations: 1.75 kB / 11.01 GB, free: 44.61 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0006294/69.15, allocations: 0.538 MB / 11.01 GB, free: 44.3 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01028/69.16, allocations: 3.435 MB / 11.01 GB, free: 44.28 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01298/69.17, allocations: 6.119 MB / 11.02 GB, free: 41.04 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01627/69.19, allocations: 4.256 MB / 11.02 GB, free: 40.96 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001181/69.19, allocations: 14.97 kB / 11.02 GB, free: 40.96 MB / 1.026 GB Notification: Performance of matching and sorting (n=778) (initialization): time 0.1591/69.35, allocations: 19.67 MB / 11.04 GB, free: 40.13 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.01514/69.36, allocations: 38.9 MB / 11.08 GB, free: 31.57 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002943/69.36, allocations: 59.69 kB / 11.08 GB, free: 31.57 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009698/69.37, allocations: 2.617 MB / 11.08 GB, free: 31.51 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0206/69.39, allocations: 1.56 MB / 11.09 GB, free: 31.51 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03147/69.42, allocations: 12.06 MB / 11.1 GB, free: 25.92 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02601/69.45, allocations: 1.094 MB / 11.1 GB, free: 25.89 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002624/69.45, allocations: 433.2 kB / 11.1 GB, free: 25.89 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/69.45, allocations: 3.594 kB / 11.1 GB, free: 25.89 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0338/69.49, allocations: 8.435 MB / 11.11 GB, free: 25.7 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002455/69.49, allocations: 62.41 kB / 11.11 GB, free: 25.7 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007818/69.49, allocations: 1.454 MB / 11.11 GB, free: 25.64 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01432/69.51, allocations: 1.402 MB / 11.11 GB, free: 25.64 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0406/69.55, allocations: 12.43 MB / 11.12 GB, free: 37.27 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02022/69.57, allocations: 0.7029 MB / 11.12 GB, free: 37.24 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002253/69.57, allocations: 375.4 kB / 11.12 GB, free: 37.24 MB / 1.073 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 274 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulsStart,stepPump.pulsStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (647): * Single equations (assignments): 632 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,1 4,1 2,1 2,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.003908/69.58, allocations: 315.9 kB / 11.12 GB, free: 37.13 MB / 1.073 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1196/69.7, allocations: 14.35 MB / 11.14 GB, free: 36.28 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005054/69.7, allocations: 1.108 MB / 11.14 GB, free: 35.67 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1224/69.82, allocations: 15.32 MB / 11.15 GB, free: 35.29 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.491e-05/69.82, allocations: 45.44 kB / 11.15 GB, free: 35.29 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.284e-05/69.82, allocations: 2.953 kB / 11.15 GB, free: 35.29 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1402/69.96, allocations: 13.56 MB / 11.17 GB, free: 34.83 MB / 1.073 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.1799/70.14, allocations: 24.51 MB / 11.19 GB, free: 33.36 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-05/70.14, allocations: 3.938 kB / 11.19 GB, free: 33.36 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01348/70.16, allocations: 0.7528 MB / 11.19 GB, free: 33.36 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01313/70.17, allocations: 2.413 MB / 11.19 GB, free: 33.29 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001401/70.17, allocations: 72.97 kB / 11.19 GB, free: 33.29 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1961/70.37, allocations: 37.15 MB / 11.23 GB, free: 24.44 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/70.37, allocations: 4.891 kB / 11.23 GB, free: 24.44 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.126/70.49, allocations: 19.18 MB / 11.25 GB, free: 22.59 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01059/70.5, allocations: 2.153 MB / 11.25 GB, free: 21.88 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005503/70.51, allocations: 5.688 kB / 11.25 GB, free: 21.88 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02163/70.53, allocations: 1.01 MB / 11.25 GB, free: 21.79 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00243/70.53, allocations: 293.5 kB / 11.25 GB, free: 21.79 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001239/70.54, allocations: 187.8 kB / 11.25 GB, free: 21.79 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.0242/70.56, allocations: 8.224 MB / 11.26 GB, free: 21.46 MB / 1.073 GB Notification: Performance of sort global known variables: time 8.02e-07/70.56, allocations: 4 kB / 11.26 GB, free: 21.46 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.05845/70.62, allocations: 5.578 MB / 11.27 GB, free: 17.77 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulsStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (274): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {1 4,1 2,1 2,1 3,1 2,1 3,7 78} Notification: Performance of Backend phase and start with SimCode phase: time 0.1408/70.76, allocations: 24.33 MB / 11.29 GB, free: 1.805 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.07167/70.83, allocations: 13.97 MB / 11.3 GB, free: 11.84 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.287e-05/70.83, allocations: 5.75 kB / 11.3 GB, free: 11.83 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.02468/70.86, allocations: 4.237 MB / 11.31 GB, free: 9.402 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06261/70.92, allocations: 5.665 MB / 11.31 GB, free: 6.234 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.422/73.34, allocations: 24.97 MB / 11.34 GB, free: 115.4 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01659/73.36, allocations: 6.555 MB / 11.34 GB, free: 114.4 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.04868/73.41, allocations: 5.794 MB / 11.35 GB, free: 114.3 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01536/73.42, allocations: 5.348 MB / 11.36 GB, free: 114.3 MB / 1.089 GB Notification: Performance of SimCode: time 3.036e-06/73.42, allocations: 0.8438 kB / 11.36 GB, free: 114.3 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.258/75.68, allocations: 373.5 MB / 11.72 GB, free: 111.9 MB / 1.136 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002167/75.68, allocations: 177.7 kB / 11.72 GB, free: 111.7 MB / 1.136 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 32.6/108.3, allocations: 2.906 kB / 11.72 GB, free: 111.7 MB / 1.136 GB