Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.989/3.989, allocations: 432.8 MB / 444.9 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.794e-05, allocations: 7.531 kB / 0.5338 GB, free: 12.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2342, allocations: 98.71 MB / 0.6302 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.256/1.49, allocations: 449.5 MB / 1.069 GB, free: 11.44 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/1.491, allocations: 94.58 kB / 1.069 GB, free: 11.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 57.64/59.13, allocations: 10.11 GB / 11.18 GB, free: 80.55 MB / 1.089 GB Notification: Performance of FrontEnd: time 3.506e-06/59.13, allocations: 0 / 11.18 GB, free: 80.55 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.003828/59.13, allocations: 350.4 kB / 11.18 GB, free: 80.49 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.05976/59.19, allocations: 10.95 MB / 11.19 GB, free: 76.05 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/59.19, allocations: 12.53 kB / 11.19 GB, free: 76.05 MB / 1.089 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005614/59.2, allocations: 0.7618 MB / 11.19 GB, free: 75.97 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02217/59.22, allocations: 2.223 MB / 11.19 GB, free: 75.2 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.083/59.3, allocations: 18.39 MB / 11.21 GB, free: 73.09 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001204/59.3, allocations: 0.5243 MB / 11.21 GB, free: 73.07 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004/59.31, allocations: 0.6978 MB / 11.21 GB, free: 73.07 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02967/59.34, allocations: 8.129 MB / 11.22 GB, free: 72.04 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003678/59.34, allocations: 14.28 kB / 11.22 GB, free: 72.04 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002886/59.34, allocations: 256.5 kB / 11.22 GB, free: 72.04 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/59.34, allocations: 154.3 kB / 11.22 GB, free: 72.04 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02276/59.36, allocations: 6.382 MB / 11.23 GB, free: 72.01 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.1175/59.48, allocations: 49.53 MB / 11.28 GB, free: 45.37 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/59.49, allocations: 4.549 MB / 11.28 GB, free: 45.22 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009562/59.5, allocations: 3.578 MB / 11.28 GB, free: 45.16 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.05591/59.56, allocations: 13.58 MB / 11.3 GB, free: 42.1 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009103/59.57, allocations: 3.25 MB / 11.3 GB, free: 41.99 MB / 1.089 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01887/59.59, allocations: 2.406 MB / 11.3 GB, free: 41.79 MB / 1.089 GB Notification: Performance of pre-optimization done (n=325): time 2.61e-05/59.59, allocations: 3.812 kB / 11.3 GB, free: 41.79 MB / 1.089 GB Notification: Performance of matching and sorting (n=513): time 0.1506/59.74, allocations: 32.51 MB / 11.33 GB, free: 34.55 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/59.74, allocations: 107.9 kB / 11.34 GB, free: 34.48 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03567/59.77, allocations: 11.97 MB / 11.35 GB, free: 33.69 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.00233/59.78, allocations: 180.8 kB / 11.35 GB, free: 33.66 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.01067/59.79, allocations: 6.304 MB / 11.35 GB, free: 32.23 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.003206/59.79, allocations: 1.73 MB / 11.35 GB, free: 31.12 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001193/59.79, allocations: 146.1 kB / 11.35 GB, free: 31.12 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0005482/59.79, allocations: 0.5923 MB / 11.36 GB, free: 30.8 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01078/59.8, allocations: 3.746 MB / 11.36 GB, free: 30.79 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01377/59.82, allocations: 6.629 MB / 11.37 GB, free: 27.45 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01313/59.83, allocations: 4.699 MB / 11.37 GB, free: 27.27 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001099/59.83, allocations: 16.06 kB / 11.37 GB, free: 27.27 MB / 1.089 GB Notification: Performance of matching and sorting (n=957) (initialization): time 0.04445/59.87, allocations: 13.5 MB / 11.38 GB, free: 26.23 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.01171/59.89, allocations: 38.77 MB / 11.42 GB, free: 18.36 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002734/59.89, allocations: 61.7 kB / 11.42 GB, free: 18.36 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0132/59.9, allocations: 3.398 MB / 11.42 GB, free: 18.21 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01737/59.92, allocations: 1.6 MB / 11.43 GB, free: 18.2 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02092/59.94, allocations: 12.31 MB / 11.44 GB, free: 11.46 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02208/59.96, allocations: 0.9617 MB / 11.44 GB, free: 11.36 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002665/59.96, allocations: 485.9 kB / 11.44 GB, free: 11.36 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/59.96, allocations: 2.625 kB / 11.44 GB, free: 11.36 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0405/60, allocations: 12.59 MB / 11.45 GB, free: 10.88 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002377/60, allocations: 61.34 kB / 11.45 GB, free: 10.88 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01411/60.02, allocations: 3.678 MB / 11.46 GB, free: 10.73 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01434/60.03, allocations: 1.597 MB / 11.46 GB, free: 10.73 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03872/60.07, allocations: 16.64 MB / 11.47 GB, free: 5.09 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0216/60.09, allocations: 0.9351 MB / 11.47 GB, free: 4.988 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002638/60.1, allocations: 439.4 kB / 11.47 GB, free: 4.988 MB / 1.12 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.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 (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,7 78,7 78} Notification: Performance of prepare postOptimizeDAE: time 0.004517/60.1, allocations: 0.5526 MB / 11.48 GB, free: 4.844 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005162/60.11, allocations: 1.194 MB / 11.48 GB, free: 4.184 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04106/60.15, allocations: 12 MB / 11.49 GB, free: 3.449 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000123/60.15, allocations: 61.86 kB / 11.49 GB, free: 3.449 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/60.15, allocations: 1 kB / 11.49 GB, free: 3.449 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02846/60.18, allocations: 9.512 MB / 11.5 GB, free: 2.797 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.07585/60.25, allocations: 23.75 MB / 11.52 GB, free: 0.5547 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-05/60.25, allocations: 7.844 kB / 11.52 GB, free: 0.5547 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009531/60.26, allocations: 0.9455 MB / 11.52 GB, free: 0.5078 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009722/60.27, allocations: 2.382 MB / 11.52 GB, free: 344 kB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001383/60.27, allocations: 161.7 kB / 11.52 GB, free: 344 kB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01437/60.29, allocations: 10.97 MB / 11.53 GB, free: 9.578 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/60.29, allocations: 9.828 kB / 11.53 GB, free: 9.578 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04419/60.33, allocations: 18.41 MB / 11.55 GB, free: 5.133 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01132/60.34, allocations: 2.455 MB / 11.56 GB, free: 4.348 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005655/60.35, allocations: 103.7 kB / 11.56 GB, free: 4.348 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01812/60.37, allocations: 0.8148 MB / 11.56 GB, free: 4.258 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001779/60.37, allocations: 381.8 kB / 11.56 GB, free: 4.242 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001374/60.37, allocations: 262 kB / 11.56 GB, free: 4.238 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.02584/60.4, allocations: 9.097 MB / 11.57 GB, free: 1.422 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.422e-06/60.4, allocations: 2.297 kB / 11.57 GB, free: 1.422 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.05756/60.45, allocations: 5.947 MB / 11.57 GB, free: 12.65 MB / 1.151 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 (440): * Single equations (assignments): 415 * 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 {7 74,1 4,1 2,1 2,1 2,8 77} Notification: Performance of Backend phase and start with SimCode phase: time 1.128/61.58, allocations: 23.78 MB / 11.59 GB, free: 129.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.05188/61.63, allocations: 16.02 MB / 11.61 GB, free: 128.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-05/61.63, allocations: 7.156 kB / 11.61 GB, free: 128.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.01464/61.65, allocations: 4.436 MB / 11.61 GB, free: 128.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05256/61.7, allocations: 6 MB / 11.62 GB, free: 128.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08156/61.78, allocations: 22.18 MB / 11.64 GB, free: 124 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01609/61.8, allocations: 7.011 MB / 11.65 GB, free: 123 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.04833/61.85, allocations: 6.439 MB / 11.66 GB, free: 122.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01779/61.86, allocations: 5.767 MB / 11.66 GB, free: 122.9 MB / 1.151 GB Notification: Performance of SimCode: time 2.024e-06/61.86, allocations: 3.188 kB / 11.66 GB, free: 122.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.149/65.01, allocations: 419.1 MB / 12.07 GB, free: 122.4 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002503/65.01, allocations: 234.7 kB / 12.07 GB, free: 122.1 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.08/95.09, allocations: 3.938 kB / 12.07 GB, free: 122.1 MB / 1.182 GB