Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.119/4.119, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.014e-05/4.022e-05, allocations: 4.859 kB / 0.5338 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.236, allocations: 98.72 MB / 0.6302 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.318/1.554, allocations: 448.9 MB / 1.069 GB, free: 12.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003042/1.554, allocations: 93.2 kB / 1.069 GB, free: 11.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 56.77/58.32, allocations: 9.886 GB / 10.95 GB, free: 67.3 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.084e-06/58.32, allocations: 0 / 10.95 GB, free: 67.3 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.003577/58.32, allocations: 346.8 kB / 10.95 GB, free: 67.24 MB / 1.089 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 0.06094/58.38, allocations: 11.03 MB / 10.97 GB, free: 62.48 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/58.38, allocations: 11.12 kB / 10.97 GB, free: 62.48 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004998/58.39, allocations: 0.7667 MB / 10.97 GB, free: 62.41 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02274/58.41, allocations: 2.369 MB / 10.97 GB, free: 61.63 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09273/58.51, allocations: 18.75 MB / 10.99 GB, free: 59.52 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001239/58.51, allocations: 0.5134 MB / 10.99 GB, free: 59.51 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005215/58.51, allocations: 0.6988 MB / 10.99 GB, free: 59.51 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04363/58.56, allocations: 12.92 MB / 11 GB, free: 58.93 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004043/58.56, allocations: 10.47 kB / 11 GB, free: 58.93 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003859/58.56, allocations: 253.1 kB / 11 GB, free: 58.93 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001853/58.56, allocations: 145.8 kB / 11 GB, free: 58.93 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04488/58.61, allocations: 17.32 MB / 11.02 GB, free: 58.91 MB / 1.089 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.18/58.79, allocations: 69.75 MB / 11.09 GB, free: 27.09 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02208/58.81, allocations: 9.342 MB / 11.1 GB, free: 26.93 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01936/58.83, allocations: 8.406 MB / 11.1 GB, free: 26.87 MB / 1.089 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.09529/58.92, allocations: 29.38 MB / 11.13 GB, free: 18.79 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02083/58.94, allocations: 8.102 MB / 11.14 GB, free: 18.68 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08295/59.03, allocations: 15.24 MB / 11.15 GB, free: 18.05 MB / 1.089 GB Notification: Performance of pre-optimization done (n=392): time 4.14e-05/59.03, allocations: 0 / 11.15 GB, free: 18.05 MB / 1.089 GB Notification: Performance of matching and sorting (n=580): time 0.3/59.33, allocations: 66.19 MB / 11.22 GB, free: 2.098 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.373e-05/59.33, allocations: 110.9 kB / 11.22 GB, free: 2.027 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04371/59.37, allocations: 12.11 MB / 11.23 GB, free: 13.08 MB / 1.104 GB Notification: Performance of collectPreVariables (initialization): time 0.004194/59.37, allocations: 192 kB / 11.23 GB, free: 12.89 MB / 1.104 GB Notification: Performance of collectInitialEqns (initialization): time 0.01232/59.39, allocations: 6.08 MB / 11.24 GB, free: 7.332 MB / 1.104 GB Notification: Performance of collectInitialBindings (initialization): time 0.005727/59.39, allocations: 1.95 MB / 11.24 GB, free: 5.566 MB / 1.104 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0038/59.4, allocations: 144 kB / 11.24 GB, free: 5.426 MB / 1.104 GB Notification: Performance of setup shared object (initialization): time 0.0008832/59.4, allocations: 0.5953 MB / 11.24 GB, free: 4.914 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03355/59.43, allocations: 8.277 MB / 11.25 GB, free: 0 / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02634/59.46, allocations: 10.17 MB / 11.26 GB, free: 5.863 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.123/60.58, allocations: 9.014 MB / 11.27 GB, free: 99.93 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.79e-05/60.58, allocations: 14.16 kB / 11.27 GB, free: 99.93 MB / 1.12 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.08984/60.67, allocations: 25.81 MB / 11.29 GB, free: 99.59 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 0.006231/60.68, allocations: 29.85 MB / 11.32 GB, free: 68.94 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001857/60.68, allocations: 50.38 kB / 11.32 GB, free: 68.94 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599/62.28, allocations: 170.4 MB / 11.49 GB, free: 67.95 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01683/62.29, allocations: 1.508 MB / 11.49 GB, free: 67.94 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08405/62.38, allocations: 26.64 MB / 11.52 GB, free: 62.77 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02944/62.41, allocations: 1.034 MB / 11.52 GB, free: 62.72 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00484/62.41, allocations: 0.7886 MB / 11.52 GB, free: 62.72 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/62.41, allocations: 7.156 kB / 11.52 GB, free: 62.72 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08181/62.49, allocations: 24.83 MB / 11.54 GB, free: 62.29 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002546/62.49, allocations: 52.02 kB / 11.54 GB, free: 62.29 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73/65.22, allocations: 170.5 MB / 11.71 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01337/65.24, allocations: 1.492 MB / 11.71 GB, free: 144.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1173/65.35, allocations: 30.91 MB / 11.74 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0287/65.38, allocations: 1.002 MB / 11.74 GB, free: 140.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004581/65.39, allocations: 0.7553 MB / 11.74 GB, free: 140.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 207 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,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 (662): * Single equations (assignments): 648 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {40 56,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.006628/65.39, allocations: 0.5268 MB / 11.74 GB, free: 140.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006014/65.4, allocations: 1.196 MB / 11.74 GB, free: 140.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09922/65.5, allocations: 24 MB / 11.77 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001658/65.5, allocations: 83.23 kB / 11.77 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/65.5, allocations: 1.375 kB / 11.77 GB, free: 140.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07045/65.57, allocations: 18.59 MB / 11.78 GB, free: 139.5 MB / 1.167 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.3449/65.91, allocations: 62.78 MB / 11.85 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001102/65.91, allocations: 9.875 kB / 11.85 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009936/65.92, allocations: 1.04 MB / 11.85 GB, free: 133 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3933/66.32, allocations: 48.96 MB / 11.89 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002196/66.32, allocations: 199.8 kB / 11.89 GB, free: 132.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05375/66.37, allocations: 14.75 MB / 11.91 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.888e-05/66.37, allocations: 13.41 kB / 11.91 GB, free: 127.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1692/66.54, allocations: 37.42 MB / 11.95 GB, free: 124 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01278/66.56, allocations: 2.854 MB / 11.95 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006387/66.56, allocations: 130.8 kB / 11.95 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02135/66.58, allocations: 0.8289 MB / 11.95 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002725/66.59, allocations: 459.3 kB / 11.95 GB, free: 123.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00261/66.59, allocations: 287.1 kB / 11.95 GB, free: 123.2 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.02484/66.61, allocations: 8.974 MB / 11.96 GB, free: 122.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.362e-06/66.61, allocations: 3.844 kB / 11.96 GB, free: 122.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0598/66.67, allocations: 6.486 MB / 11.97 GB, free: 122.1 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,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 (490): * Single equations (assignments): 468 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {7 74,38 56,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.1678/66.84, allocations: 42.71 MB / 12.01 GB, free: 96.87 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.1175/66.96, allocations: 32.73 MB / 12.04 GB, free: 80.18 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.122e-05/66.96, allocations: 4 kB / 12.04 GB, free: 80.18 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.03054/66.99, allocations: 9.038 MB / 12.05 GB, free: 72.24 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05227/67.04, allocations: 6.286 MB / 12.05 GB, free: 67.79 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07952/67.12, allocations: 24.11 MB / 12.08 GB, free: 46.75 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01422/67.14, allocations: 7.11 MB / 12.08 GB, free: 41.78 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.04448/67.18, allocations: 6.325 MB / 12.09 GB, free: 37.64 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01374/67.19, allocations: 5.847 MB / 12.1 GB, free: 32.25 MB / 1.167 GB Notification: Performance of SimCode: time 1.834e-06/67.19, allocations: 0 / 12.1 GB, free: 32.25 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.552/71.75, allocations: 0.5422 GB / 12.64 GB, free: 148.6 MB / 1.214 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002656/71.75, allocations: 224.4 kB / 12.64 GB, free: 148.4 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate platform static: time 33.18/104.9, allocations: 7.094 kB / 12.64 GB, free: 148.4 MB / 1.214 GB