Running command: translateModel(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck") Notification: Performance of loadModel(Buildings): time 4.435/4.435, allocations: 464.6 MB / 476.8 MB, free: 2.102 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.216e-05, allocations: 8 kB / 0.5731 GB, free: 5.703 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1939, allocations: 107.2 MB / 0.6778 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7036/0.8975, allocations: 132.4 MB / 0.8071 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.8978, allocations: 77.97 kB / 0.8072 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01275/0.9105, allocations: 2.825 MB / 0.8099 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.118e-06/0.9106, allocations: 0 / 0.8099 GB, free: 12.26 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.617e-05/0.9106, allocations: 3.812 kB / 0.8099 GB, free: 12.26 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002894/0.9109, allocations: 347.6 kB / 0.8103 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.911, allocations: 11.75 kB / 0.8103 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.1e-05/0.911, allocations: 0 / 0.8103 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.616e-05/0.9111, allocations: 173.8 kB / 0.8104 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.9111, allocations: 0 / 0.8104 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/0.9112, allocations: 3.938 kB / 0.8104 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.345e-05/0.9113, allocations: 35.48 kB / 0.8105 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.559e-06/0.9113, allocations: 0 / 0.8105 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.9113, allocations: 4 kB / 0.8105 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.329e-06/0.9113, allocations: 7.781 kB / 0.8105 GB, free: 11.65 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.106e-05/0.9114, allocations: 11.12 kB / 0.8105 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.9115, allocations: 170 kB / 0.8107 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.9117, allocations: 44.23 kB / 0.8107 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.829e-05/0.9118, allocations: 17.7 kB / 0.8107 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.9118, allocations: 2.344 kB / 0.8107 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.9118, allocations: 34.41 kB / 0.8108 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.366e-06/0.9119, allocations: 0 / 0.8108 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005682/0.9124, allocations: 308 kB / 0.811 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.9125, allocations: 51.41 kB / 0.8111 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.207e-05/0.9125, allocations: 88.91 kB / 0.8112 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.9126, allocations: 28.89 kB / 0.8112 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.892e-05/0.9126, allocations: 83 kB / 0.8113 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.587e-05/0.9126, allocations: 15.44 kB / 0.8113 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-06/0.9126, allocations: 0 / 0.8113 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.178e-05/0.9127, allocations: 325.3 kB / 0.8116 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.003e-05/0.9127, allocations: 7.688 kB / 0.8116 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.557e-05/0.9128, allocations: 11.41 kB / 0.8116 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.839e-05/0.9128, allocations: 13.75 kB / 0.8116 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.515e-06/0.9128, allocations: 0 / 0.8116 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001177/0.913, allocations: 70.23 kB / 0.8117 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.913, allocations: 9.453 kB / 0.8117 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.759e-06/0.913, allocations: 0 / 0.8117 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.913, allocations: 0 / 0.8117 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.9131, allocations: 11.53 kB / 0.8117 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.385e-06/0.9131, allocations: 7.938 kB / 0.8117 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.575e-05/0.9132, allocations: 0 / 0.8117 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.906e-06/0.9132, allocations: 3.875 kB / 0.8117 GB, free: 10.46 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 (7): * Single equations (assignments): 7 * 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 4.98e-05/0.9132, allocations: 110.6 kB / 0.8119 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.525e-05/0.9133, allocations: 3.875 kB / 0.8119 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.9134, allocations: 69.59 kB / 0.8119 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-06/0.9134, allocations: 0 / 0.8119 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.266e-06/0.9135, allocations: 3.844 kB / 0.8119 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.491e-06/0.9135, allocations: 0 / 0.8119 GB, free: 10.31 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.9138, allocations: 311.1 kB / 0.8122 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.9138, allocations: 0 / 0.8122 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.077e-05/0.9139, allocations: 22.11 kB / 0.8122 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.921e-06/0.9139, allocations: 0 / 0.8122 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.802e-06/0.9139, allocations: 0 / 0.8122 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.14e-06/0.914, allocations: 4.094 kB / 0.8122 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.93e-06/0.914, allocations: 0 / 0.8122 GB, free: 9.992 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.9142, allocations: 200.8 kB / 0.8124 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.528e-05/0.9142, allocations: 79.45 kB / 0.8125 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.657e-05/0.9142, allocations: 3.875 kB / 0.8125 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.581e-05/0.9143, allocations: 3.375 kB / 0.8125 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.44e-05/0.9144, allocations: 7.125 kB / 0.8125 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.656e-06/0.9144, allocations: 0 / 0.8125 GB, free: 9.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.9144, allocations: 87.45 kB / 0.8126 GB, free: 9.648 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.69e-07/0.9144, allocations: 4.062 kB / 0.8126 GB, free: 9.645 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000353/0.9148, allocations: 31.17 kB / 0.8126 GB, free: 9.633 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001869/0.915, allocations: 131.9 kB / 0.8128 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000112/0.9151, allocations: 29.81 kB / 0.8128 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.9151, allocations: 0 / 0.8128 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-05/0.9152, allocations: 21.88 kB / 0.8128 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001766/0.9154, allocations: 6.812 kB / 0.8128 GB, free: 9.527 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.9157, allocations: 138.3 kB / 0.813 GB, free: 9.406 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004879/0.9162, allocations: 0.6824 MB / 0.8136 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.117e-05/0.9163, allocations: 3.875 kB / 0.8136 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.26e-05/0.9163, allocations: 11.22 kB / 0.8136 GB, free: 24.71 MB / 0.6511 GB Notification: Performance of SimCode: time 1.622e-06/0.9163, allocations: 7.938 kB / 0.8136 GB, free: 24.7 MB / 0.6511 GB Notification: Performance of Templates: time 0.003199/0.9195, allocations: 0.5924 MB / 0.8142 GB, free: 24.62 MB / 0.6511 GB