Running command: translateModel(BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck") Notification: Performance of loadModel(BuildingSystems): time 3.07/3.07, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.451e-05/5.468e-05, allocations: 8 kB / 436.6 MB, free: 2.465 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1496, allocations: 77.73 MB / 0.5023 GB, free: 4.574 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5964/0.7461, allocations: 106.3 MB / 0.6061 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.7464, allocations: 75.95 kB / 0.6062 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01849/0.7649, allocations: 4.013 MB / 0.6101 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.588e-06/0.7649, allocations: 0 / 0.6101 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.997e-06/0.765, allocations: 0 / 0.6101 GB, free: 10.66 MB / 0.4948 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.0004042/0.7654, allocations: 338.5 kB / 0.6104 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.7654, allocations: 12.03 kB / 0.6104 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.7655, allocations: 3.953 kB / 0.6104 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.7656, allocations: 159.1 kB / 0.6106 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.564e-06/0.7657, allocations: 4 kB / 0.6106 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.201e-05/0.7657, allocations: 4 kB / 0.6106 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.7658, allocations: 42.06 kB / 0.6106 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.505e-06/0.7659, allocations: 0 / 0.6106 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.7659, allocations: 0 / 0.6106 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.7659, allocations: 0 / 0.6106 GB, free: 10.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.077e-05/0.7659, allocations: 15.94 kB / 0.6106 GB, free: 10.01 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002112/0.7662, allocations: 161.6 kB / 0.6108 GB, free: 9.801 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.7664, allocations: 46.61 kB / 0.6108 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.921e-05/0.7664, allocations: 24.84 kB / 0.6109 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.7665, allocations: 0 / 0.6109 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.7665, allocations: 30.56 kB / 0.6109 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=4): time 1.816e-06/0.7665, allocations: 0 / 0.6109 GB, free: 9.68 MB / 0.4948 GB Notification: Performance of matching and sorting (n=6): time 0.000714/0.7673, allocations: 302.2 kB / 0.6112 GB, free: 9.332 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.7673, allocations: 55.41 kB / 0.6112 GB, free: 9.266 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.854e-05/0.7674, allocations: 93 kB / 0.6113 GB, free: 9.168 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.64e-05/0.7675, allocations: 29.7 kB / 0.6113 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.773e-05/0.7675, allocations: 80.14 kB / 0.6114 GB, free: 9.051 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.453e-05/0.7676, allocations: 19.73 kB / 0.6114 GB, free: 9.031 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.7676, allocations: 4 kB / 0.6114 GB, free: 9.027 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.7678, allocations: 322.7 kB / 0.6118 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.874e-05/0.7678, allocations: 12 kB / 0.6118 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.631e-05/0.7678, allocations: 4 kB / 0.6118 GB, free: 8.688 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.193e-05/0.7679, allocations: 16.61 kB / 0.6118 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.946e-06/0.7679, allocations: 4 kB / 0.6118 GB, free: 8.668 MB / 0.4948 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001454/0.7681, allocations: 73.52 kB / 0.6119 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.7681, allocations: 4.625 kB / 0.6119 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.7681, allocations: 4.234 kB / 0.6119 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.7681, allocations: 0 / 0.6119 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.244e-05/0.7682, allocations: 8 kB / 0.6119 GB, free: 8.574 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.494e-06/0.7682, allocations: 3.984 kB / 0.6119 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.7683, allocations: 0 / 0.6119 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.295e-05/0.7683, allocations: 8 kB / 0.6119 GB, free: 8.562 MB / 0.4948 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 9.489e-05/0.7684, allocations: 112.9 kB / 0.612 GB, free: 8.445 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.963e-05/0.7684, allocations: 7.984 kB / 0.612 GB, free: 8.438 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001793/0.7686, allocations: 65.78 kB / 0.6121 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.7686, allocations: 0 / 0.6121 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.367e-06/0.7687, allocations: 0 / 0.6121 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.692e-06/0.7687, allocations: 0 / 0.6121 GB, free: 8.363 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004297/0.7691, allocations: 315.4 kB / 0.6124 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.235e-06/0.7691, allocations: 3.984 kB / 0.6124 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.636e-05/0.7692, allocations: 12.03 kB / 0.6124 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.429e-06/0.7693, allocations: 7.938 kB / 0.6124 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.141e-06/0.7693, allocations: 0 / 0.6124 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.627e-06/0.7693, allocations: 0 / 0.6124 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.016e-06/0.7693, allocations: 0 / 0.6124 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.7696, allocations: 194.1 kB / 0.6126 GB, free: 7.758 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.445e-05/0.7697, allocations: 89.19 kB / 0.6127 GB, free: 7.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.83e-05/0.7697, allocations: 4.062 kB / 0.6127 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.7698, allocations: 0 / 0.6127 GB, free: 7.648 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.543e-05/0.7698, allocations: 15.94 kB / 0.6127 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.152e-06/0.7699, allocations: 0 / 0.6127 GB, free: 7.633 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 5.652e-05/0.7699, allocations: 79.66 kB / 0.6128 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.85e-07/0.7699, allocations: 0 / 0.6128 GB, free: 7.555 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003719/0.7703, allocations: 24 kB / 0.6128 GB, free: 7.531 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (m_flow_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.0002345/0.7706, allocations: 142.9 kB / 0.6129 GB, free: 7.387 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001275/0.7707, allocations: 35.94 kB / 0.6129 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.992e-06/0.7707, allocations: 0 / 0.6129 GB, free: 7.352 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.7708, allocations: 12 kB / 0.613 GB, free: 7.34 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001741/0.771, allocations: 7.938 kB / 0.613 GB, free: 7.332 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.7714, allocations: 142 kB / 0.6131 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.7717, allocations: 0.6887 MB / 0.6138 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 3.851e-05/0.7718, allocations: 7.984 kB / 0.6138 GB, free: 6.441 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.554e-05/0.7718, allocations: 15.42 kB / 0.6138 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.363e-06/0.7718, allocations: 0 / 0.6138 GB, free: 6.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.003381/0.7752, allocations: 0.5841 MB / 0.6144 GB, free: 5.852 MB / 0.4948 GB