Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.341/3.341, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.898e-05/2.923e-05, allocations: 4 kB / 299.6 MB, free: 184 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.5391, allocations: 54.86 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2203/0.7595, allocations: 92.79 MB / 447.2 MB, free: 2.258 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006264/0.7602, allocations: 103.9 kB / 447.3 MB, free: 2.156 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5222/1.282, allocations: 23.27 MB / 470.6 MB, free: 98.46 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.282, allocations: 0 / 470.6 MB, free: 98.46 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.352e-05/1.283, allocations: 7.094 kB / 470.6 MB, free: 98.46 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001768/1.284, allocations: 0.6961 MB / 471.3 MB, free: 97.99 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/1.284, allocations: 9.031 kB / 471.3 MB, free: 97.99 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001745/1.285, allocations: 85.62 kB / 471.4 MB, free: 97.95 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/1.285, allocations: 57.58 kB / 471.4 MB, free: 97.92 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006497/1.285, allocations: 302 kB / 471.7 MB, free: 97.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.016e-05/1.285, allocations: 23.38 kB / 471.8 MB, free: 97.71 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/1.286, allocations: 33.53 kB / 471.8 MB, free: 97.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001631/1.287, allocations: 0.6784 MB / 472.5 MB, free: 97.7 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/1.289, allocations: 0.639 MB / 473.1 MB, free: 97.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.748e-05/1.289, allocations: 0 / 473.1 MB, free: 97.65 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.906e-05/1.289, allocations: 0 / 473.1 MB, free: 97.65 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/1.289, allocations: 47.64 kB / 473.2 MB, free: 97.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004097/1.293, allocations: 1.384 MB / 474.5 MB, free: 97.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/1.295, allocations: 0.5139 MB / 475.1 MB, free: 97.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004674/1.295, allocations: 162.3 kB / 475.2 MB, free: 97.26 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.77e-05/1.295, allocations: 13.8 kB / 475.2 MB, free: 97.26 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/1.295, allocations: 33.69 kB / 475.3 MB, free: 97.22 MB / 394.7 MB Notification: Performance of pre-optimization done (n=37): time 4.258e-06/1.295, allocations: 0 / 475.3 MB, free: 97.22 MB / 394.7 MB Notification: Performance of matching and sorting (n=37): time 0.00137/1.297, allocations: 407.5 kB / 475.7 MB, free: 97.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/1.297, allocations: 59.38 kB / 475.7 MB, free: 97.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003751/1.297, allocations: 255.6 kB / 476 MB, free: 96.94 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.994e-05/1.297, allocations: 25.7 kB / 476 MB, free: 96.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/1.297, allocations: 283.5 kB / 476.3 MB, free: 96.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001438/1.298, allocations: 128.7 kB / 476.4 MB, free: 96.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.992e-05/1.298, allocations: 0 / 476.4 MB, free: 96.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/1.298, allocations: 342 kB / 476.7 MB, free: 96.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005441/1.298, allocations: 186.3 kB / 476.9 MB, free: 96.23 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000856/1.299, allocations: 440 kB / 477.3 MB, free: 95.89 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007561/1.3, allocations: 278.2 kB / 477.6 MB, free: 95.85 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.698e-06/1.3, allocations: 3.969 kB / 477.6 MB, free: 95.85 MB / 394.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001912/1.302, allocations: 0.6255 MB / 478.2 MB, free: 95.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/1.302, allocations: 10 kB / 478.3 MB, free: 95.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/1.302, allocations: 7.594 kB / 478.3 MB, free: 95.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.964e-05/1.302, allocations: 14.62 kB / 478.3 MB, free: 95.73 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002634/1.305, allocations: 253.2 kB / 478.5 MB, free: 95.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004277/1.309, allocations: 7.338 MB / 485.9 MB, free: 88.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/1.31, allocations: 35.5 kB / 485.9 MB, free: 88.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/1.31, allocations: 35.73 kB / 485.9 MB, free: 88.57 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002594/1.31, allocations: 156.1 kB / 486.1 MB, free: 88.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/1.31, allocations: 28.81 kB / 486.1 MB, free: 88.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001975/1.312, allocations: 0.5555 MB / 486.7 MB, free: 88.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/1.312, allocations: 7.375 kB / 486.7 MB, free: 88.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.014e-06/1.312, allocations: 3.344 kB / 486.7 MB, free: 88.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/1.312, allocations: 3.141 kB / 486.7 MB, free: 88.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00095/1.313, allocations: 402.5 kB / 487.1 MB, free: 88.05 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.313, allocations: 0 / 487.1 MB, free: 88.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002401/1.316, allocations: 221 kB / 487.3 MB, free: 88.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/1.316, allocations: 11.56 kB / 487.3 MB, free: 88.04 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.361e-05/1.316, allocations: 11.11 kB / 487.3 MB, free: 88.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004244/1.32, allocations: 7.315 MB / 494.6 MB, free: 80.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/1.32, allocations: 288 / 494.6 MB, free: 80.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001343/1.322, allocations: 0.5239 MB / 495.1 MB, free: 80.62 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/1.322, allocations: 104.7 kB / 495.2 MB, free: 80.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.992e-05/1.322, allocations: 0 / 495.2 MB, free: 80.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005492/1.322, allocations: 11.38 kB / 495.3 MB, free: 80.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/1.323, allocations: 26.97 kB / 495.3 MB, free: 80.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.14e-05/1.323, allocations: 19.75 kB / 495.3 MB, free: 80.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002541/1.323, allocations: 179.8 kB / 495.5 MB, free: 80.31 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.21e-07/1.323, allocations: 0 / 495.5 MB, free: 80.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001299/1.324, allocations: 198.8 kB / 495.7 MB, free: 80.12 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002171/1.326, allocations: 1.221 MB / 496.9 MB, free: 79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002968/1.329, allocations: 0.5615 MB / 497.5 MB, free: 78.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/1.33, allocations: 0 / 497.5 MB, free: 78.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002152/1.332, allocations: 319.5 kB / 497.8 MB, free: 78.3 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/1.332, allocations: 32.73 kB / 497.8 MB, free: 78.28 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/1.335, allocations: 0.8572 MB / 498.7 MB, free: 77.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/1.336, allocations: 0.9148 MB / 499.6 MB, free: 76.68 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007744/1.337, allocations: 158.9 kB / 499.7 MB, free: 76.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/1.337, allocations: 146.1 kB / 499.9 MB, free: 76.46 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/1.337, allocations: 0 / 499.9 MB, free: 76.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.064/1.401, allocations: 10.43 MB / 0.4983 GB, free: 66.44 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003588/1.402, allocations: 192.3 kB / 0.4985 GB, free: 66.24 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.95/5.352, allocations: 3.938 kB / 0.4985 GB, free: 66.24 MB / 394.7 MB "" Variables in the reference:time,cp[1],cp[2],cp[3],eta[1],eta[2],eta[3],lambda[1],lambda[2],lambda[3],rho[1],rho[2],rho[3],Nu[1],Nu[2],Nu[3],m_flow_1[1],m_flow_1[2],m_flow_1[3],m_flow_2[1],m_flow_2[2],m_flow_2[3],m_flow_3[1],m_flow_3[2],m_flow_3[3],m_flow_4[1],m_flow_4[2],m_flow_4[3],kc_1[1],kc_1[2],kc_1[3],kc_2[1],kc_2[2],kc_2[3],kc_3[1],kc_3[2],kc_3[3],kc_4[1],kc_4[2],kc_4[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],Re_3[1],Re_3[2],Re_3[3],Re_4[1],Re_4[2],Re_4[3],input_Nu.y Variables in the result:L,Nu[1],Nu[2],Nu[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],Re_3[1],Re_3[2],Re_3[3],Re_4[1],Re_4[2],Re_4[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc_1[1],kc_1[2],kc_1[3],kc_2[1],kc_2[2],kc_2[3],kc_3[1],kc_3[2],kc_3[3],kc_4[1],kc_4[2],kc_4[3],lambda[1],lambda[2],lambda[3],m_flow_1[1],m_flow_1[2],m_flow_1[3],m_flow_2[1],m_flow_2[2],m_flow_2[3],m_flow_3[1],m_flow_3[2],m_flow_3[3],m_flow_4[1],m_flow_4[2],m_flow_4[3],m_flow_IN_con_1[1].K,m_flow_IN_con_1[1].L,m_flow_IN_con_1[1].d_hyd,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].K,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[3].K,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].d_hyd,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_2[1].K,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].K,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[3].K,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_3[1].K,m_flow_IN_con_3[1].L,m_flow_IN_con_3[1].d_hyd,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].K,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].d_hyd,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[3].K,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].d_hyd,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_4[1].K,m_flow_IN_con_4[1].L,m_flow_IN_con_4[1].d_hyd,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[2].K,m_flow_IN_con_4[2].L,m_flow_IN_con_4[2].d_hyd,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[3].K,m_flow_IN_con_4[3].L,m_flow_IN_con_4[3].d_hyd,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_var_1[1].cp,m_flow_IN_var_1[1].eta,m_flow_IN_var_1[1].lambda,m_flow_IN_var_1[1].m_flow,m_flow_IN_var_1[1].rho,m_flow_IN_var_1[2].cp,m_flow_IN_var_1[2].eta,m_flow_IN_var_1[2].lambda,m_flow_IN_var_1[2].m_flow,m_flow_IN_var_1[2].rho,m_flow_IN_var_1[3].cp,m_flow_IN_var_1[3].eta,m_flow_IN_var_1[3].lambda,m_flow_IN_var_1[3].m_flow,m_flow_IN_var_1[3].rho,m_flow_IN_var_2[1].cp,m_flow_IN_var_2[1].eta,m_flow_IN_var_2[1].lambda,m_flow_IN_var_2[1].m_flow,m_flow_IN_var_2[1].rho,m_flow_IN_var_2[2].cp,m_flow_IN_var_2[2].eta,m_flow_IN_var_2[2].lambda,m_flow_IN_var_2[2].m_flow,m_flow_IN_var_2[2].rho,m_flow_IN_var_2[3].cp,m_flow_IN_var_2[3].eta,m_flow_IN_var_2[3].lambda,m_flow_IN_var_2[3].m_flow,m_flow_IN_var_2[3].rho,m_flow_IN_var_3[1].cp,m_flow_IN_var_3[1].eta,m_flow_IN_var_3[1].lambda,m_flow_IN_var_3[1].m_flow,m_flow_IN_var_3[1].rho,m_flow_IN_var_3[2].cp,m_flow_IN_var_3[2].eta,m_flow_IN_var_3[2].lambda,m_flow_IN_var_3[2].m_flow,m_flow_IN_var_3[2].rho,m_flow_IN_var_3[3].cp,m_flow_IN_var_3[3].eta,m_flow_IN_var_3[3].lambda,m_flow_IN_var_3[3].m_flow,m_flow_IN_var_3[3].rho,m_flow_IN_var_4[1].cp,m_flow_IN_var_4[1].eta,m_flow_IN_var_4[1].lambda,m_flow_IN_var_4[1].m_flow,m_flow_IN_var_4[1].rho,m_flow_IN_var_4[2].cp,m_flow_IN_var_4[2].eta,m_flow_IN_var_4[2].lambda,m_flow_IN_var_4[2].m_flow,m_flow_IN_var_4[2].rho,m_flow_IN_var_4[3].cp,m_flow_IN_var_4[3].eta,m_flow_IN_var_4[3].lambda,m_flow_IN_var_4[3].m_flow,m_flow_IN_var_4[3].rho,n,rho[1],rho[2],rho[3],time