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.655/3.655, allocations: 403.3 MB / 415.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.218e-05/4.242e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.604/0.604, allocations: 92.68 MB / 0.5896 GB, free: 14.49 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/1.77, allocations: 437 MB / 1.016 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/1.77, allocations: 94.84 kB / 1.016 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 50.16/51.93, allocations: 8.949 GB / 9.965 GB, free: 20.16 MB / 1.057 GB Notification: Performance of FrontEnd: time 3.547e-06/51.93, allocations: 0 / 9.965 GB, free: 20.16 MB / 1.057 GB Notification: Performance of Transformations before backend: time 0.004838/51.93, allocations: 0.5069 MB / 9.966 GB, free: 19.66 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.07062/52, allocations: 13.93 MB / 9.979 GB, free: 5.625 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/52, allocations: 8.031 kB / 9.979 GB, free: 5.617 MB / 1.057 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005862/52.01, allocations: 1.049 MB / 9.98 GB, free: 4.559 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02065/52.03, allocations: 2.418 MB / 9.983 GB, free: 2.117 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.198/53.23, allocations: 23.75 MB / 10.01 GB, free: 78.4 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001369/53.23, allocations: 0.7077 MB / 10.01 GB, free: 78.38 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006464/53.23, allocations: 1.001 MB / 10.01 GB, free: 78.36 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06934/53.3, allocations: 18.49 MB / 10.03 GB, free: 76.44 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006024/53.3, allocations: 16.84 kB / 10.03 GB, free: 76.44 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004598/53.31, allocations: 358.3 kB / 10.03 GB, free: 76.44 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000309/53.31, allocations: 216.7 kB / 10.03 GB, free: 76.44 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06848/53.38, allocations: 21.26 MB / 10.05 GB, free: 76.38 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.2075/53.59, allocations: 80.32 MB / 10.13 GB, free: 41.16 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06237/53.65, allocations: 15.25 MB / 10.14 GB, free: 40.65 MB / 1.057 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02227/53.67, allocations: 9.25 MB / 10.15 GB, free: 40.57 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.1318/53.8, allocations: 42.88 MB / 10.19 GB, free: 28.96 MB / 1.057 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04192/53.84, allocations: 11.29 MB / 10.2 GB, free: 28.73 MB / 1.057 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08197/53.93, allocations: 15.85 MB / 10.22 GB, free: 28.42 MB / 1.057 GB Notification: Performance of pre-optimization done (n=582): time 4.887e-05/53.93, allocations: 3.625 kB / 10.22 GB, free: 28.42 MB / 1.057 GB Notification: Performance of matching and sorting (n=829): time 2.88/56.81, allocations: 225.3 MB / 10.44 GB, free: 104 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007225/56.81, allocations: 2.579 MB / 10.44 GB, free: 100.9 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04247/56.85, allocations: 14.27 MB / 10.45 GB, free: 100.2 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.005342/56.86, allocations: 263.2 kB / 10.45 GB, free: 100.1 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01345/56.87, allocations: 7.795 MB / 10.46 GB, free: 99.81 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.006861/56.88, allocations: 2.866 MB / 10.46 GB, free: 99.18 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004329/56.88, allocations: 208.8 kB / 10.46 GB, free: 99.18 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.001083/56.88, allocations: 0.7635 MB / 10.47 GB, free: 98.85 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02707/56.91, allocations: 9.828 MB / 10.48 GB, free: 98.83 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0313/56.94, allocations: 13.39 MB / 10.49 GB, free: 95.07 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03194/56.97, allocations: 11.21 MB / 10.5 GB, free: 94.84 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001487/56.97, allocations: 14.97 kB / 10.5 GB, free: 94.84 MB / 1.089 GB Notification: Performance of matching and sorting (n=1438) (initialization): time 1.331/58.3, allocations: 136 MB / 10.63 GB, free: 92.07 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.007248/58.31, allocations: 37.69 MB / 10.67 GB, free: 53.48 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000714/58.31, allocations: 120.8 kB / 10.67 GB, free: 53.48 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.484/60.8, allocations: 147.9 MB / 10.81 GB, free: 128.4 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02639/60.82, allocations: 2.544 MB / 10.82 GB, free: 128.4 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3269/61.15, allocations: 84.87 MB / 10.9 GB, free: 121.9 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03693/61.19, allocations: 1.664 MB / 10.9 GB, free: 121.9 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006446/61.19, allocations: 0.9294 MB / 10.9 GB, free: 121.9 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/61.19, allocations: 11.27 kB / 10.9 GB, free: 121.9 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.306/62.5, allocations: 127.8 MB / 11.03 GB, free: 120.6 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000615/62.5, allocations: 122.7 kB / 11.03 GB, free: 120.6 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333/63.83, allocations: 147.1 MB / 11.17 GB, free: 38.76 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02233/63.85, allocations: 2.509 MB / 11.17 GB, free: 36.44 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412/65.27, allocations: 86.75 MB / 11.26 GB, free: 124 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03247/65.3, allocations: 1.283 MB / 11.26 GB, free: 124 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005954/65.3, allocations: 0.8716 MB / 11.26 GB, free: 124 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.32, allocations: 0.7357 MB / 11.26 GB, free: 123.9 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009068/65.32, allocations: 1.526 MB / 11.26 GB, free: 123.9 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4335/65.76, allocations: 56.91 MB / 11.32 GB, free: 123.2 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002561/65.76, allocations: 105.6 kB / 11.32 GB, free: 123.2 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001642/65.76, allocations: 41.91 kB / 11.32 GB, free: 123.2 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4027/66.16, allocations: 51.02 MB / 11.37 GB, free: 122.5 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.4721/66.63, allocations: 76.67 MB / 11.44 GB, free: 117.9 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000154/66.63, allocations: 9.219 kB / 11.44 GB, free: 117.9 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01829/66.65, allocations: 1.658 MB / 11.44 GB, free: 117.9 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3445/67, allocations: 43.17 MB / 11.49 GB, free: 112.2 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003275/67, allocations: 367.9 kB / 11.49 GB, free: 112.1 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2771/67.28, allocations: 64.31 MB / 11.55 GB, free: 76.62 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/67.28, allocations: 17.31 kB / 11.55 GB, free: 76.61 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4251/67.7, allocations: 68.2 MB / 11.62 GB, free: 28.27 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01801/67.72, allocations: 3.591 MB / 11.62 GB, free: 24.66 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008269/67.73, allocations: 291.9 kB / 11.62 GB, free: 24.38 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.099/68.83, allocations: 1.38 MB / 11.62 GB, free: 122 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006424/68.83, allocations: 0.7341 MB / 11.62 GB, free: 122 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003434/68.84, allocations: 381.7 kB / 11.62 GB, free: 122 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.03312/68.87, allocations: 10.89 MB / 11.63 GB, free: 121.5 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.172e-06/68.87, allocations: 0 / 11.63 GB, free: 121.5 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.08442/68.96, allocations: 9.405 MB / 11.64 GB, free: 121.5 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.4539/69.41, allocations: 74.45 MB / 11.71 GB, free: 114.3 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.1471/69.56, allocations: 43.6 MB / 11.76 GB, free: 110.7 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.448e-05/69.56, allocations: 13.19 kB / 11.76 GB, free: 110.7 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.0451/69.6, allocations: 12.53 MB / 11.77 GB, free: 110.1 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06222/69.66, allocations: 7.448 MB / 11.78 GB, free: 110 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1652/69.83, allocations: 39.64 MB / 11.81 GB, free: 103.8 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02044/69.85, allocations: 9.416 MB / 11.82 GB, free: 102.6 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.06889/69.92, allocations: 8.924 MB / 11.83 GB, free: 102.2 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03075/69.95, allocations: 7.863 MB / 11.84 GB, free: 102.2 MB / 1.12 GB Notification: Performance of SimCode: time 2.505e-06/69.95, allocations: 0 / 11.84 GB, free: 102.2 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.933/74.88, allocations: 0.6798 GB / 12.52 GB, free: 192 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/74.88, allocations: 235.5 kB / 12.52 GB, free: 191.8 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 42.71/117.6, allocations: 7.938 kB / 12.52 GB, free: 191.8 MB / 1.198 GB