Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.776/3.776, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.733e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5904/0.5905, allocations: 92.68 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.179/1.77, allocations: 436.9 MB / 1.016 GB, free: 1.934 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/1.77, allocations: 96.06 kB / 1.016 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 50.63/52.4, allocations: 8.949 GB / 9.965 GB, free: 20.45 MB / 1.057 GB Notification: Performance of FrontEnd: time 1.943e-06/52.4, allocations: 0 / 9.965 GB, free: 20.45 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.004318/52.4, allocations: 0.503 MB / 9.966 GB, free: 19.95 MB / 1.057 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.06748/52.47, allocations: 13.93 MB / 9.979 GB, free: 5.906 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.91e-05/52.47, allocations: 12.03 kB / 9.979 GB, free: 5.895 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00612/52.48, allocations: 1.042 MB / 9.98 GB, free: 4.844 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02128/52.5, allocations: 2.422 MB / 9.983 GB, free: 2.398 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.145/53.64, allocations: 23.75 MB / 10.01 GB, free: 78.3 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001361/53.65, allocations: 0.7054 MB / 10.01 GB, free: 78.28 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006328/53.65, allocations: 1.001 MB / 10.01 GB, free: 78.26 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06921/53.72, allocations: 18.4 MB / 10.03 GB, free: 76.37 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006167/53.72, allocations: 17.03 kB / 10.03 GB, free: 76.37 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004734/53.73, allocations: 359.6 kB / 10.03 GB, free: 76.37 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003056/53.73, allocations: 214.9 kB / 10.03 GB, free: 76.37 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06946/53.8, allocations: 21.14 MB / 10.05 GB, free: 76.34 MB / 1.057 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.2024/54, allocations: 80.32 MB / 10.13 GB, free: 41.12 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05204/54.05, allocations: 15.18 MB / 10.14 GB, free: 40.64 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02335/54.08, allocations: 9.252 MB / 10.15 GB, free: 40.56 MB / 1.057 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.1256/54.2, allocations: 42.86 MB / 10.19 GB, free: 28.95 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04193/54.24, allocations: 11.27 MB / 10.2 GB, free: 28.74 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08416/54.33, allocations: 15.85 MB / 10.22 GB, free: 28.43 MB / 1.057 GB Notification: Performance of pre-optimization done (n=582): time 4.94e-05/54.33, allocations: 2.406 kB / 10.22 GB, free: 28.43 MB / 1.057 GB Notification: Performance of matching and sorting (n=829): time 2.988/57.32, allocations: 225 MB / 10.44 GB, free: 103.8 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007869/57.32, allocations: 2.584 MB / 10.44 GB, free: 100.8 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04471/57.36, allocations: 14.26 MB / 10.45 GB, free: 100 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.005293/57.37, allocations: 266.3 kB / 10.45 GB, free: 99.98 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.014/57.38, allocations: 7.797 MB / 10.46 GB, free: 99.64 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.007403/57.39, allocations: 2.867 MB / 10.46 GB, free: 98.98 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00471/57.39, allocations: 214.1 kB / 10.46 GB, free: 98.98 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.001172/57.39, allocations: 0.7494 MB / 10.47 GB, free: 98.66 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02769/57.42, allocations: 9.83 MB / 10.47 GB, free: 98.63 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03284/57.45, allocations: 13.33 MB / 10.49 GB, free: 94.89 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0332/57.49, allocations: 11.21 MB / 10.5 GB, free: 94.66 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/57.49, allocations: 18.22 kB / 10.5 GB, free: 94.66 MB / 1.089 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 1.344/58.83, allocations: 135.8 MB / 10.63 GB, free: 91.94 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.007295/58.84, allocations: 37.69 MB / 10.67 GB, free: 53.36 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006564/58.84, allocations: 116.9 kB / 10.67 GB, free: 53.36 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.414/61.25, allocations: 147.9 MB / 10.81 GB, free: 128.3 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02627/61.28, allocations: 2.545 MB / 10.82 GB, free: 128.3 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.315/61.6, allocations: 84.87 MB / 10.9 GB, free: 121.9 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03687/61.63, allocations: 1.658 MB / 10.9 GB, free: 121.9 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0061/61.64, allocations: 0.9296 MB / 10.9 GB, free: 121.9 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/61.64, allocations: 4.531 kB / 10.9 GB, free: 121.9 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.254/62.89, allocations: 127.6 MB / 11.03 GB, free: 120.6 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006071/62.89, allocations: 117 kB / 11.03 GB, free: 120.6 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384/64.28, allocations: 147.1 MB / 11.17 GB, free: 39.52 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.022/64.3, allocations: 2.508 MB / 11.17 GB, free: 37.2 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405/65.7, allocations: 86.79 MB / 11.26 GB, free: 123.7 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03214/65.74, allocations: 1.277 MB / 11.26 GB, free: 123.7 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006049/65.74, allocations: 0.8746 MB / 11.26 GB, free: 123.7 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 238 * 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 (1106): * Single equations (assignments): 1029 * Array equations: 36 * Algorithm blocks: 1 * Record equations: 32 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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,(6,72.2%) 83} * Non-linear torn systems: 1 {6 83} Notification: Performance of prepare postOptimizeDAE: time 0.0103/65.75, allocations: 0.7262 MB / 11.26 GB, free: 123.6 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008885/65.76, allocations: 1.523 MB / 11.26 GB, free: 123.6 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4538/66.22, allocations: 56.91 MB / 11.32 GB, free: 123 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002535/66.22, allocations: 99.25 kB / 11.32 GB, free: 123 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001539/66.22, allocations: 43.88 kB / 11.32 GB, free: 123 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3994/66.62, allocations: 51.02 MB / 11.37 GB, free: 122.3 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.479/67.1, allocations: 76.65 MB / 11.44 GB, free: 117.7 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001549/67.1, allocations: 10.61 kB / 11.44 GB, free: 117.7 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0184/67.11, allocations: 1.657 MB / 11.44 GB, free: 117.7 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3466/67.46, allocations: 43.18 MB / 11.48 GB, free: 112.5 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003553/67.46, allocations: 363.8 kB / 11.48 GB, free: 112.4 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2784/67.74, allocations: 64.32 MB / 11.55 GB, free: 76.86 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.461e-05/67.74, allocations: 12.31 kB / 11.55 GB, free: 76.86 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4262/68.17, allocations: 68.19 MB / 11.61 GB, free: 29.08 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01665/68.19, allocations: 3.596 MB / 11.62 GB, free: 25.47 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008769/68.19, allocations: 287.9 kB / 11.62 GB, free: 25.19 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02923/68.22, allocations: 1.383 MB / 11.62 GB, free: 23.83 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.124/69.35, allocations: 0.7275 MB / 11.62 GB, free: 121.2 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00389/69.35, allocations: 383.2 kB / 11.62 GB, free: 121.2 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.03312/69.39, allocations: 10.89 MB / 11.63 GB, free: 120.7 MB / 1.12 GB Notification: Performance of sort global known variables: time 2.525e-06/69.39, allocations: 0 / 11.63 GB, free: 120.7 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.08634/69.47, allocations: 9.405 MB / 11.64 GB, free: 120.7 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 (777): * Single equations (assignments): 747 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 80,(28,89.3%) 28} * Non-linear torn systems: 1 {6 81} Notification: Performance of Backend phase and start with SimCode phase: time 0.4458/69.92, allocations: 74.59 MB / 11.71 GB, free: 113.4 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.1456/70.06, allocations: 43.12 MB / 11.76 GB, free: 110 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.241e-05/70.06, allocations: 11.19 kB / 11.76 GB, free: 110 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.04541/70.11, allocations: 12.39 MB / 11.77 GB, free: 109.4 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06305/70.17, allocations: 7.441 MB / 11.77 GB, free: 109.3 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1777/70.35, allocations: 39.59 MB / 11.81 GB, free: 103.1 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02946/70.38, allocations: 9.41 MB / 11.82 GB, free: 102 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.06328/70.44, allocations: 8.924 MB / 11.83 GB, free: 101.6 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01984/70.46, allocations: 7.858 MB / 11.84 GB, free: 101.6 MB / 1.12 GB Notification: Performance of SimCode: time 1.563e-06/70.46, allocations: 3.438 kB / 11.84 GB, free: 101.6 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.857/75.32, allocations: 0.6783 GB / 12.52 GB, free: 194.5 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/75.32, allocations: 227.7 kB / 12.52 GB, free: 194.3 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 45.11/120.4, allocations: 0 / 12.52 GB, free: 194.3 MB / 1.198 GB