Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2") Notification: Performance of loadModel(Buildings): time 4.334/4.334, allocations: 464.7 MB / 476.8 MB, free: 2.195 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.573e-05, allocations: 8 kB / 0.5731 GB, free: 5.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1994/0.1994, allocations: 107.2 MB / 0.6778 GB, free: 10.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6977/0.8972, allocations: 133.3 MB / 0.808 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.8975, allocations: 81.2 kB / 0.8081 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01818/0.9157, allocations: 4.262 MB / 0.8122 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.99e-06/0.9157, allocations: 0 / 0.8122 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.753e-06/0.9158, allocations: 0 / 0.8122 GB, free: 11.95 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0003952/0.9162, allocations: 376.2 kB / 0.8126 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.9162, allocations: 11.75 kB / 0.8126 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.212e-05/0.9163, allocations: 7.688 kB / 0.8126 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.996e-05/0.9164, allocations: 170.5 kB / 0.8128 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.9164, allocations: 3.906 kB / 0.8128 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.9164, allocations: 9.281 kB / 0.8128 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.9166, allocations: 69.5 kB / 0.8128 GB, free: 11.33 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.9166, allocations: 4 kB / 0.8128 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.562e-05/0.9166, allocations: 7.562 kB / 0.8128 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.881e-06/0.9167, allocations: 0 / 0.8128 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.83e-05/0.9168, allocations: 33.22 kB / 0.8129 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.9173, allocations: 330.2 kB / 0.8132 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.9175, allocations: 56.59 kB / 0.8132 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/0.9175, allocations: 23.39 kB / 0.8133 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.9175, allocations: 0 / 0.8133 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.011e-05/0.9176, allocations: 41.27 kB / 0.8133 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.736e-06/0.9176, allocations: 0 / 0.8133 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.00107/0.9187, allocations: 0.5718 MB / 0.8139 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.9187, allocations: 51.41 kB / 0.8139 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.229e-05/0.9188, allocations: 102.9 kB / 0.814 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.9188, allocations: 25.7 kB / 0.814 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.9188, allocations: 91.7 kB / 0.8141 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.9189, allocations: 35.81 kB / 0.8142 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.651e-06/0.9189, allocations: 7 kB / 0.8142 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.775e-05/0.919, allocations: 316.6 kB / 0.8145 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.999e-05/0.919, allocations: 21.22 kB / 0.8145 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.587e-05/0.9191, allocations: 27.67 kB / 0.8145 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.156e-05/0.9192, allocations: 21.16 kB / 0.8145 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-06/0.9192, allocations: 0 / 0.8145 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001925/0.9194, allocations: 104.7 kB / 0.8146 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.9194, allocations: 3.781 kB / 0.8146 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.629e-06/0.9194, allocations: 0.5469 kB / 0.8146 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.9195, allocations: 7.953 kB / 0.8146 GB, free: 9.832 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/0.9197, allocations: 32.7 kB / 0.8147 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.312e-06/0.9197, allocations: 3.875 kB / 0.8147 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.452e-05/0.9198, allocations: 9.297 kB / 0.8147 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.9198, allocations: 3.875 kB / 0.8147 GB, free: 9.828 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.49e-05/0.9199, allocations: 103.9 kB / 0.8148 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.531e-05/0.9199, allocations: 7.188 kB / 0.8148 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000243/0.9202, allocations: 119.4 kB / 0.8149 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.9202, allocations: 0 / 0.8149 GB, free: 9.664 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9202, allocations: 3.953 kB / 0.8149 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.9202, allocations: 0 / 0.8149 GB, free: 9.66 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.9207, allocations: 363.1 kB / 0.8153 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.74e-06/0.9207, allocations: 0 / 0.8153 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002292/0.9209, allocations: 29.34 kB / 0.8153 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.751e-06/0.921, allocations: 0 / 0.8153 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.921, allocations: 7.953 kB / 0.8153 GB, free: 9.355 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.921, allocations: 7.75 kB / 0.8153 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.692e-06/0.921, allocations: 0 / 0.8153 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002854/0.9213, allocations: 220.5 kB / 0.8155 GB, free: 9.215 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.9213, allocations: 84.86 kB / 0.8156 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.9214, allocations: 0 / 0.8156 GB, free: 9.117 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.9216, allocations: 17.88 kB / 0.8156 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.862e-05/0.9216, allocations: 7.25 kB / 0.8156 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.9216, allocations: 6.469 kB / 0.8156 GB, free: 9.109 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.786e-05/0.9217, allocations: 79.09 kB / 0.8157 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.1e-07/0.9217, allocations: 0 / 0.8157 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003763/0.9221, allocations: 45.67 kB / 0.8157 GB, free: 9.023 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000215/0.9223, allocations: 149.2 kB / 0.8159 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001734/0.9225, allocations: 64.52 kB / 0.816 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.084e-06/0.9225, allocations: 0 / 0.816 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.63e-05/0.9226, allocations: 36.44 kB / 0.816 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002053/0.9228, allocations: 9.562 kB / 0.816 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005039/0.9233, allocations: 248.7 kB / 0.8162 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005415/0.9239, allocations: 0.6937 MB / 0.8169 GB, free: 24.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.987e-05/0.924, allocations: 18.98 kB / 0.8169 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.924, allocations: 15.03 kB / 0.8169 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of SimCode: time 1.568e-06/0.924, allocations: 4 kB / 0.8169 GB, free: 24.01 MB / 0.6511 GB Notification: Performance of Templates: time 0.003949/0.928, allocations: 1.016 MB / 0.8179 GB, free: 23.9 MB / 0.6511 GB