Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.132/4.132, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.393e-05/4.396e-05, allocations: 11.98 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6343/0.6344, allocations: 92.68 MB / 0.5896 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.214/1.848, allocations: 438.2 MB / 1.018 GB, free: 328 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/1.848, allocations: 98.25 kB / 1.018 GB, free: 280 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 54.11/55.96, allocations: 9.655 GB / 10.67 GB, free: 91.53 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.294e-06/55.96, allocations: 0 / 10.67 GB, free: 91.53 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.00325/55.96, allocations: 349 kB / 10.67 GB, free: 91.47 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: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.05758/56.02, allocations: 10.91 MB / 10.68 GB, free: 86.88 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.927e-05/56.02, allocations: 10.91 kB / 10.68 GB, free: 86.88 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004794/56.02, allocations: 0.775 MB / 10.68 GB, free: 86.8 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02196/56.05, allocations: 2.343 MB / 10.69 GB, free: 86.04 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08998/56.14, allocations: 18.48 MB / 10.7 GB, free: 83.96 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001083/56.14, allocations: 0.5171 MB / 10.7 GB, free: 83.95 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004863/56.14, allocations: 0.6988 MB / 10.71 GB, free: 83.95 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06077/56.2, allocations: 14.93 MB / 10.72 GB, free: 83.3 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004386/56.2, allocations: 8.578 kB / 10.72 GB, free: 83.3 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003881/56.21, allocations: 254.7 kB / 10.72 GB, free: 83.3 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002462/56.21, allocations: 149.3 kB / 10.72 GB, free: 83.3 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06429/56.27, allocations: 19.31 MB / 10.74 GB, free: 83.28 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.2319/56.5, allocations: 69.83 MB / 10.81 GB, free: 51.45 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05967/56.56, allocations: 11.95 MB / 10.82 GB, free: 51.28 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02664/56.59, allocations: 8.433 MB / 10.83 GB, free: 51.21 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.1617/56.75, allocations: 39.05 MB / 10.87 GB, free: 40.11 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05142/56.8, allocations: 10.23 MB / 10.88 GB, free: 39.97 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1087/56.91, allocations: 16.29 MB / 10.89 GB, free: 39.4 MB / 1.042 GB Notification: Performance of pre-optimization done (n=395): time 4.432e-05/56.91, allocations: 0 / 10.89 GB, free: 39.4 MB / 1.042 GB Notification: Performance of matching and sorting (n=589): time 0.6211/57.53, allocations: 103.8 MB / 10.99 GB, free: 4.156 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001195/57.53, allocations: 168.2 kB / 10.99 GB, free: 3.965 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05816/57.59, allocations: 12.87 MB / 11.01 GB, free: 13.17 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.004273/57.6, allocations: 181.7 kB / 11.01 GB, free: 12.98 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.01152/57.61, allocations: 5.964 MB / 11.01 GB, free: 7.543 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.006049/57.61, allocations: 1.977 MB / 11.01 GB, free: 5.75 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004037/57.62, allocations: 148 kB / 11.01 GB, free: 5.605 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0008361/57.62, allocations: 0.5917 MB / 11.01 GB, free: 5.098 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03669/57.66, allocations: 8.875 MB / 11.02 GB, free: 0 / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.055/58.71, allocations: 10.58 MB / 11.03 GB, free: 104.5 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02606/58.74, allocations: 9.037 MB / 11.04 GB, free: 104.3 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001228/58.74, allocations: 15.16 kB / 11.04 GB, free: 104.3 MB / 1.057 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.172/58.91, allocations: 34.09 MB / 11.08 GB, free: 104 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 0.006154/58.92, allocations: 30.26 MB / 11.11 GB, free: 72.6 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002343/58.92, allocations: 48.81 kB / 11.11 GB, free: 72.6 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.693/60.61, allocations: 171.9 MB / 11.27 GB, free: 71.21 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0303/60.64, allocations: 1.731 MB / 11.27 GB, free: 71.2 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1759/60.82, allocations: 40.34 MB / 11.31 GB, free: 58.24 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03367/60.85, allocations: 1.445 MB / 11.32 GB, free: 56.99 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005344/60.85, allocations: 0.811 MB / 11.32 GB, free: 56.24 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/60.85, allocations: 4 kB / 11.32 GB, free: 56.24 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2444/61.1, allocations: 36.34 MB / 11.35 GB, free: 29.27 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002258/61.1, allocations: 47.31 kB / 11.35 GB, free: 29.23 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685/63.78, allocations: 171 MB / 11.52 GB, free: 143.6 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0144/63.8, allocations: 1.57 MB / 11.52 GB, free: 143.6 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.137/63.94, allocations: 42.02 MB / 11.56 GB, free: 139.5 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02925/63.96, allocations: 1.041 MB / 11.56 GB, free: 139.5 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004918/63.97, allocations: 0.7557 MB / 11.56 GB, free: 139.5 MB / 1.104 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 212 * 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 (673): * Single equations (assignments): 660 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * 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: 1 {(7,75.5%) 78} * Non-linear torn systems: 2 {40 56,6 79} Notification: Performance of prepare postOptimizeDAE: time 0.007975/63.98, allocations: 0.5324 MB / 11.56 GB, free: 139.4 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007346/63.98, allocations: 1.184 MB / 11.56 GB, free: 139.4 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1649/64.15, allocations: 30.14 MB / 11.59 GB, free: 138.9 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000183/64.15, allocations: 75.19 kB / 11.59 GB, free: 138.9 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.782e-05/64.15, allocations: 18.36 kB / 11.59 GB, free: 138.9 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1333/64.28, allocations: 24.76 MB / 11.62 GB, free: 138.2 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5128/64.8, allocations: 75.82 MB / 11.69 GB, free: 131.2 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001175/64.8, allocations: 11.75 kB / 11.69 GB, free: 131.2 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01272/64.81, allocations: 1.242 MB / 11.69 GB, free: 131.2 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3957/65.2, allocations: 50.39 MB / 11.74 GB, free: 97.07 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002503/65.21, allocations: 217.6 kB / 11.74 GB, free: 97 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.224/65.43, allocations: 50.99 MB / 11.79 GB, free: 57.82 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.236e-05/65.43, allocations: 15.66 kB / 11.79 GB, free: 57.81 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 1.462/66.89, allocations: 62.93 MB / 11.85 GB, free: 129.9 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01396/66.91, allocations: 2.918 MB / 11.86 GB, free: 129.9 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007026/66.91, allocations: 134.6 kB / 11.86 GB, free: 129.9 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0264/66.94, allocations: 1.219 MB / 11.86 GB, free: 129.9 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003957/66.95, allocations: 0.5538 MB / 11.86 GB, free: 129.8 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002551/66.95, allocations: 309.6 kB / 11.86 GB, free: 129.8 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.02643/66.97, allocations: 8.788 MB / 11.87 GB, free: 129.5 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.843e-06/66.97, allocations: 0 / 11.87 GB, free: 129.5 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.08361/67.06, allocations: 7.22 MB / 11.88 GB, free: 129.5 MB / 1.104 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 3 (valSouth.port_3.h_outflow,valNorth.port_3.h_outflow,heater.outCon.T) * 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 (500): * Single equations (assignments): 478 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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: 1 {(7,75.5%) 74} * Non-linear torn systems: 2 {37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.4755/67.53, allocations: 68.72 MB / 11.94 GB, free: 123 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.1526/67.69, allocations: 35.76 MB / 11.98 GB, free: 121.9 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 2.15e-05/67.69, allocations: 6.844 kB / 11.98 GB, free: 121.9 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.04313/67.73, allocations: 11.03 MB / 11.99 GB, free: 121.4 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05282/67.78, allocations: 6.133 MB / 11.99 GB, free: 121.3 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1409/67.92, allocations: 30.13 MB / 12.02 GB, free: 116.8 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01515/67.94, allocations: 7.194 MB / 12.03 GB, free: 115.8 MB / 1.104 GB Notification: Performance of simCode: alias equations: time 0.04526/67.98, allocations: 6.271 MB / 12.04 GB, free: 115.6 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01383/68, allocations: 5.809 MB / 12.04 GB, free: 115.6 MB / 1.104 GB Notification: Performance of SimCode: time 1.193e-06/68, allocations: 0 / 12.04 GB, free: 115.6 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.302/71.3, allocations: 0.5799 GB / 12.62 GB, free: 8.91 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003233/71.3, allocations: 229.2 kB / 12.62 GB, free: 8.645 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 36.35/107.7, allocations: 0 / 12.62 GB, free: 8.645 MB / 1.151 GB