Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_latest_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.079/4.079, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.199e-05, allocations: 4 kB / 0.5732 GB, free: 5.648 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2381, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.273/1.512, allocations: 415.6 MB / 1.084 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/1.512, allocations: 94.08 kB / 1.084 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 12.48/13.99, allocations: 2.273 GB / 3.356 GB, free: 109.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.124e-06/13.99, allocations: 3.25 kB / 3.356 GB, free: 109.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001941/13.99, allocations: 253.6 kB / 3.357 GB, free: 109.9 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.05191/14.04, allocations: 7.315 MB / 3.364 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.333e-05/14.04, allocations: 11.69 kB / 3.364 GB, free: 106.9 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004979/14.05, allocations: 0.7547 MB / 3.365 GB, free: 106.8 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01437/14.06, allocations: 1.229 MB / 3.366 GB, free: 106.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05036/14.11, allocations: 12.54 MB / 3.378 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007723/14.11, allocations: 442.4 kB / 3.378 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003876/14.12, allocations: 0.5795 MB / 3.379 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03937/14.16, allocations: 13.4 MB / 3.392 GB, free: 104 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003472/14.16, allocations: 22.28 kB / 3.392 GB, free: 104 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003288/14.16, allocations: 242.5 kB / 3.392 GB, free: 104 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/14.16, allocations: 136.1 kB / 3.392 GB, free: 104 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04222/14.2, allocations: 17.98 MB / 3.41 GB, free: 99.76 MB / 0.9167 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.1484/14.35, allocations: 55.37 MB / 3.464 GB, free: 45.41 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01806/14.37, allocations: 8.673 MB / 3.473 GB, free: 36.71 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0185/14.39, allocations: 9.262 MB / 3.482 GB, free: 27.45 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07664/14.46, allocations: 26.29 MB / 3.507 GB, free: 0.8828 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01955/14.48, allocations: 7.3 MB / 3.514 GB, free: 9.543 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.8413/15.33, allocations: 21.17 MB / 3.535 GB, free: 131.4 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=301): time 3.58e-05/15.33, allocations: 0 / 3.535 GB, free: 131.4 MB / 0.9323 GB Notification: Performance of matching and sorting (n=301): time 0.0525/15.38, allocations: 14.49 MB / 3.549 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.969e-05/15.38, allocations: 87.97 kB / 3.549 GB, free: 131.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02036/15.4, allocations: 7.394 MB / 3.556 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.002697/15.4, allocations: 98.73 kB / 3.557 GB, free: 130.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.005958/15.41, allocations: 4.002 MB / 3.56 GB, free: 130 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003848/15.41, allocations: 1.087 MB / 3.562 GB, free: 129.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002385/15.41, allocations: 90.47 kB / 3.562 GB, free: 129.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0004643/15.41, allocations: 494 kB / 3.562 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01476/15.43, allocations: 6.074 MB / 3.568 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01675/15.45, allocations: 7.865 MB / 3.576 GB, free: 126.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01734/15.46, allocations: 7.007 MB / 3.583 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-05/15.46, allocations: 12.81 kB / 3.583 GB, free: 126.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.05396/15.52, allocations: 16.22 MB / 3.598 GB, free: 126.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.00562/15.52, allocations: 25.25 MB / 3.623 GB, free: 99.76 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001897/15.52, allocations: 48.41 kB / 3.623 GB, free: 99.76 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1319/15.66, allocations: 10.89 MB / 3.634 GB, free: 99.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01639/15.67, allocations: 1.606 MB / 3.635 GB, free: 99.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/15.69, allocations: 6.305 MB / 3.641 GB, free: 96.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0196/15.71, allocations: 0.5981 MB / 3.642 GB, free: 96.15 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003529/15.71, allocations: 0.5444 MB / 3.643 GB, free: 96.15 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/15.71, allocations: 9.438 kB / 3.643 GB, free: 96.15 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04791/15.76, allocations: 15.57 MB / 3.658 GB, free: 95.79 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001809/15.76, allocations: 44.94 kB / 3.658 GB, free: 95.79 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1526/15.91, allocations: 10.62 MB / 3.668 GB, free: 94.98 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01674/15.93, allocations: 1.597 MB / 3.67 GB, free: 94.98 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02205/15.95, allocations: 10.19 MB / 3.68 GB, free: 90.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01868/15.97, allocations: 0.5711 MB / 3.68 GB, free: 90.18 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003477/15.97, allocations: 0.5348 MB / 3.681 GB, free: 90.18 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (526): * Single equations (assignments): 520 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.004932/15.98, allocations: 402.2 kB / 3.681 GB, free: 90.08 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005009/15.98, allocations: 0.7566 MB / 3.682 GB, free: 89.68 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04448/16.03, allocations: 13.48 MB / 3.695 GB, free: 89.17 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.386e-05/16.03, allocations: 31.91 kB / 3.695 GB, free: 89.17 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/16.03, allocations: 3.891 kB / 3.695 GB, free: 89.17 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02513/16.05, allocations: 10.06 MB / 3.705 GB, free: 88.66 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05942/16.11, allocations: 23.72 MB / 3.728 GB, free: 84.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.983e-05/16.11, allocations: 0 / 3.728 GB, free: 84.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01006/16.12, allocations: 0.7042 MB / 3.729 GB, free: 84.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1268/16.25, allocations: 9.926 MB / 3.739 GB, free: 83.75 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001368/16.25, allocations: 101.8 kB / 3.739 GB, free: 83.71 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007101/16.26, allocations: 4.302 MB / 3.743 GB, free: 80.38 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/16.26, allocations: 3.75 kB / 3.743 GB, free: 80.38 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0433/16.3, allocations: 18.23 MB / 3.761 GB, free: 71.59 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008776/16.31, allocations: 1.987 MB / 3.763 GB, free: 70.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003987/16.31, allocations: 77.67 kB / 3.763 GB, free: 70.64 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01319/16.33, allocations: 428 kB / 3.763 GB, free: 70.54 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00169/16.33, allocations: 222 kB / 3.763 GB, free: 70.51 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00107/16.33, allocations: 159.6 kB / 3.763 GB, free: 70.48 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.01454/16.34, allocations: 5.726 MB / 3.769 GB, free: 68.64 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.202e-06/16.34, allocations: 0 / 3.769 GB, free: 68.64 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.02956/16.37, allocations: 4.928 MB / 3.774 GB, free: 66.58 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (305): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 3,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.04551/16.42, allocations: 19.83 MB / 3.793 GB, free: 48.59 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.05862/16.48, allocations: 23.3 MB / 3.816 GB, free: 28.49 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/16.48, allocations: 4 kB / 3.816 GB, free: 28.49 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.01401/16.49, allocations: 6.068 MB / 3.822 GB, free: 22.86 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03796/16.53, allocations: 4.616 MB / 3.826 GB, free: 19.52 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05695/16.59, allocations: 19.48 MB / 3.845 GB, free: 2.93 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0161/16.6, allocations: 5.807 MB / 3.851 GB, free: 15.96 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.04826/16.65, allocations: 7.766 MB / 3.859 GB, free: 10.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01405/16.67, allocations: 3.658 MB / 3.862 GB, free: 7.195 MB / 0.948 GB Notification: Performance of SimCode: time 1.794e-06/16.67, allocations: 5.594 kB / 3.862 GB, free: 7.191 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.434/18.1, allocations: 299.8 MB / 4.155 GB, free: 24.94 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002861/18.1, allocations: 228.3 kB / 4.155 GB, free: 24.71 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/33.66, allocations: 0 / 4.155 GB, free: 24.71 MB / 0.948 GB