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 3.853/3.853, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.213e-05/4.231e-05, allocations: 3.938 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5943/0.5944, allocations: 92.67 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.166/1.76, allocations: 436.7 MB / 1.016 GB, free: 2.055 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/1.76, allocations: 94.33 kB / 1.016 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 46.53/48.29, allocations: 8.209 GB / 9.225 GB, free: 36.81 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.054e-06/48.29, allocations: 0 / 9.225 GB, free: 36.81 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.00478/48.29, allocations: 0.5108 MB / 9.226 GB, free: 36.3 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.0676/48.36, allocations: 13.94 MB / 9.239 GB, free: 22.25 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/48.36, allocations: 8.031 kB / 9.239 GB, free: 22.24 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005722/48.36, allocations: 1.049 MB / 9.24 GB, free: 21.18 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02094/48.39, allocations: 2.418 MB / 9.243 GB, free: 18.74 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.207/50.59, allocations: 23.77 MB / 9.266 GB, free: 68.97 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001378/50.59, allocations: 0.7071 MB / 9.266 GB, free: 68.96 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006488/50.6, allocations: 1.003 MB / 9.267 GB, free: 68.96 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07056/50.67, allocations: 18.19 MB / 9.285 GB, free: 67.04 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000659/50.67, allocations: 18.34 kB / 9.285 GB, free: 67.04 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004846/50.68, allocations: 357.4 kB / 9.286 GB, free: 67.04 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003196/50.68, allocations: 214.3 kB / 9.286 GB, free: 67.04 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06891/50.75, allocations: 20.95 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.2059/50.95, allocations: 79.89 MB / 9.384 GB, free: 33.17 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0528/51, allocations: 15.16 MB / 9.399 GB, free: 32.68 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02048/51.02, allocations: 8.932 MB / 9.408 GB, free: 32.61 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.1578/51.18, allocations: 43.07 MB / 9.45 GB, free: 21.21 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06049/51.24, allocations: 11.05 MB / 9.461 GB, free: 20.98 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.09878/51.34, allocations: 15.87 MB / 9.476 GB, free: 20.82 MB / 1.042 GB Notification: Performance of pre-optimization done (n=603): time 5.126e-05/51.34, allocations: 0 / 9.476 GB, free: 20.82 MB / 1.042 GB Notification: Performance of matching and sorting (n=871): time 2.908/54.25, allocations: 208.7 MB / 9.68 GB, free: 97.88 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007946/54.25, allocations: 2.585 MB / 9.682 GB, free: 94.81 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04517/54.3, allocations: 14.25 MB / 9.696 GB, free: 94.06 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.005597/54.3, allocations: 273.2 kB / 9.697 GB, free: 94.03 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01498/54.32, allocations: 7.775 MB / 9.704 GB, free: 93.68 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.008017/54.32, allocations: 3 MB / 9.707 GB, free: 92.8 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005144/54.33, allocations: 216.7 kB / 9.707 GB, free: 92.8 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001294/54.33, allocations: 0.7601 MB / 9.708 GB, free: 92.47 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02888/54.36, allocations: 9.914 MB / 9.718 GB, free: 92.45 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03391/54.39, allocations: 13.5 MB / 9.731 GB, free: 88.68 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03361/54.43, allocations: 11.32 MB / 9.742 GB, free: 88.45 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001704/54.43, allocations: 17.16 kB / 9.742 GB, free: 88.45 MB / 1.073 GB Notification: Performance of matching and sorting (n=1470) (initialization): time 1.359/55.79, allocations: 133.3 MB / 9.872 GB, free: 86.27 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.007341/55.79, allocations: 36.11 MB / 9.907 GB, free: 49.3 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007052/55.8, allocations: 114 kB / 9.908 GB, free: 49.3 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388/57.18, allocations: 149.4 MB / 10.05 GB, free: 6.77 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03082/57.21, allocations: 2.639 MB / 10.06 GB, free: 4.316 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415/58.63, allocations: 89.73 MB / 10.14 GB, free: 132.7 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03648/58.67, allocations: 1.556 MB / 10.15 GB, free: 132.7 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006129/58.67, allocations: 0.9431 MB / 10.15 GB, free: 132.7 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/58.67, allocations: 3.188 kB / 10.15 GB, free: 132.7 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.279/59.95, allocations: 128.5 MB / 10.27 GB, free: 131.6 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005731/59.95, allocations: 117.4 kB / 10.27 GB, free: 131.6 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353/61.3, allocations: 148.2 MB / 10.42 GB, free: 66.5 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02283/61.33, allocations: 2.522 MB / 10.42 GB, free: 64.16 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462/62.79, allocations: 90.05 MB / 10.51 GB, free: 126.9 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03247/62.82, allocations: 1.295 MB / 10.51 GB, free: 126.9 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005682/62.83, allocations: 0.8886 MB / 10.51 GB, free: 126.9 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.008475/62.84, allocations: 0.7401 MB / 10.51 GB, free: 126.8 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008/62.84, allocations: 1.537 MB / 10.51 GB, free: 126.8 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4146/63.26, allocations: 54.43 MB / 10.56 GB, free: 126.1 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002181/63.26, allocations: 105.1 kB / 10.56 GB, free: 126.1 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001553/63.26, allocations: 45.47 kB / 10.56 GB, free: 126.1 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.3836/63.64, allocations: 48.48 MB / 10.61 GB, free: 125.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.4606/64.1, allocations: 74.43 MB / 10.68 GB, free: 120.6 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001589/64.1, allocations: 10.47 kB / 10.68 GB, free: 120.6 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02186/64.12, allocations: 1.808 MB / 10.69 GB, free: 120.6 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3545/64.48, allocations: 44.13 MB / 10.73 GB, free: 120.5 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003476/64.48, allocations: 380.4 kB / 10.73 GB, free: 120.5 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2974/64.78, allocations: 65.66 MB / 10.79 GB, free: 92.18 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-05/64.78, allocations: 16.28 kB / 10.79 GB, free: 92.17 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4082/65.19, allocations: 65.82 MB / 10.86 GB, free: 53.62 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02053/65.21, allocations: 3.626 MB / 10.86 GB, free: 51.44 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01003/65.22, allocations: 298.9 kB / 10.86 GB, free: 51.33 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03841/65.26, allocations: 1.29 MB / 10.86 GB, free: 50.64 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.007223/65.27, allocations: 0.7666 MB / 10.86 GB, free: 50.28 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003639/65.27, allocations: 392.8 kB / 10.86 GB, free: 50.03 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.03152/65.3, allocations: 10.88 MB / 10.88 GB, free: 41.54 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.202e-06/65.3, allocations: 0 / 10.88 GB, free: 41.54 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.07758/65.38, allocations: 9.335 MB / 10.88 GB, free: 32.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 (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.488/66.87, allocations: 72.19 MB / 10.95 GB, free: 121.7 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.193/67.06, allocations: 47.46 MB / 11 GB, free: 117.9 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 2.927e-05/67.06, allocations: 13.08 kB / 11 GB, free: 117.9 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.07549/67.14, allocations: 15.15 MB / 11.02 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.06381/67.2, allocations: 7.491 MB / 11.02 GB, free: 117 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.133/67.33, allocations: 35.42 MB / 11.06 GB, free: 110.8 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02256/67.35, allocations: 9.491 MB / 11.07 GB, free: 109.6 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.0623/67.42, allocations: 8.904 MB / 11.08 GB, free: 109.4 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01984/67.44, allocations: 7.871 MB / 11.08 GB, free: 109.4 MB / 1.12 GB Notification: Performance of SimCode: time 1.653e-06/67.44, allocations: 0 / 11.08 GB, free: 109.4 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.733/71.17, allocations: 0.6783 GB / 11.76 GB, free: 169.6 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002485/71.17, allocations: 235.8 kB / 11.76 GB, free: 169.3 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 43.61/114.8, allocations: 3.656 kB / 11.76 GB, free: 169.3 MB / 1.198 GB