Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.047/4.047, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.606e-05/4.609e-05, allocations: 11.94 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/0.5851, allocations: 92.68 MB / 0.5896 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.181/1.766, allocations: 436.7 MB / 1.016 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003297/1.766, allocations: 94.75 kB / 1.016 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 46.01/47.77, allocations: 8.209 GB / 9.225 GB, free: 36.04 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.134e-06/47.77, allocations: 0 / 9.225 GB, free: 36.04 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.004387/47.78, allocations: 0.5147 MB / 9.226 GB, free: 35.52 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: 2040 * Number of variables: 2040 Notification: Performance of Generate backend data structure: time 0.06646/47.84, allocations: 13.94 MB / 9.239 GB, free: 21.48 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/47.84, allocations: 8.031 kB / 9.239 GB, free: 21.47 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005753/47.85, allocations: 1.049 MB / 9.24 GB, free: 20.41 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02065/47.87, allocations: 2.418 MB / 9.243 GB, free: 17.97 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.119/48.99, allocations: 23.78 MB / 9.266 GB, free: 68.91 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001315/48.99, allocations: 0.7056 MB / 9.266 GB, free: 68.89 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00621/49, allocations: 1.006 MB / 9.267 GB, free: 68.89 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06875/49.07, allocations: 18.1 MB / 9.285 GB, free: 67 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005816/49.07, allocations: 14 kB / 9.285 GB, free: 67 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004556/49.07, allocations: 356.1 kB / 9.285 GB, free: 67 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003033/49.07, allocations: 216.4 kB / 9.286 GB, free: 67 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0684/49.14, allocations: 20.83 MB / 9.306 GB, free: 66.97 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.2002/49.34, allocations: 79.87 MB / 9.384 GB, free: 33 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07121/49.41, allocations: 15.09 MB / 9.399 GB, free: 32.55 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02036/49.43, allocations: 8.926 MB / 9.407 GB, free: 32.48 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.1203/49.55, allocations: 43.08 MB / 9.45 GB, free: 21.08 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04037/49.59, allocations: 11.03 MB / 9.46 GB, free: 20.87 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08172/49.67, allocations: 15.85 MB / 9.476 GB, free: 20.7 MB / 1.042 GB Notification: Performance of pre-optimization done (n=603): time 4.874e-05/49.67, allocations: 0 / 9.476 GB, free: 20.7 MB / 1.042 GB Notification: Performance of matching and sorting (n=871): time 2.817/52.49, allocations: 208.7 MB / 9.68 GB, free: 97.91 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008268/52.49, allocations: 2.589 MB / 9.682 GB, free: 94.84 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0454/52.54, allocations: 14.25 MB / 9.696 GB, free: 94.1 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.005617/52.54, allocations: 271.5 kB / 9.696 GB, free: 94.07 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01384/52.56, allocations: 7.771 MB / 9.704 GB, free: 93.71 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.00743/52.56, allocations: 3.006 MB / 9.707 GB, free: 92.85 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004291/52.57, allocations: 215.1 kB / 9.707 GB, free: 92.85 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001106/52.57, allocations: 0.7617 MB / 9.708 GB, free: 92.52 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02733/52.6, allocations: 9.917 MB / 9.718 GB, free: 92.5 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03266/52.63, allocations: 13.43 MB / 9.731 GB, free: 88.76 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0329/52.66, allocations: 11.32 MB / 9.742 GB, free: 88.53 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001501/52.66, allocations: 15.81 kB / 9.742 GB, free: 88.53 MB / 1.073 GB Notification: Performance of matching and sorting (n=1470) (initialization): time 1.344/54.01, allocations: 133.2 MB / 9.872 GB, free: 86.3 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.007666/54.01, allocations: 36.12 MB / 9.907 GB, free: 49.34 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007633/54.02, allocations: 118.3 kB / 9.907 GB, free: 49.34 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374/55.39, allocations: 149.4 MB / 10.05 GB, free: 6.113 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03086/55.42, allocations: 2.643 MB / 10.06 GB, free: 3.656 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462/56.88, allocations: 89.74 MB / 10.14 GB, free: 133.2 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03787/56.92, allocations: 1.554 MB / 10.14 GB, free: 133.2 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006474/56.93, allocations: 0.9422 MB / 10.15 GB, free: 133.2 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/56.93, allocations: 6.562 kB / 10.15 GB, free: 133.2 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.425/58.35, allocations: 128.3 MB / 10.27 GB, free: 132 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006564/58.35, allocations: 113.3 kB / 10.27 GB, free: 132 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384/59.74, allocations: 148.2 MB / 10.42 GB, free: 65.52 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02257/59.76, allocations: 2.527 MB / 10.42 GB, free: 63.17 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403/61.16, allocations: 90.08 MB / 10.51 GB, free: 126.5 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03307/61.19, allocations: 1.303 MB / 10.51 GB, free: 126.5 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00586/61.2, allocations: 0.8791 MB / 10.51 GB, free: 126.5 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * 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 (1104): * Single equations (assignments): 1025 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(28,89.3%) 28,(39,16.5%) 67} * Non-linear torn systems: 1 {39 67} Notification: Performance of prepare postOptimizeDAE: time 0.008511/61.21, allocations: 0.74 MB / 10.51 GB, free: 126.4 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007824/61.22, allocations: 1.531 MB / 10.51 GB, free: 126.4 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4125/61.63, allocations: 54.43 MB / 10.56 GB, free: 125.7 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002477/61.63, allocations: 103.6 kB / 10.56 GB, free: 125.7 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001619/61.63, allocations: 45.59 kB / 10.56 GB, free: 125.7 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3808/62.01, allocations: 48.48 MB / 10.61 GB, free: 124.9 MB / 1.12 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.4557/62.47, allocations: 74.41 MB / 10.68 GB, free: 120.2 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001506/62.47, allocations: 8.094 kB / 10.68 GB, free: 120.2 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02141/62.49, allocations: 1.807 MB / 10.69 GB, free: 120.2 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3449/62.83, allocations: 44.14 MB / 10.73 GB, free: 120.1 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003417/62.84, allocations: 377.6 kB / 10.73 GB, free: 120.1 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3023/63.14, allocations: 65.67 MB / 10.79 GB, free: 91.62 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.43e-05/63.14, allocations: 20.16 kB / 10.79 GB, free: 91.61 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4078/63.55, allocations: 65.83 MB / 10.86 GB, free: 53.07 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01604/63.56, allocations: 3.626 MB / 10.86 GB, free: 50.88 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00826/63.57, allocations: 297.3 kB / 10.86 GB, free: 50.78 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0289/63.6, allocations: 1.295 MB / 10.86 GB, free: 50.08 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005398/63.61, allocations: 0.768 MB / 10.86 GB, free: 49.71 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003095/63.61, allocations: 392.3 kB / 10.86 GB, free: 49.47 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.02854/63.64, allocations: 10.87 MB / 10.87 GB, free: 40.95 MB / 1.12 GB Notification: Performance of sort global known variables: time 2.054e-06/63.64, allocations: 0 / 10.87 GB, free: 40.95 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.07933/63.72, allocations: 9.334 MB / 10.88 GB, free: 31.92 MB / 1.12 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 74 (pmpSouth.port_a.h_outflow,pmpSouth.filter.x[1],pmpSouth.filter.x[2],pmpNorth.port_a.h_outflow,pmpNorth.filter.x[1],pmpNorth.filter.x[2],valSouth1[1].filter.x[1],valSouth1[1].filter.x[2],valSouth1[2].filter.x[1],valSouth1[2].filter.x[2],valSouth1[3].filter.x[1],valSouth1[3].filter.x[2],valSouth1[4].filter.x[1],valSouth1[4].filter.x[2],valSouth2[1].filter.x[1],valSouth2[1].filter.x[2],valSouth2[2].filter.x[1],valSouth2[2].filter.x[2],valSouth2[3].filter.x[1],valSouth2[3].filter.x[2],valSouth2[4].filter.x[1],valSouth2[4].filter.x[2],valSouth2[5].filter.x[1],valSouth2[5].filter.x[2],valSouth2[6].filter.x[1],valSouth2[6].filter.x[2],valSouth2[7].filter.x[1],valSouth2[7].filter.x[2],valSouth2[8].filter.x[1],valSouth2[8].filter.x[2],valNorth1[1].filter.x[1],valNorth1[1].filter.x[2],valNorth1[2].filter.x[1],valNorth1[2].filter.x[2],valNorth1[3].filter.x[1],valNorth1[3].filter.x[2],valNorth1[4].filter.x[1],valNorth1[4].filter.x[2],valNorth2[1].filter.x[1],valNorth2[1].filter.x[2],valNorth2[2].filter.x[1],valNorth2[2].filter.x[2],valNorth2[3].filter.x[1],valNorth2[3].filter.x[2],valNorth2[4].filter.x[1],valNorth2[4].filter.x[2],valNorth2[5].filter.x[1],valNorth2[5].filter.x[2],valNorth2[6].filter.x[1],valNorth2[6].filter.x[2],valNorth2[7].filter.x[1],valNorth2[7].filter.x[2],valNorth2[8].filter.x[1],valNorth2[8].filter.x[2],valSouth.port_3.h_outflow,valSouth.filter.x[1],valSouth.filter.x[2],valNorth.port_3.h_outflow,valNorth.filter.x[1],valNorth.filter.x[2],spl.port_3.h_outflow,spl1.port_3.h_outflow,pumpHea.port_a.h_outflow,pumpHea.filter.x[1],pumpHea.filter.x[2],valHea.filter.x[1],valHea.filter.x[2],valCoo.filter.x[1],valCoo.filter.x[2],spl2.port_3.h_outflow,spl3.port_3.h_outflow,pumpCoo.port_a.h_outflow,pumpCoo.filter.x[1],pumpCoo.filter.x[2]) * 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 (785): * Single equations (assignments): 753 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(28,89.3%) 28,(39,16.5%) 64} * Non-linear torn systems: 1 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 1.5/65.22, allocations: 72.3 MB / 10.95 GB, free: 121.6 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.1929/65.41, allocations: 46.96 MB / 11 GB, free: 117.8 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.917e-05/65.41, allocations: 14.66 kB / 11 GB, free: 117.8 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.07456/65.48, allocations: 15.01 MB / 11.01 GB, free: 117.1 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06233/65.55, allocations: 7.482 MB / 11.02 GB, free: 117 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1323/65.68, allocations: 35.36 MB / 11.06 GB, free: 110.8 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02215/65.7, allocations: 9.495 MB / 11.07 GB, free: 109.6 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.06211/65.76, allocations: 8.9 MB / 11.07 GB, free: 109.5 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02105/65.78, allocations: 7.867 MB / 11.08 GB, free: 109.5 MB / 1.12 GB Notification: Performance of SimCode: time 2.785e-06/65.78, allocations: 0 / 11.08 GB, free: 109.5 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.777/70.56, allocations: 0.6768 GB / 11.76 GB, free: 168.3 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002672/70.56, allocations: 234.5 kB / 11.76 GB, free: 168.1 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.73/115.3, allocations: 2.344 kB / 11.76 GB, free: 168.1 MB / 1.198 GB