Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.921/3.921, allocations: 403.3 MB / 415.4 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.962e-05/3.998e-05, allocations: 4 kB / 0.4991 GB, free: 13.29 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.592/0.5921, allocations: 92.69 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.162/1.754, allocations: 436.8 MB / 1.016 GB, free: 1.945 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/1.755, allocations: 88.89 kB / 1.016 GB, free: 1.902 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 46.34/48.1, allocations: 8.21 GB / 9.226 GB, free: 36.99 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.255e-06/48.1, allocations: 0 / 9.226 GB, free: 36.99 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.004821/48.1, allocations: 0.5031 MB / 9.226 GB, free: 36.49 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.06849/48.17, allocations: 13.93 MB / 9.24 GB, free: 22.45 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/48.17, allocations: 16.03 kB / 9.24 GB, free: 22.43 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005949/48.18, allocations: 1.042 MB / 9.241 GB, free: 21.38 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02166/48.2, allocations: 2.421 MB / 9.243 GB, free: 18.94 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 2.068/50.27, allocations: 23.77 MB / 9.267 GB, free: 68.57 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001431/50.27, allocations: 0.7101 MB / 9.267 GB, free: 68.55 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007267/50.27, allocations: 1.006 MB / 9.268 GB, free: 68.55 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.074/50.35, allocations: 18.72 MB / 9.287 GB, free: 66.63 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006194/50.35, allocations: 12.53 kB / 9.287 GB, free: 66.63 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005123/50.35, allocations: 361.6 kB / 9.287 GB, free: 66.63 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003498/50.35, allocations: 213.6 kB / 9.287 GB, free: 66.63 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07155/50.43, allocations: 21.48 MB / 9.308 GB, free: 66.57 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.2013/50.63, allocations: 79.89 MB / 9.386 GB, free: 32.81 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0546/50.68, allocations: 15.7 MB / 9.401 GB, free: 32.32 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02032/50.7, allocations: 8.926 MB / 9.41 GB, free: 32.26 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.1368/50.84, allocations: 43.08 MB / 9.452 GB, free: 20.85 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0538/50.89, allocations: 11.58 MB / 9.464 GB, free: 20.63 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08082/50.97, allocations: 15.86 MB / 9.479 GB, free: 20.46 MB / 1.042 GB Notification: Performance of pre-optimization done (n=603): time 4.978e-05/50.97, allocations: 1.625 kB / 9.479 GB, free: 20.46 MB / 1.042 GB Notification: Performance of matching and sorting (n=871): time 3.012/53.99, allocations: 224.8 MB / 9.699 GB, free: 97.83 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007941/53.99, allocations: 2.587 MB / 9.701 GB, free: 94.76 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04479/54.03, allocations: 14.24 MB / 9.715 GB, free: 94.01 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.005646/54.04, allocations: 272.6 kB / 9.715 GB, free: 93.98 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.01505/54.05, allocations: 7.772 MB / 9.723 GB, free: 93.62 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.007724/54.06, allocations: 3.002 MB / 9.726 GB, free: 92.73 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005127/54.07, allocations: 217.8 kB / 9.726 GB, free: 92.73 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001305/54.07, allocations: 0.7626 MB / 9.727 GB, free: 92.4 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02864/54.1, allocations: 9.998 MB / 9.737 GB, free: 92.38 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0347/54.13, allocations: 13.58 MB / 9.75 GB, free: 88.62 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03349/54.16, allocations: 11.39 MB / 9.761 GB, free: 88.39 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001486/54.16, allocations: 14.38 kB / 9.761 GB, free: 88.39 MB / 1.073 GB Notification: Performance of matching and sorting (n=1470) (initialization): time 1.365/55.53, allocations: 137 MB / 9.895 GB, free: 85.61 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.007207/55.54, allocations: 36.11 MB / 9.93 GB, free: 48.64 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006734/55.54, allocations: 120 kB / 9.93 GB, free: 48.64 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443/57.98, allocations: 148.7 MB / 10.08 GB, free: 122.2 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02984/58.01, allocations: 2.649 MB / 10.08 GB, free: 122.2 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3427/58.35, allocations: 88.24 MB / 10.16 GB, free: 114.6 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04313/58.4, allocations: 1.687 MB / 10.17 GB, free: 114.6 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01015/58.41, allocations: 0.9475 MB / 10.17 GB, free: 114.6 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 2.2e-05/58.41, allocations: 5.688 kB / 10.17 GB, free: 114.6 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 1.295/59.7, allocations: 128.5 MB / 10.29 GB, free: 113.1 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005783/59.7, allocations: 116 kB / 10.29 GB, free: 113.1 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352/61.05, allocations: 148 MB / 10.44 GB, free: 17.34 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02332/61.08, allocations: 2.53 MB / 10.44 GB, free: 14.99 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43/62.51, allocations: 89.41 MB / 10.53 GB, free: 133.3 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03281/62.54, allocations: 1.3 MB / 10.53 GB, free: 133.3 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005882/62.55, allocations: 0.8832 MB / 10.53 GB, free: 133.3 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,(14,32.1%) 92} * Non-linear torn systems: 1 {14 92} Notification: Performance of prepare postOptimizeDAE: time 0.01018/62.56, allocations: 0.739 MB / 10.53 GB, free: 133.2 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009007/62.57, allocations: 1.532 MB / 10.53 GB, free: 133.2 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4488/63.01, allocations: 58.1 MB / 10.59 GB, free: 132.5 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002557/63.01, allocations: 107 kB / 10.59 GB, free: 132.5 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001576/63.01, allocations: 45.12 kB / 10.59 GB, free: 132.5 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.4151/63.43, allocations: 52.14 MB / 10.64 GB, free: 131.7 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.5388/63.97, allocations: 78.35 MB / 10.72 GB, free: 127 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001538/63.97, allocations: 14.7 kB / 10.72 GB, free: 127 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02147/63.99, allocations: 1.81 MB / 10.72 GB, free: 127 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3488/64.34, allocations: 43.84 MB / 10.76 GB, free: 109.2 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004008/64.34, allocations: 383.5 kB / 10.76 GB, free: 109.1 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3383/64.68, allocations: 69.78 MB / 10.83 GB, free: 67.8 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.517e-05/64.68, allocations: 15.66 kB / 10.83 GB, free: 67.8 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.538/66.22, allocations: 69.64 MB / 10.9 GB, free: 113.7 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01766/66.24, allocations: 3.656 MB / 10.9 GB, free: 113.6 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009/66.25, allocations: 297.9 kB / 10.9 GB, free: 113.6 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03139/66.28, allocations: 1.427 MB / 10.9 GB, free: 113.6 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.006316/66.28, allocations: 0.7763 MB / 10.9 GB, free: 113.6 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003601/66.29, allocations: 401.8 kB / 10.9 GB, free: 113.6 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.03282/66.32, allocations: 10.87 MB / 10.91 GB, free: 113.1 MB / 1.12 GB Notification: Performance of sort global known variables: time 1.974e-06/66.32, allocations: 2.625 kB / 10.91 GB, free: 113.1 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.08463/66.41, allocations: 9.5 MB / 10.92 GB, free: 113.1 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 {(14,32.1%) 89,(28,89.3%) 28} * Non-linear torn systems: 1 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.4657/66.87, allocations: 75.92 MB / 11 GB, free: 105.1 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.1646/67.04, allocations: 44.88 MB / 11.04 GB, free: 101.3 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.991e-05/67.04, allocations: 13.12 kB / 11.04 GB, free: 101.2 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.05692/67.09, allocations: 13.25 MB / 11.05 GB, free: 100.5 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06534/67.16, allocations: 7.487 MB / 11.06 GB, free: 100.4 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1699/67.33, allocations: 39.95 MB / 11.1 GB, free: 94.14 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02108/67.35, allocations: 9.47 MB / 11.11 GB, free: 92.98 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.06076/67.41, allocations: 8.891 MB / 11.12 GB, free: 92.46 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0201/67.43, allocations: 7.872 MB / 11.13 GB, free: 92.45 MB / 1.12 GB Notification: Performance of SimCode: time 1.253e-06/67.43, allocations: 0 / 11.13 GB, free: 92.45 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.906/71.34, allocations: 0.6931 GB / 11.82 GB, free: 161.7 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/71.34, allocations: 234.5 kB / 11.82 GB, free: 161.4 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.59/115.9, allocations: 8.5 kB / 11.82 GB, free: 161.4 MB / 1.182 GB