Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified5,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_FlowSystem_Simplified5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.105/4.105, allocations: 464.6 MB / 476.8 MB, free: 2.113 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.541e-05/4.548e-05, allocations: 7.984 kB / 0.5732 GB, free: 5.621 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2233, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.898/2.121, allocations: 458.1 MB / 1.125 GB, free: 258.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/2.122, allocations: 91.55 kB / 1.125 GB, free: 258.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 56.31/58.43, allocations: 9.981 GB / 11.11 GB, free: 80.53 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.575e-06/58.43, allocations: 0 / 11.11 GB, free: 80.53 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0037/58.44, allocations: 353.8 kB / 11.11 GB, free: 80.46 MB / 1.151 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.06047/58.5, allocations: 11.14 MB / 11.12 GB, free: 75.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/58.5, allocations: 8.844 kB / 11.12 GB, free: 75.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005122/58.5, allocations: 0.7789 MB / 11.12 GB, free: 75.73 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02067/58.52, allocations: 2.218 MB / 11.12 GB, free: 74.95 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09459/58.62, allocations: 18.6 MB / 11.14 GB, free: 72.84 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001732/58.62, allocations: 0.5354 MB / 11.14 GB, free: 72.83 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00672/58.62, allocations: 0.7116 MB / 11.14 GB, free: 72.82 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04381/58.67, allocations: 13 MB / 11.15 GB, free: 72.24 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004069/58.67, allocations: 11.84 kB / 11.15 GB, free: 72.24 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003843/58.67, allocations: 243.8 kB / 11.15 GB, free: 72.24 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/58.67, allocations: 154.2 kB / 11.15 GB, free: 72.24 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04545/58.72, allocations: 17.45 MB / 11.17 GB, free: 72.22 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 0.1806/58.9, allocations: 70.02 MB / 11.24 GB, free: 40.45 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02215/58.92, allocations: 9.421 MB / 11.25 GB, free: 40.29 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01953/58.94, allocations: 8.447 MB / 11.26 GB, free: 40.23 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.09576/59.04, allocations: 29.46 MB / 11.28 GB, free: 32.16 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02058/59.06, allocations: 8.083 MB / 11.29 GB, free: 32.05 MB / 1.151 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.08483/59.14, allocations: 15.23 MB / 11.31 GB, free: 31.59 MB / 1.151 GB Notification: Performance of pre-optimization done (n=393): time 4.642e-05/59.14, allocations: 0 / 11.31 GB, free: 31.59 MB / 1.151 GB Notification: Performance of matching and sorting (n=581): time 0.4217/59.56, allocations: 76.12 MB / 11.38 GB, free: 23.44 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/59.56, allocations: 113.5 kB / 11.38 GB, free: 23.37 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03388/59.6, allocations: 11.84 MB / 11.39 GB, free: 22.15 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.003978/59.6, allocations: 183.9 kB / 11.39 GB, free: 22.01 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.009654/59.61, allocations: 6.011 MB / 11.4 GB, free: 17.31 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00506/59.62, allocations: 1.956 MB / 11.4 GB, free: 15.79 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002881/59.62, allocations: 146 kB / 11.4 GB, free: 15.68 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0006185/59.62, allocations: 0.5975 MB / 11.4 GB, free: 15.24 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02027/59.64, allocations: 7.801 MB / 11.41 GB, free: 12.08 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02307/59.66, allocations: 10.34 MB / 11.42 GB, free: 5.809 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02278/59.69, allocations: 8.711 MB / 11.43 GB, free: 1.227 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.466e-05/59.69, allocations: 12 kB / 11.43 GB, free: 1.215 MB / 1.151 GB Notification: Performance of matching and sorting (n=962) (initialization): time 0.1437/59.83, allocations: 28.15 MB / 11.46 GB, free: 1.465 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.164/60.99, allocations: 29.65 MB / 11.48 GB, free: 99.62 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001981/60.99, allocations: 46.09 kB / 11.48 GB, free: 99.62 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617/62.61, allocations: 170.4 MB / 11.65 GB, free: 98.94 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01974/62.63, allocations: 1.764 MB / 11.65 GB, free: 98.93 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08399/62.72, allocations: 26.56 MB / 11.68 GB, free: 93.78 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03203/62.75, allocations: 1.276 MB / 11.68 GB, free: 93.72 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004815/62.75, allocations: 0.7985 MB / 11.68 GB, free: 93.72 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/62.75, allocations: 10.03 kB / 11.68 GB, free: 93.71 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08224/62.84, allocations: 25.04 MB / 11.7 GB, free: 93.29 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000209/62.84, allocations: 43.16 kB / 11.7 GB, free: 93.29 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729/64.56, allocations: 170.6 MB / 11.87 GB, free: 1.875 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01749/64.58, allocations: 1.754 MB / 11.87 GB, free: 244 kB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1122/64.69, allocations: 30.94 MB / 11.9 GB, free: 9.055 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03192/64.73, allocations: 1.25 MB / 11.9 GB, free: 7.98 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005118/64.73, allocations: 0.7582 MB / 11.91 GB, free: 7.281 MB / 1.229 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.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 (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 {39 57,6 79,8 77} Notification: Performance of prepare postOptimizeDAE: time 0.007571/64.74, allocations: 0.5205 MB / 11.91 GB, free: 7.07 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007352/64.75, allocations: 1.202 MB / 11.91 GB, free: 6.52 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.262/66.01, allocations: 23.33 MB / 11.93 GB, free: 159.1 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001845/66.01, allocations: 74.19 kB / 11.93 GB, free: 159.1 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/66.01, allocations: 3.484 kB / 11.93 GB, free: 159.1 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06676/66.08, allocations: 17.81 MB / 11.95 GB, free: 158.6 MB / 1.229 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.2637/66.34, allocations: 54.1 MB / 12 GB, free: 152.2 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.00012/66.34, allocations: 13.97 kB / 12 GB, free: 152.2 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01281/66.35, allocations: 1.251 MB / 12 GB, free: 152.2 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4027/66.75, allocations: 48.87 MB / 12.05 GB, free: 152.1 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002589/66.76, allocations: 203.3 kB / 12.05 GB, free: 152.1 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04202/66.8, allocations: 14.71 MB / 12.06 GB, free: 147 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/66.8, allocations: 9.906 kB / 12.06 GB, free: 147 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1135/66.91, allocations: 32.81 MB / 12.1 GB, free: 143.3 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01435/66.93, allocations: 2.932 MB / 12.1 GB, free: 143.1 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007684/66.94, allocations: 136.8 kB / 12.1 GB, free: 143.1 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02465/66.96, allocations: 0.9985 MB / 12.1 GB, free: 143.1 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002992/66.96, allocations: 468.4 kB / 12.1 GB, free: 143.1 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002529/66.97, allocations: 281.7 kB / 12.1 GB, free: 143.1 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.02676/66.99, allocations: 9.03 MB / 12.11 GB, free: 142.7 MB / 1.229 GB Notification: Performance of sort global known variables: time 1.342e-06/66.99, allocations: 2.875 kB / 12.11 GB, free: 142.7 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.06512/67.06, allocations: 6.568 MB / 12.12 GB, free: 142.7 MB / 1.229 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 (491): * Single equations (assignments): 469 * 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 {5 76,37 57,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 0.1228/67.18, allocations: 38.23 MB / 12.15 GB, free: 136 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.1256/67.31, allocations: 33.27 MB / 12.19 GB, free: 135.3 MB / 1.229 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-05/67.31, allocations: 3.938 kB / 12.19 GB, free: 135.3 MB / 1.229 GB Notification: Performance of simCode: created simulation system equations: time 0.03566/67.34, allocations: 9.179 MB / 12.19 GB, free: 135.2 MB / 1.229 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05646/67.4, allocations: 6.286 MB / 12.2 GB, free: 135 MB / 1.229 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09059/67.49, allocations: 24.48 MB / 12.22 GB, free: 118.9 MB / 1.229 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01567/67.5, allocations: 7.186 MB / 12.23 GB, free: 114.6 MB / 1.229 GB Notification: Performance of simCode: alias equations: time 0.04708/67.55, allocations: 6.363 MB / 12.24 GB, free: 110.7 MB / 1.229 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01494/67.57, allocations: 5.848 MB / 12.24 GB, free: 108.9 MB / 1.229 GB Notification: Performance of SimCode: time 1.432e-06/67.57, allocations: 0 / 12.24 GB, free: 108.9 MB / 1.229 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.5/71.07, allocations: 0.5418 GB / 12.79 GB, free: 6.133 MB / 1.245 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000321/71.07, allocations: 230.3 kB / 12.79 GB, free: 5.867 MB / 1.245 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.92/104, allocations: 0 / 12.79 GB, free: 5.867 MB / 1.245 GB