Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.14/4.14, allocations: 460.5 MB / 472.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.783e-05/4.8e-05, allocations: 11.11 kB / 0.5682 GB, free: 10.08 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2408, allocations: 106.2 MB / 0.6719 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.947/2.188, allocations: 458.3 MB / 1.119 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003593/2.189, allocations: 95.22 kB / 1.12 GB, free: 255.5 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 57.36/59.54, allocations: 10.21 GB / 11.33 GB, free: 34.42 MB / 1.135 GB Notification: Performance of FrontEnd: time 2.104e-06/59.54, allocations: 0 / 11.33 GB, free: 34.42 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.003265/59.55, allocations: 347.7 kB / 11.33 GB, free: 34.08 MB / 1.135 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1521 * Number of variables: 1521 Notification: Performance of Generate backend data structure: time 0.05491/59.6, allocations: 11.06 MB / 11.34 GB, free: 22.92 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/59.6, allocations: 12.03 kB / 11.34 GB, free: 22.91 MB / 1.135 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004047/59.61, allocations: 0.7784 MB / 11.34 GB, free: 22.12 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01734/59.62, allocations: 2.071 MB / 11.34 GB, free: 20.03 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07697/59.7, allocations: 18.24 MB / 11.36 GB, free: 1.727 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009782/59.7, allocations: 0.5304 MB / 11.36 GB, free: 1.199 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003599/59.71, allocations: 0.7225 MB / 11.36 GB, free: 488 kB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03118/59.74, allocations: 8.172 MB / 11.37 GB, free: 7.961 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003784/59.74, allocations: 15.81 kB / 11.37 GB, free: 7.945 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00274/59.74, allocations: 256 kB / 11.37 GB, free: 7.695 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002307/59.74, allocations: 151.9 kB / 11.37 GB, free: 7.547 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02448/59.76, allocations: 6.456 MB / 11.38 GB, free: 1.086 MB / 1.151 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 1.231/61, allocations: 49.69 MB / 11.42 GB, free: 55 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01177/61.01, allocations: 4.568 MB / 11.43 GB, free: 54.86 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009231/61.02, allocations: 3.572 MB / 11.43 GB, free: 54.8 MB / 1.151 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.05294/61.07, allocations: 13.6 MB / 11.45 GB, free: 51.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008595/61.08, allocations: 3.181 MB / 11.45 GB, free: 51.79 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01791/61.1, allocations: 2.395 MB / 11.45 GB, free: 51.68 MB / 1.151 GB Notification: Performance of pre-optimization done (n=326): time 2.137e-05/61.1, allocations: 0 / 11.45 GB, free: 51.68 MB / 1.151 GB Notification: Performance of matching and sorting (n=514): time 0.175/61.27, allocations: 35.44 MB / 11.49 GB, free: 44.61 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/61.27, allocations: 104 kB / 11.49 GB, free: 44.54 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0361/61.31, allocations: 12.05 MB / 11.5 GB, free: 43.81 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.002279/61.31, allocations: 176.5 kB / 11.5 GB, free: 43.78 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.01109/61.32, allocations: 6.217 MB / 11.5 GB, free: 42.71 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.003294/61.32, allocations: 1.736 MB / 11.5 GB, free: 41.83 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001723/61.33, allocations: 143.5 kB / 11.51 GB, free: 41.83 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0006479/61.33, allocations: 0.6015 MB / 11.51 GB, free: 41.51 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01138/61.34, allocations: 3.865 MB / 11.51 GB, free: 41.49 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01379/61.35, allocations: 6.733 MB / 11.52 GB, free: 38.15 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01358/61.37, allocations: 4.687 MB / 11.52 GB, free: 37.98 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/61.37, allocations: 17.47 kB / 11.52 GB, free: 37.98 MB / 1.151 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.04765/61.41, allocations: 13.67 MB / 11.53 GB, free: 36.94 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.01506/61.43, allocations: 38.51 MB / 11.57 GB, free: 29.09 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002625/61.43, allocations: 58.03 kB / 11.57 GB, free: 29.09 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01307/61.44, allocations: 3.398 MB / 11.57 GB, free: 29 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01956/61.46, allocations: 1.796 MB / 11.58 GB, free: 29 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/61.48, allocations: 12.32 MB / 11.59 GB, free: 38.26 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0236/61.51, allocations: 1.136 MB / 11.59 GB, free: 38.23 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002823/61.51, allocations: 484.9 kB / 11.59 GB, free: 38.23 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/61.51, allocations: 8.5 kB / 11.59 GB, free: 38.23 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04265/61.55, allocations: 12.64 MB / 11.6 GB, free: 37.88 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002468/61.55, allocations: 60.41 kB / 11.6 GB, free: 37.88 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01491/61.57, allocations: 3.649 MB / 11.61 GB, free: 37.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02101/61.59, allocations: 1.784 MB / 11.61 GB, free: 37.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06433/61.65, allocations: 16.63 MB / 11.62 GB, free: 32.19 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03257/61.69, allocations: 1.104 MB / 11.63 GB, free: 32.16 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002713/61.69, allocations: 442 kB / 11.63 GB, free: 32.16 MB / 1.198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 269 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$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 (742): * Single equations (assignments): 725 * 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: 6 * 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: 6 {1 4,1 2,1 2,1 2,6 79,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.003826/61.69, allocations: 0.5457 MB / 11.63 GB, free: 32.06 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004495/61.7, allocations: 1.204 MB / 11.63 GB, free: 31.39 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04483/61.74, allocations: 12.23 MB / 11.64 GB, free: 30.82 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001638/61.74, allocations: 64.62 kB / 11.64 GB, free: 30.82 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/61.74, allocations: 3.562 kB / 11.64 GB, free: 30.82 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02879/61.77, allocations: 9.653 MB / 11.65 GB, free: 30.24 MB / 1.198 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.07604/61.85, allocations: 24.13 MB / 11.67 GB, free: 28.19 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001015/61.85, allocations: 9.531 kB / 11.67 GB, free: 28.19 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01117/61.86, allocations: 1.1 MB / 11.67 GB, free: 28.18 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009753/61.87, allocations: 2.393 MB / 11.68 GB, free: 28.08 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001486/61.87, allocations: 171.9 kB / 11.68 GB, free: 28.08 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01412/61.88, allocations: 10.98 MB / 11.69 GB, free: 21.36 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.459e-05/61.88, allocations: 12.78 kB / 11.69 GB, free: 21.36 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04559/61.93, allocations: 18.8 MB / 11.71 GB, free: 33.04 MB / 1.214 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01137/61.94, allocations: 2.524 MB / 11.71 GB, free: 32.26 MB / 1.214 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005356/61.95, allocations: 107.3 kB / 11.71 GB, free: 32.26 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01919/61.97, allocations: 0.913 MB / 11.71 GB, free: 32.25 MB / 1.214 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001938/61.97, allocations: 401.6 kB / 11.71 GB, free: 32.23 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009542/61.97, allocations: 250.9 kB / 11.71 GB, free: 32.23 MB / 1.214 GB Notification: Performance of sorting global known variables: time 0.02606/61.99, allocations: 9.155 MB / 11.72 GB, free: 31.81 MB / 1.214 GB Notification: Performance of sort global known variables: time 1.042e-06/61.99, allocations: 0 / 11.72 GB, free: 31.81 MB / 1.214 GB Notification: Performance of remove unused functions: time 0.05465/62.05, allocations: 5.937 MB / 11.72 GB, free: 31.81 MB / 1.214 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (441): * Single equations (assignments): 416 * 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: 6 * 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: 6 {8 73,1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.05386/62.1, allocations: 24 MB / 11.75 GB, free: 24.99 MB / 1.214 GB Notification: Performance of simCode: created initialization part: time 0.0482/62.15, allocations: 16.36 MB / 11.76 GB, free: 24.23 MB / 1.214 GB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/62.15, allocations: 0 / 11.76 GB, free: 24.23 MB / 1.214 GB Notification: Performance of simCode: created simulation system equations: time 0.01359/62.17, allocations: 4.556 MB / 11.77 GB, free: 24.06 MB / 1.214 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05134/62.22, allocations: 5.978 MB / 11.77 GB, free: 23.66 MB / 1.214 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07427/62.29, allocations: 22.49 MB / 11.8 GB, free: 9.906 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01689/62.31, allocations: 7.085 MB / 11.8 GB, free: 4.965 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.04777/62.36, allocations: 6.45 MB / 11.81 GB, free: 0.6641 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.258/64.61, allocations: 6.914 MB / 11.82 GB, free: 133.7 MB / 1.214 GB Notification: Performance of SimCode: time 3.536e-06/64.61, allocations: 1.531 kB / 11.82 GB, free: 133.7 MB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9476/65.56, allocations: 417.8 MB / 12.22 GB, free: 14.16 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003122/65.56, allocations: 237.2 kB / 12.22 GB, free: 13.89 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.07/94.63, allocations: 3.656 kB / 12.22 GB, free: 13.89 MB / 1.245 GB