Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.065/3.065, allocations: 235.1 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.956e-05, allocations: 4 kB / 299.6 MB, free: 184 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.467/0.4671, allocations: 54.86 MB / 354.4 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.6855, allocations: 86.9 MB / 441.3 MB, free: 8.234 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004969/0.6861, allocations: 95.88 kB / 441.4 MB, free: 8.141 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08813/0.7743, allocations: 13.22 MB / 454.6 MB, free: 10.82 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.7743, allocations: 0 / 454.6 MB, free: 10.82 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.181e-05/0.7744, allocations: 4 kB / 454.6 MB, free: 10.82 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001651/0.776, allocations: 0.5605 MB / 455.2 MB, free: 10.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.462e-05/0.7761, allocations: 12.03 kB / 455.2 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001422/0.7763, allocations: 54.53 kB / 455.3 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.7764, allocations: 31.62 kB / 455.3 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005524/0.777, allocations: 254.5 kB / 455.5 MB, free: 9.816 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.904e-05/0.777, allocations: 12.56 kB / 455.6 MB, free: 9.805 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.24e-05/0.7771, allocations: 16 kB / 455.6 MB, free: 9.789 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008583/0.778, allocations: 241.1 kB / 455.8 MB, free: 9.551 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.7791, allocations: 361.7 kB / 456.2 MB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.7791, allocations: 0 / 456.2 MB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.93e-05/0.7792, allocations: 0 / 456.2 MB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.655e-05/0.7793, allocations: 24.53 kB / 456.2 MB, free: 9.156 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/0.7821, allocations: 1.014 MB / 457.2 MB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006548/0.7828, allocations: 207.8 kB / 457.4 MB, free: 7.859 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002748/0.7831, allocations: 78.53 kB / 457.5 MB, free: 7.773 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.609e-05/0.7832, allocations: 3.984 kB / 457.5 MB, free: 7.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.205e-05/0.7833, allocations: 42.59 kB / 457.5 MB, free: 7.719 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.176e-06/0.7833, allocations: 3.938 kB / 457.5 MB, free: 7.715 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008789/0.7842, allocations: 185.3 kB / 457.7 MB, free: 7.527 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.038e-05/0.7843, allocations: 106.8 kB / 457.8 MB, free: 7.398 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004234/0.7847, allocations: 219.8 kB / 458 MB, free: 7.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/0.7848, allocations: 25.7 kB / 458.1 MB, free: 7.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002248/0.785, allocations: 203.6 kB / 458.3 MB, free: 6.945 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.178e-05/0.7851, allocations: 47.47 kB / 458.3 MB, free: 6.898 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.048e-05/0.7852, allocations: 3.938 kB / 458.3 MB, free: 6.895 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.7854, allocations: 330.8 kB / 458.6 MB, free: 6.562 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.7857, allocations: 84.17 kB / 458.7 MB, free: 6.477 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004892/0.7862, allocations: 203.5 kB / 458.9 MB, free: 6.223 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.7867, allocations: 115.8 kB / 459 MB, free: 6.109 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.7867, allocations: 0 / 459 MB, free: 6.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001102/0.7878, allocations: 308.8 kB / 459.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.741e-05/0.7878, allocations: 8.625 kB / 459.3 MB, free: 5.793 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001067/0.788, allocations: 23.98 kB / 459.4 MB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.788, allocations: 4.531 kB / 459.4 MB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006128/0.7886, allocations: 63.89 kB / 459.4 MB, free: 5.703 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.7887, allocations: 11.95 kB / 459.4 MB, free: 5.691 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006161/0.7893, allocations: 43.75 kB / 459.5 MB, free: 5.648 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.634e-05/0.7894, allocations: 12 kB / 459.5 MB, free: 5.637 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 0.0001866/0.7896, allocations: 120.9 kB / 459.6 MB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.7897, allocations: 23.72 kB / 459.6 MB, free: 5.488 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.7908, allocations: 247.2 kB / 459.9 MB, free: 5.242 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.389e-05/0.7908, allocations: 4 kB / 459.9 MB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7908, allocations: 0 / 459.9 MB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.7909, allocations: 7.953 kB / 459.9 MB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008185/0.7917, allocations: 270 kB / 460.1 MB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.645e-05/0.7918, allocations: 19.98 kB / 460.2 MB, free: 4.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004109/0.7922, allocations: 27.97 kB / 460.2 MB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.7923, allocations: 4 kB / 460.2 MB, free: 4.879 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.859e-05/0.7923, allocations: 4 kB / 460.2 MB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.7923, allocations: 0 / 460.2 MB, free: 4.875 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.7923, allocations: 7.984 kB / 460.2 MB, free: 4.867 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009277/0.7933, allocations: 461.1 kB / 460.7 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.7934, allocations: 100.8 kB / 460.8 MB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.934e-05/0.7935, allocations: 0 / 460.8 MB, free: 4.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005813/0.7941, allocations: 27.97 kB / 460.8 MB, free: 4.242 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.7943, allocations: 19.94 kB / 460.8 MB, free: 4.223 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.697e-05/0.7943, allocations: 11.98 kB / 460.8 MB, free: 4.211 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002998/0.7946, allocations: 160.5 kB / 461 MB, free: 4.059 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.426e-06/0.7947, allocations: 4 kB / 461 MB, free: 4.055 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001023/0.7957, allocations: 107.6 kB / 461.1 MB, free: 3.949 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.001744/0.7975, allocations: 1.213 MB / 462.3 MB, free: 2.699 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009624/0.7984, allocations: 358.6 kB / 462.6 MB, free: 2.312 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.7985, allocations: 320 / 462.6 MB, free: 2.312 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005075/0.799, allocations: 250.1 kB / 462.9 MB, free: 2.031 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006276/0.7996, allocations: 24.52 kB / 462.9 MB, free: 2.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002384/0.802, allocations: 0.4891 MB / 463.4 MB, free: 1.477 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.8027, allocations: 0.8062 MB / 464.2 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003576/0.8031, allocations: 49.75 kB / 464.3 MB, free: 0.5977 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002258/0.8033, allocations: 79.41 kB / 464.3 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.8033, allocations: 0 / 464.3 MB, free: 0.5195 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.435/1.238, allocations: 5.826 MB / 470.2 MB, free: 100 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002587/1.239, allocations: 193.2 kB / 470.4 MB, free: 99.8 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.447/4.686, allocations: 3.75 kB / 470.4 MB, free: 99.8 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],m_flow[1],m_flow[2],m_flow[3],Re_1[1],Re_1[2],Re_1[3],Nu_1[1],Nu_1[2],Nu_1[3],Nu_2[1],Nu_2[2],Nu_2[3],Re,Pr[1],Pr[2],Pr[3],input_mflow_0.y,input_mflow_1.y,input_mflow_2.y Variables in the result:L,Nu_1[1],Nu_1[2],Nu_1[3],Nu_2[1],Nu_2[2],Nu_2[3],Pr[1],Pr[2],Pr[3],Re,Re_1[1],Re_1[2],Re_1[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],frac_dtoL,input_mflow_0.duration,input_mflow_0.height,input_mflow_0.offset,input_mflow_0.startTime,input_mflow_0.y,input_mflow_1.amplitude,input_mflow_1.freqHz,input_mflow_1.offset,input_mflow_1.phase,input_mflow_1.startTime,input_mflow_1.y,input_mflow_2.fallTimeConst,input_mflow_2.offset,input_mflow_2.outMax,input_mflow_2.riseTime,input_mflow_2.riseTimeConst,input_mflow_2.startTime,input_mflow_2.y,input_mflow_2.y_riseTime,lambda[1],lambda[2],lambda[3],m_flow[1],m_flow[2],m_flow[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[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[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_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[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[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_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,n,rho[1],rho[2],rho[3],time