Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v2,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.716/4.716, allocations: 404.1 MB / 411.3 MB, free: 440 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.135e-05, allocations: 4 kB / 0.4945 GB, free: 1.324 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.686/0.6861, allocations: 92.68 MB / 0.585 GB, free: 2.312 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.315/2.001, allocations: 399.1 MB / 0.9748 GB, free: 12.75 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003664/2.001, allocations: 93.44 kB / 0.9749 GB, free: 12.7 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 14.86/16.86, allocations: 2.246 GB / 3.221 GB, free: 103.2 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.894e-06/16.86, allocations: 0 / 3.221 GB, free: 103.2 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.002035/16.86, allocations: 257.4 kB / 3.221 GB, free: 103.1 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1426 * Number of variables: 1426 Notification: Performance of Generate backend data structure: time 0.04581/16.91, allocations: 7.222 MB / 3.228 GB, free: 100.6 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/16.91, allocations: 8.531 kB / 3.228 GB, free: 100.6 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01282/16.92, allocations: 1.262 MB / 3.229 GB, free: 100.1 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05892/16.98, allocations: 13.74 MB / 3.243 GB, free: 98.68 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005043/16.98, allocations: 181 kB / 3.243 GB, free: 98.68 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004056/16.98, allocations: 354.9 kB / 3.243 GB, free: 98.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04653/17.03, allocations: 17.82 MB / 3.261 GB, free: 98.65 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04293/17.07, allocations: 12.75 MB / 3.273 GB, free: 97.66 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006195/17.08, allocations: 29.64 kB / 3.273 GB, free: 97.66 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004587/17.08, allocations: 17.67 kB / 3.273 GB, free: 97.66 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002351/17.08, allocations: 141.2 kB / 3.273 GB, free: 97.66 MB / 0.8073 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.1981/17.28, allocations: 56.44 MB / 3.329 GB, free: 77.01 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02108/17.3, allocations: 9.133 MB / 3.337 GB, free: 76.93 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02086/17.32, allocations: 9.378 MB / 3.347 GB, free: 76.67 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06606/17.39, allocations: 25.11 MB / 3.371 GB, free: 69.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02078/17.41, allocations: 8.259 MB / 3.379 GB, free: 66.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.1155/17.52, allocations: 20.52 MB / 3.399 GB, free: 63.86 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=362): time 7.261e-05/17.52, allocations: 0 / 3.399 GB, free: 63.86 MB / 0.8073 GB Notification: Performance of matching and sorting (n=383): time 0.1928/17.72, allocations: 37.69 MB / 3.436 GB, free: 37.16 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000118/17.72, allocations: 226.2 kB / 3.436 GB, free: 36.89 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01727/17.73, allocations: 6.001 MB / 3.442 GB, free: 31.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.003073/17.74, allocations: 33.7 kB / 3.442 GB, free: 31.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.006343/17.74, allocations: 3.882 MB / 3.446 GB, free: 28.23 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.004571/17.75, allocations: 1.301 MB / 3.447 GB, free: 27.03 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002704/17.75, allocations: 0 / 3.447 GB, free: 27.03 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0005187/17.75, allocations: 0.5001 MB / 3.448 GB, free: 26.58 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01794/17.77, allocations: 6.866 MB / 3.454 GB, free: 20.79 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01955/17.79, allocations: 8.578 MB / 3.463 GB, free: 12.59 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03096/17.82, allocations: 8.379 MB / 3.471 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.799e-05/17.82, allocations: 15.95 kB / 3.471 GB, free: 4.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=626) (initialization): time 0.1064/17.93, allocations: 19.39 MB / 3.49 GB, free: 1.383 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.7456/18.67, allocations: 22.9 MB / 3.512 GB, free: 97.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002552/18.67, allocations: 48.06 kB / 3.512 GB, free: 97.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01287/18.68, allocations: 2.082 MB / 3.514 GB, free: 97.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02206/18.71, allocations: 1.689 MB / 3.516 GB, free: 97.86 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04451/18.75, allocations: 8.535 MB / 3.524 GB, free: 95.09 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03064/18.78, allocations: 464.3 kB / 3.525 GB, free: 95.09 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005652/18.79, allocations: 0.5706 MB / 3.525 GB, free: 95.09 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.492e-05/18.79, allocations: 3.344 kB / 3.525 GB, free: 95.09 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09589/18.88, allocations: 17.31 MB / 3.542 GB, free: 94.82 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001936/18.88, allocations: 43.81 kB / 3.542 GB, free: 94.82 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009787/18.89, allocations: 1.612 MB / 3.544 GB, free: 94.79 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02113/18.91, allocations: 1.683 MB / 3.545 GB, free: 94.79 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03543/18.95, allocations: 11.22 MB / 3.556 GB, free: 90.44 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02049/18.97, allocations: 396.9 kB / 3.557 GB, free: 90.44 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003793/18.97, allocations: 0.5547 MB / 3.557 GB, free: 90.44 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 201 * 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 (574): * Single equations (assignments): 568 * 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,20 21,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.00479/18.98, allocations: 258.2 kB / 3.558 GB, free: 90.33 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.09253/19.07, allocations: 18.44 MB / 3.576 GB, free: 89.96 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00546/19.08, allocations: 0.6982 MB / 3.576 GB, free: 89.96 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0967/19.17, allocations: 18.56 MB / 3.594 GB, free: 89.5 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001401/19.17, allocations: 51.69 kB / 3.594 GB, free: 89.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.402e-05/19.17, allocations: 4.656 kB / 3.594 GB, free: 89.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06575/19.24, allocations: 13.51 MB / 3.608 GB, free: 88.83 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1108/19.35, allocations: 28.08 MB / 3.635 GB, free: 85 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.208e-05/19.35, allocations: 15.27 kB / 3.635 GB, free: 85 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01022/19.36, allocations: 0.5287 MB / 3.636 GB, free: 85 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01042/19.37, allocations: 2.387 MB / 3.638 GB, free: 84.8 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001493/19.37, allocations: 91.56 kB / 3.638 GB, free: 84.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1/19.47, allocations: 26.98 MB / 3.664 GB, free: 69.39 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.845e-05/19.47, allocations: 15.03 kB / 3.664 GB, free: 69.39 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08407/19.56, allocations: 24.24 MB / 3.688 GB, free: 63.09 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01006/19.57, allocations: 2.02 MB / 3.69 GB, free: 62.21 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004796/19.57, allocations: 28.42 kB / 3.69 GB, free: 62.21 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0166/19.59, allocations: 402.1 kB / 3.69 GB, free: 62.14 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002942/19.59, allocations: 344 kB / 3.691 GB, free: 62.08 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00191/19.59, allocations: 213.1 kB / 3.691 GB, free: 62.05 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.01293/19.61, allocations: 4.573 MB / 3.695 GB, free: 60.51 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.265e-06/19.61, allocations: 0 / 3.695 GB, free: 60.51 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.04104/19.65, allocations: 4.412 MB / 3.7 GB, free: 60.45 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (302): * Single equations (assignments): 272 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 25 * 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: 24 {1 3,2 5,2 5,20 21,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.1167/19.76, allocations: 27.52 MB / 3.727 GB, free: 44.15 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.08335/19.85, allocations: 25.64 MB / 3.752 GB, free: 22.34 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.64e-05/19.85, allocations: 5.375 kB / 3.752 GB, free: 22.34 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.03476/19.88, allocations: 7.999 MB / 3.759 GB, free: 15.21 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04004/19.92, allocations: 4.151 MB / 3.764 GB, free: 12.26 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07495/20, allocations: 20.63 MB / 3.784 GB, free: 10.72 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01154/20.01, allocations: 5.48 MB / 3.789 GB, free: 6.734 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.05518/20.07, allocations: 7.571 MB / 3.796 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.7732/20.84, allocations: 4.12 MB / 3.8 GB, free: 120.6 MB / 0.8386 GB Notification: Performance of SimCode: time 1.613e-06/20.84, allocations: 0.5 kB / 3.8 GB, free: 120.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8941/21.73, allocations: 297.8 MB / 4.091 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003652/21.73, allocations: 178 kB / 4.091 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 17.85/39.58, allocations: 7.969 kB / 4.091 GB, free: 8.75 MB / 0.8698 GB