Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.944/3.944, allocations: 403.3 MB / 415.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.191e-05/4.21e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6377/0.6378, allocations: 92.67 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.846, allocations: 438.8 MB / 1.018 GB, free: 15.99 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003574/1.847, allocations: 102.4 kB / 1.018 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 55.12/56.97, allocations: 9.875 GB / 10.89 GB, free: 59.49 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.505e-06/56.97, allocations: 0 / 10.89 GB, free: 59.49 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.003105/56.97, allocations: 339.7 kB / 10.89 GB, free: 59.43 MB / 1.042 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.05152/57.02, allocations: 10.84 MB / 10.9 GB, free: 54.57 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/57.02, allocations: 7.531 kB / 10.9 GB, free: 54.57 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003981/57.03, allocations: 0.7703 MB / 10.91 GB, free: 54.49 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01916/57.05, allocations: 2.191 MB / 10.91 GB, free: 53.73 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07374/57.12, allocations: 18.14 MB / 10.92 GB, free: 51.58 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009694/57.12, allocations: 0.5225 MB / 10.93 GB, free: 51.57 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003363/57.12, allocations: 0.6959 MB / 10.93 GB, free: 51.56 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04326/57.17, allocations: 10.15 MB / 10.94 GB, free: 50.38 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002187/57.17, allocations: 20.22 kB / 10.94 GB, free: 50.38 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00159/57.17, allocations: 252.8 kB / 10.94 GB, free: 50.38 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001752/57.17, allocations: 156.6 kB / 10.94 GB, free: 50.38 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03732/57.21, allocations: 8.359 MB / 10.94 GB, free: 50.32 MB / 1.042 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.1059/57.31, allocations: 49.6 MB / 10.99 GB, free: 23.24 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02993/57.34, allocations: 7.15 MB / 11 GB, free: 23.01 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008297/57.35, allocations: 3.606 MB / 11 GB, free: 22.93 MB / 1.042 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.05756/57.41, allocations: 16.51 MB / 11.02 GB, free: 19.28 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02525/57.43, allocations: 5.353 MB / 11.02 GB, free: 19.1 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01732/57.45, allocations: 2.543 MB / 11.03 GB, free: 18.79 MB / 1.042 GB Notification: Performance of pre-optimization done (n=328): time 2.235e-05/57.45, allocations: 0 / 11.03 GB, free: 18.79 MB / 1.042 GB Notification: Performance of matching and sorting (n=522): time 1.509/58.96, allocations: 70.98 MB / 11.1 GB, free: 66.39 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/58.96, allocations: 158.7 kB / 11.1 GB, free: 66.26 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03283/58.99, allocations: 11.74 MB / 11.11 GB, free: 65.54 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.002386/59, allocations: 177.9 kB / 11.11 GB, free: 65.51 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01002/59.01, allocations: 6.161 MB / 11.11 GB, free: 64.51 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003229/59.01, allocations: 1.76 MB / 11.12 GB, free: 63.62 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00131/59.01, allocations: 145.8 kB / 11.12 GB, free: 63.62 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0006036/59.01, allocations: 0.5977 MB / 11.12 GB, free: 63.3 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0115/59.02, allocations: 4.229 MB / 11.12 GB, free: 63.29 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01429/59.04, allocations: 7.038 MB / 11.13 GB, free: 60.04 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01404/59.05, allocations: 5.058 MB / 11.13 GB, free: 59.89 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001068/59.05, allocations: 16.97 kB / 11.13 GB, free: 59.89 MB / 1.042 GB Notification: Performance of matching and sorting (n=968) (initialization): time 0.1258/59.18, allocations: 21.87 MB / 11.15 GB, free: 58.86 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0103/59.19, allocations: 39.09 MB / 11.19 GB, free: 34.29 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002641/59.19, allocations: 58.31 kB / 11.19 GB, free: 34.29 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02123/59.21, allocations: 4.883 MB / 11.2 GB, free: 34.22 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01969/59.23, allocations: 1.839 MB / 11.2 GB, free: 34.22 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06832/59.3, allocations: 25.96 MB / 11.22 GB, free: 42.74 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02533/59.32, allocations: 1.368 MB / 11.23 GB, free: 42.7 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002893/59.33, allocations: 0.4923 MB / 11.23 GB, free: 42.7 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/59.33, allocations: 2.344 kB / 11.23 GB, free: 42.7 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04438/59.37, allocations: 13.87 MB / 11.24 GB, free: 42.2 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002333/59.37, allocations: 58.53 kB / 11.24 GB, free: 42.2 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01996/59.39, allocations: 4.095 MB / 11.24 GB, free: 42.12 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0152/59.41, allocations: 1.68 MB / 11.25 GB, free: 42.12 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07038/59.48, allocations: 28.11 MB / 11.27 GB, free: 35.84 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02024/59.5, allocations: 0.974 MB / 11.27 GB, free: 35.81 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002501/59.5, allocations: 442.1 kB / 11.27 GB, free: 35.81 MB / 1.073 GB 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 (753): * Single equations (assignments): 737 * 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: 6 * 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: 1 {(7,75.5%) 78} * Non-linear torn systems: 5 {1 2,1 4,1 2,1 2,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.003459/59.5, allocations: 0.549 MB / 11.27 GB, free: 35.71 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00441/59.51, allocations: 1.179 MB / 11.28 GB, free: 35.05 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.12/59.63, allocations: 20.28 MB / 11.3 GB, free: 34.52 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001597/59.63, allocations: 59.94 kB / 11.3 GB, free: 34.52 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-05/59.63, allocations: 15.72 kB / 11.3 GB, free: 34.52 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1088/59.74, allocations: 17.82 MB / 11.31 GB, free: 33.94 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.1553/59.89, allocations: 32.97 MB / 11.35 GB, free: 31.85 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.351e-05/59.89, allocations: 8.062 kB / 11.35 GB, free: 31.85 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01179/59.9, allocations: 1.159 MB / 11.35 GB, free: 31.85 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01792/59.92, allocations: 3.8 MB / 11.35 GB, free: 31.67 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001543/59.92, allocations: 185.7 kB / 11.35 GB, free: 31.67 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2159/60.14, allocations: 46.96 MB / 11.4 GB, free: 22.05 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.141e-05/60.14, allocations: 11.84 kB / 11.4 GB, free: 22.05 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1247/60.26, allocations: 27.8 MB / 11.42 GB, free: 11.09 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01078/60.27, allocations: 2.525 MB / 11.43 GB, free: 9.473 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004954/60.28, allocations: 117.3 kB / 11.43 GB, free: 9.441 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02112/60.3, allocations: 1.207 MB / 11.43 GB, free: 8.691 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002736/60.3, allocations: 0.4936 MB / 11.43 GB, free: 8.449 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001135/60.3, allocations: 273.4 kB / 11.43 GB, free: 8.277 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.02268/60.33, allocations: 8.913 MB / 11.44 GB, free: 3.234 MB / 1.073 GB Notification: Performance of sort global known variables: time 1.182e-06/60.33, allocations: 0 / 11.44 GB, free: 3.234 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.07997/60.41, allocations: 7.867 MB / 11.44 GB, free: 0 / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 3 (valSouth.port_3.h_outflow,valNorth.port_3.h_outflow,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 (450): * Single equations (assignments): 425 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 6 * 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: 1 {(7,65.3%) 74} * Non-linear torn systems: 5 {1 4,1 2,1 2,1 2,4 81} Notification: Performance of Backend phase and start with SimCode phase: time 1.18/61.59, allocations: 34.71 MB / 11.48 GB, free: 104.8 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.06449/61.65, allocations: 18.95 MB / 11.5 GB, free: 103.9 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.306e-05/61.65, allocations: 5.656 kB / 11.5 GB, free: 103.9 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.02423/61.68, allocations: 6.412 MB / 11.5 GB, free: 103.6 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04889/61.72, allocations: 5.845 MB / 11.51 GB, free: 103.5 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1307/61.86, allocations: 28.18 MB / 11.54 GB, free: 99.12 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01549/61.87, allocations: 7.096 MB / 11.54 GB, free: 98.07 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 0.04541/61.92, allocations: 6.386 MB / 11.55 GB, free: 97.96 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01424/61.93, allocations: 5.714 MB / 11.56 GB, free: 97.96 MB / 1.089 GB Notification: Performance of SimCode: time 1.593e-06/61.93, allocations: 0 / 11.56 GB, free: 97.96 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.207/65.14, allocations: 458.1 MB / 12 GB, free: 148.8 MB / 1.136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/65.14, allocations: 226.2 kB / 12 GB, free: 148.6 MB / 1.136 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.68/97.82, allocations: 0 / 12 GB, free: 148.6 MB / 1.136 GB