Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Basic,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Basic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.765/3.765, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.755e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.35 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5921/0.5922, allocations: 92.68 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.16/1.752, allocations: 436.5 MB / 1.016 GB, free: 2.156 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003347/1.753, allocations: 88.39 kB / 1.016 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 33.91/35.67, allocations: 6.057 GB / 7.073 GB, free: 59.18 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.164e-06/35.67, allocations: 0 / 7.073 GB, free: 59.18 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.004184/35.67, allocations: 0.5241 MB / 7.073 GB, free: 58.98 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.06594/35.74, allocations: 13.96 MB / 7.087 GB, free: 52.71 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/35.74, allocations: 11 kB / 7.087 GB, free: 52.71 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005662/35.74, allocations: 1.051 MB / 7.088 GB, free: 52.62 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02082/35.76, allocations: 2.429 MB / 7.09 GB, free: 51.61 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1032/35.87, allocations: 23.84 MB / 7.114 GB, free: 39.13 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001402/35.87, allocations: 0.707 MB / 7.114 GB, free: 38.42 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006524/35.87, allocations: 1.018 MB / 7.115 GB, free: 37.41 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1294/36, allocations: 19.22 MB / 7.134 GB, free: 18.87 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004564/36, allocations: 15.78 kB / 7.134 GB, free: 18.85 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005188/36.01, allocations: 364 kB / 7.134 GB, free: 18.5 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003607/36.01, allocations: 219.9 kB / 7.135 GB, free: 18.28 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.086/37.1, allocations: 21.89 MB / 7.156 GB, free: 68.77 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.211/37.31, allocations: 79.06 MB / 7.233 GB, free: 36.69 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06225/37.37, allocations: 16.42 MB / 7.249 GB, free: 36.22 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02208/37.39, allocations: 9.416 MB / 7.258 GB, free: 36.13 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.1309/37.52, allocations: 43.86 MB / 7.301 GB, free: 24.72 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05131/37.57, allocations: 12.09 MB / 7.313 GB, free: 24.51 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08371/37.66, allocations: 15.87 MB / 7.329 GB, free: 24.35 MB / 1.042 GB Notification: Performance of pre-optimization done (n=627): time 5.979e-05/37.66, allocations: 0 / 7.329 GB, free: 24.35 MB / 1.042 GB Notification: Performance of matching and sorting (n=919): time 1.793/39.45, allocations: 220.2 MB / 7.544 GB, free: 10.2 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001382/39.45, allocations: 2.585 MB / 7.546 GB, free: 7.008 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.099/40.55, allocations: 14.2 MB / 7.56 GB, free: 93.71 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.005838/40.56, allocations: 281.2 kB / 7.56 GB, free: 93.68 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01484/40.57, allocations: 7.772 MB / 7.568 GB, free: 93.26 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.008821/40.58, allocations: 3.164 MB / 7.571 GB, free: 92.23 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005459/40.59, allocations: 223.6 kB / 7.571 GB, free: 92.23 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001289/40.59, allocations: 0.7713 MB / 7.572 GB, free: 91.9 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03037/40.62, allocations: 10.61 MB / 7.582 GB, free: 91.88 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03526/40.65, allocations: 14.18 MB / 7.596 GB, free: 88.14 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03427/40.69, allocations: 11.92 MB / 7.608 GB, free: 87.89 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001725/40.69, allocations: 10.53 kB / 7.608 GB, free: 87.89 MB / 1.073 GB Notification: Performance of matching and sorting (n=1494) (initialization): time 1.392/42.08, allocations: 138.9 MB / 7.743 GB, free: 86.1 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.006196/42.09, allocations: 32.34 MB / 7.775 GB, free: 52.23 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000606/42.09, allocations: 114 kB / 7.775 GB, free: 52.22 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428/43.52, allocations: 157.1 MB / 7.929 GB, free: 2.707 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02854/43.54, allocations: 2.461 MB / 7.931 GB, free: 432 kB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51/45.05, allocations: 102.2 MB / 8.031 GB, free: 134.7 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04092/45.09, allocations: 1.738 MB / 8.032 GB, free: 134.7 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006874/45.1, allocations: 0.9594 MB / 8.033 GB, free: 134.7 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/45.1, allocations: 3.438 kB / 8.033 GB, free: 134.7 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.303/46.4, allocations: 131.7 MB / 8.162 GB, free: 133.9 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005536/46.41, allocations: 109.9 kB / 8.162 GB, free: 133.9 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379/47.78, allocations: 155.9 MB / 8.314 GB, free: 59.52 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02109/47.81, allocations: 2.336 MB / 8.317 GB, free: 57.35 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461/49.27, allocations: 105.9 MB / 8.42 GB, free: 128 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03526/49.3, allocations: 1.377 MB / 8.421 GB, free: 128 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006033/49.31, allocations: 0.8967 MB / 8.422 GB, free: 128 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 204 * 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 (1032): * Single equations (assignments): 953 * 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,(33,24.2%) 121} * Non-linear torn systems: 1 {33 121} Notification: Performance of prepare postOptimizeDAE: time 0.01065/49.32, allocations: 0.7387 MB / 8.423 GB, free: 127.9 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00953/49.33, allocations: 1.539 MB / 8.425 GB, free: 127.9 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4706/49.8, allocations: 60.32 MB / 8.483 GB, free: 127.1 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002341/49.8, allocations: 112.8 kB / 8.484 GB, free: 127.1 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001495/49.8, allocations: 54.09 kB / 8.484 GB, free: 127.1 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4577/50.26, allocations: 54.29 MB / 8.537 GB, free: 126.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.6207/50.88, allocations: 82.4 MB / 8.617 GB, free: 121.5 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001662/50.88, allocations: 15.31 kB / 8.617 GB, free: 121.5 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0197/50.9, allocations: 1.666 MB / 8.619 GB, free: 121.5 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3839/51.28, allocations: 49.25 MB / 8.667 GB, free: 106.5 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003843/51.29, allocations: 400.2 kB / 8.667 GB, free: 106.4 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3653/51.65, allocations: 85.4 MB / 8.751 GB, free: 58.47 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.438e-05/51.65, allocations: 15.94 kB / 8.751 GB, free: 58.46 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.603/53.25, allocations: 72.92 MB / 8.822 GB, free: 112.4 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01813/53.27, allocations: 3.816 MB / 8.826 GB, free: 112.3 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009224/53.28, allocations: 303.5 kB / 8.826 GB, free: 112.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03309/53.31, allocations: 1.495 MB / 8.827 GB, free: 112.3 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006993/53.32, allocations: 0.867 MB / 8.828 GB, free: 112.3 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003957/53.33, allocations: 423 kB / 8.829 GB, free: 112.3 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.03289/53.36, allocations: 10.86 MB / 8.839 GB, free: 111.8 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.102e-06/53.36, allocations: 0 / 8.839 GB, free: 111.8 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.07438/53.43, allocations: 9.843 MB / 8.849 GB, free: 111.8 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 (737): * Single equations (assignments): 705 * 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 {(33,26.1%) 118,(28,89.3%) 28} * Non-linear torn systems: 1 {33 119} Notification: Performance of Backend phase and start with SimCode phase: time 0.4963/53.93, allocations: 79.34 MB / 8.926 GB, free: 103.6 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.1778/54.11, allocations: 47.87 MB / 8.973 GB, free: 99.49 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.159e-05/54.11, allocations: 11.69 kB / 8.973 GB, free: 99.49 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.06101/54.17, allocations: 14.8 MB / 8.987 GB, free: 98.57 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06364/54.23, allocations: 7.508 MB / 8.995 GB, free: 98.45 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1369/54.37, allocations: 36.4 MB / 9.03 GB, free: 92.2 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0225/54.39, allocations: 9.605 MB / 9.04 GB, free: 91.02 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.05992/54.45, allocations: 8.498 MB / 9.048 GB, free: 90.86 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02007/54.47, allocations: 7.878 MB / 9.056 GB, free: 90.85 MB / 1.12 GB Notification: Performance of SimCode: time 1.493e-06/54.47, allocations: 3.156 kB / 9.056 GB, free: 90.85 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.291/59.76, allocations: 0.7469 GB / 9.803 GB, free: 136.4 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002579/59.76, allocations: 218.5 kB / 9.803 GB, free: 136.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.45/106.2, allocations: 4 kB / 9.803 GB, free: 136.1 MB / 1.182 GB