Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2") Notification: Performance of loadModel(Buildings): time 4.049/4.049, allocations: 464.6 MB / 476.8 MB, free: 2.113 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.677e-05/4.69e-05, allocations: 13.95 kB / 0.5731 GB, free: 5.703 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2011, allocations: 107.2 MB / 0.6778 GB, free: 10.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8115/1.013, allocations: 132.7 MB / 0.8073 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/1.013, allocations: 82.92 kB / 0.8074 GB, free: 12.4 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0187/1.032, allocations: 4.507 MB / 0.8118 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.314e-06/1.032, allocations: 0 / 0.8118 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.189e-06/1.032, allocations: 0 / 0.8118 GB, free: 11.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002882/1.032, allocations: 343.2 kB / 0.8121 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/1.032, allocations: 11.59 kB / 0.8121 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.329e-05/1.032, allocations: 4 kB / 0.8121 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/1.032, allocations: 178 kB / 0.8123 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/1.032, allocations: 2.875 kB / 0.8123 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/1.032, allocations: 3.812 kB / 0.8123 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/1.032, allocations: 46.36 kB / 0.8124 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/1.032, allocations: 3 kB / 0.8124 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/1.032, allocations: 0 / 0.8124 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.275e-06/1.032, allocations: 0 / 0.8124 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.273e-05/1.033, allocations: 13.62 kB / 0.8124 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001522/1.033, allocations: 184.2 kB / 0.8126 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/1.033, allocations: 55 kB / 0.8126 GB, free: 11 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.143e-05/1.033, allocations: 31.05 kB / 0.8126 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.19e-05/1.033, allocations: 0 / 0.8126 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/1.033, allocations: 38.34 kB / 0.8127 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.902e-06/1.033, allocations: 0 / 0.8127 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.001023/1.034, allocations: 0.5591 MB / 0.8132 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.336e-05/1.034, allocations: 55.19 kB / 0.8133 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.949e-05/1.034, allocations: 88.38 kB / 0.8134 GB, free: 10.33 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.464e-05/1.034, allocations: 29.55 kB / 0.8134 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.034e-05/1.034, allocations: 84.66 kB / 0.8135 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.755e-05/1.034, allocations: 41.64 kB / 0.8135 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-06/1.034, allocations: 3.5 kB / 0.8135 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.066e-05/1.034, allocations: 324.1 kB / 0.8138 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.256e-05/1.034, allocations: 15.5 kB / 0.8138 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/1.034, allocations: 19.86 kB / 0.8139 GB, free: 9.871 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.419e-05/1.034, allocations: 33.45 kB / 0.8139 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.626e-06/1.035, allocations: 0 / 0.8139 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001738/1.035, allocations: 90.11 kB / 0.814 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/1.035, allocations: 3.906 kB / 0.814 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.449e-06/1.035, allocations: 0 / 0.814 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/1.035, allocations: 10.05 kB / 0.814 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/1.035, allocations: 20.73 kB / 0.814 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.163e-06/1.035, allocations: 0 / 0.814 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.439e-05/1.035, allocations: 7.219 kB / 0.814 GB, free: 9.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/1.035, allocations: 5.203 kB / 0.814 GB, free: 9.816 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.203e-05/1.035, allocations: 112.2 kB / 0.8141 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/1.035, allocations: 3.906 kB / 0.8141 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002216/1.035, allocations: 107.5 kB / 0.8142 GB, free: 9.656 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.641e-06/1.035, allocations: 4 kB / 0.8142 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.892e-06/1.035, allocations: 0 / 0.8142 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.25e-06/1.035, allocations: 0 / 0.8142 GB, free: 9.652 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003893/1.036, allocations: 347.2 kB / 0.8146 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.052e-06/1.036, allocations: 7.781 kB / 0.8146 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/1.036, allocations: 22.31 kB / 0.8146 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.213e-06/1.036, allocations: 0 / 0.8146 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/1.036, allocations: 7.781 kB / 0.8146 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/1.036, allocations: 0 / 0.8146 GB, free: 9.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.701e-06/1.036, allocations: 4 kB / 0.8146 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/1.036, allocations: 212.2 kB / 0.8148 GB, free: 9.199 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.172e-05/1.036, allocations: 84.86 kB / 0.8149 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/1.036, allocations: 3.375 kB / 0.8149 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/1.036, allocations: 6.562 kB / 0.8149 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.568e-05/1.037, allocations: 10.03 kB / 0.8149 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/1.037, allocations: 0 / 0.8149 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.569e-05/1.037, allocations: 83.19 kB / 0.815 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.36e-07/1.037, allocations: 0 / 0.815 GB, free: 9.023 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004244/1.037, allocations: 44.75 kB / 0.815 GB, free: 9.012 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0002186/1.037, allocations: 147.6 kB / 0.8152 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001566/1.037, allocations: 62.58 kB / 0.8152 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.037, allocations: 0 / 0.8152 GB, free: 8.906 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.16e-05/1.038, allocations: 34.28 kB / 0.8153 GB, free: 8.902 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001755/1.038, allocations: 3.953 kB / 0.8153 GB, free: 8.898 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000462/1.038, allocations: 226.9 kB / 0.8155 GB, free: 8.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005031/1.039, allocations: 0.6942 MB / 0.8162 GB, free: 24.03 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.789e-05/1.039, allocations: 10.88 kB / 0.8162 GB, free: 24.03 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/1.039, allocations: 11.28 kB / 0.8162 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of SimCode: time 1.932e-06/1.039, allocations: 3.812 kB / 0.8162 GB, free: 24.02 MB / 0.6511 GB Notification: Performance of Templates: time 0.003625/1.042, allocations: 0.8577 MB / 0.817 GB, free: 23.91 MB / 0.6511 GB