Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp_1.1.|cp_1.2.|cp_1.3.|cp_1.4.|cp_1.5.|cp_1.6.|eta_l_1.1.|eta_l_1.2.|eta_l_1.3.|eta_l_1.4.|eta_l_1.5.|eta_l_1.6.|eta_g_1.1.|eta_g_1.2.|eta_g_1.3.|eta_g_1.4.|eta_g_1.5.|eta_g_1.6.|lambda_1.1.|lambda_1.2.|lambda_1.3.|lambda_1.4.|lambda_1.5.|lambda_1.6.|rho_l_1.1.|rho_l_1.2.|rho_l_1.3.|rho_l_1.4.|rho_l_1.5.|rho_l_1.6.|rho_g_1.1.|rho_g_1.2.|rho_g_1.3.|rho_g_1.4.|rho_g_1.5.|rho_g_1.6.|M_1.1.|M_1.2.|M_1.3.|M_1.4.|M_1.5.|M_1.6.|dh_lg_1.1.|dh_lg_1.2.|dh_lg_1.3.|dh_lg_1.4.|dh_lg_1.5.|dh_lg_1.6.|qdot_A_1.1.|qdot_A_1.2.|qdot_A_1.3.|qdot_A_1.4.|qdot_A_1.5.|qdot_A_1.6.|p_1.1.|p_1.2.|p_1.3.|p_1.4.|p_1.5.|p_1.6.|p_crit_1.1.|p_crit_1.2.|p_crit_1.3.|p_crit_1.4.|p_crit_1.5.|p_crit_1.6.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_1.4.|m_flow_1.5.|m_flow_1.6.|mdot_A1.1.|mdot_A1.2.|mdot_A1.3.|mdot_A1.4.|mdot_A1.5.|mdot_A1.6.|m_flow_2|cp_3.1.|cp_3.2.|cp_3.3.|cp_3.4.|cp_3.5.|cp_3.6.|eta_l_3.1.|eta_l_3.2.|eta_l_3.3.|eta_l_3.4.|eta_l_3.5.|eta_l_3.6.|lambda_3.1.|lambda_3.2.|lambda_3.3.|lambda_3.4.|lambda_3.5.|lambda_3.6.|rho_l_3.1.|rho_l_3.2.|rho_l_3.3.|rho_l_3.4.|rho_l_3.5.|rho_l_3.6.|p_3.1.|p_3.2.|p_3.3.|p_3.4.|p_3.5.|p_3.6.|p_crit_3.1.|p_crit_3.2.|p_crit_3.3.|p_crit_3.4.|p_crit_3.5.|p_crit_3.6.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_3.4.|m_flow_3.5.|m_flow_3.6.|x_flow|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_1.4.|Nu_1.5.|Nu_1.6.|NU_2|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_3.4.|Nu_3.5.|Nu_3.6.|kc_1.1.|kc_1.2.|kc_1.3.|kc_1.4.|kc_1.5.|kc_1.6.|kc_2|kc_3.1.|kc_3.2.|kc_3.3.|kc_3.4.|kc_3.5.|kc_3.6.|input_x_0.y|input_x_1.y|input_x_2.y|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") Notification: Performance of loadModel(ModelicaTest): time 2.512/2.512, allocations: 270 MB / 283.6 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.322e-05, allocations: 3.938 kB / 348.4 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3238, allocations: 61.87 MB / 410.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.4848, allocations: 107.5 MB / 0.5056 GB, free: 15.09 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003177/0.4851, allocations: 99.94 kB / 0.5057 GB, free: 15 MB / 442.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 4.0.0/Fluid/Dissipation.mo:4393:11-4407:77:writable] Error: Got type mismatch error, but matching types Real. This is a ***COMPILER BUG***, please report it to https://trac.openmodelica.org/OpenModelica. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 4.0.0/Fluid/Dissipation.mo:4369:11-4383:78:writable] Error: Type mismatch in binding x_flow = x_flow, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 4.0.0/Fluid/Dissipation.mo:4418:11-4432:76:writable] Error: Type mismatch in binding x_flow = x_flow, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.5079/0.9931, allocations: 39.03 MB / 0.5438 GB, free: 100 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.776e-06/0.9931, allocations: 4 kB / 0.5438 GB, free: 100 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.054e-05/0.9932, allocations: 16 kB / 0.5439 GB, free: 100 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 275 * Number of variables: 275 Notification: Performance of Generate backend data structure: time 0.001602/0.9948, allocations: 1.184 MB / 0.545 GB, free: 98.78 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.9948, allocations: 8.031 kB / 0.545 GB, free: 98.77 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.995, allocations: 126.4 kB / 0.5451 GB, free: 98.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006834/0.9957, allocations: 490.2 kB / 0.5456 GB, free: 98.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.443e-05/0.9958, allocations: 70 kB / 0.5457 GB, free: 98.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001319/0.9959, allocations: 99.98 kB / 0.5458 GB, free: 97.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.9979, allocations: 1.286 MB / 0.547 GB, free: 96.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/0.9979, allocations: 0 / 0.547 GB, free: 96.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-05/0.998, allocations: 40 kB / 0.5471 GB, free: 96.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.985e-05/0.9981, allocations: 66.08 kB / 0.5471 GB, free: 96.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/1, allocations: 1.23 MB / 0.5483 GB, free: 95.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004572/1.005, allocations: 3.094 MB / 0.5513 GB, free: 92.12 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/1.006, allocations: 0.649 MB / 0.552 GB, free: 91.41 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004365/1.006, allocations: 233.5 kB / 0.5522 GB, free: 91.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.609e-05/1.006, allocations: 20.14 kB / 0.5522 GB, free: 91.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.473e-05/1.006, allocations: 38.8 kB / 0.5523 GB, free: 91.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=32): time 2.875e-06/1.006, allocations: 4 kB / 0.5523 GB, free: 91.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=32): time 0.001354/1.008, allocations: 0.5766 MB / 0.5528 GB, free: 90.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/1.008, allocations: 187.9 kB / 0.553 GB, free: 90.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/1.009, allocations: 1.177 MB / 0.5542 GB, free: 89.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.788e-05/1.009, allocations: 29.7 kB / 0.5542 GB, free: 89.07 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/1.01, allocations: 0.5356 MB / 0.5547 GB, free: 88.53 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/1.01, allocations: 118.6 kB / 0.5548 GB, free: 88.41 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.367e-05/1.01, allocations: 12 kB / 0.5548 GB, free: 88.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.795e-05/1.01, allocations: 334 kB / 0.5551 GB, free: 88.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005177/1.011, allocations: 241.4 kB / 0.5554 GB, free: 87.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000631/1.011, allocations: 0.5581 MB / 0.5559 GB, free: 87.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006256/1.012, allocations: 335.6 kB / 0.5562 GB, free: 86.79 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/1.012, allocations: 4 kB / 0.5562 GB, free: 86.78 MB / 442.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001778/1.014, allocations: 0.882 MB / 0.5571 GB, free: 85.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.014, allocations: 8 kB / 0.5571 GB, free: 85.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/1.014, allocations: 19.92 kB / 0.5571 GB, free: 85.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/1.014, allocations: 16 kB / 0.5572 GB, free: 85.85 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007626/1.015, allocations: 176.3 kB / 0.5573 GB, free: 85.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/1.015, allocations: 23.92 kB / 0.5573 GB, free: 85.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009997/1.016, allocations: 166.5 kB / 0.5575 GB, free: 85.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-05/1.016, allocations: 44 kB / 0.5575 GB, free: 85.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 26 (IN_var_3[6].target,IN_var_3[5].target,IN_var_3[4].target,IN_var_3[3].target,IN_var_3[2].target,IN_var_3[1].target,IN_con_3[6].target,IN_con_3[5].target,IN_con_3[4].target,IN_con_3[3].target,IN_con_3[2].target,IN_con_3[1].target,IN_var_2.target,IN_con_2.target,IN_var_1[6].target,IN_var_1[5].target,IN_var_1[4].target,IN_var_1[3].target,IN_var_1[2].target,IN_var_1[1].target,IN_con_1[6].target,IN_con_1[5].target,IN_con_1[4].target,IN_con_1[3].target,IN_con_1[2].target,IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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 0.0001875/1.016, allocations: 166.9 kB / 0.5577 GB, free: 85.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002857/1.016, allocations: 122.5 kB / 0.5578 GB, free: 85.16 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001634/1.018, allocations: 0.7389 MB / 0.5585 GB, free: 84.4 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.269e-06/1.018, allocations: 11.94 kB / 0.5586 GB, free: 84.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.155e-06/1.018, allocations: 0 / 0.5586 GB, free: 84.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.021e-06/1.018, allocations: 7.984 kB / 0.5586 GB, free: 84.38 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/1.019, allocations: 0.7062 MB / 0.5592 GB, free: 83.62 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.335e-06/1.019, allocations: 4 kB / 0.5593 GB, free: 83.61 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005637/1.02, allocations: 111.9 kB / 0.5594 GB, free: 83.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.465e-06/1.02, allocations: 3.938 kB / 0.5594 GB, free: 83.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/1.02, allocations: 23.94 kB / 0.5594 GB, free: 83.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.442e-06/1.02, allocations: 4 kB / 0.5594 GB, free: 83.47 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.518e-06/1.02, allocations: 0 / 0.5594 GB, free: 83.47 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/1.021, allocations: 1.117 MB / 0.5605 GB, free: 82.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002522/1.022, allocations: 195.5 kB / 0.5607 GB, free: 82.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000195/1.022, allocations: 12 kB / 0.5607 GB, free: 82.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000881/1.023, allocations: 55.89 kB / 0.5607 GB, free: 82.02 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/1.023, allocations: 47.88 kB / 0.5608 GB, free: 81.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.926e-05/1.023, allocations: 20 kB / 0.5608 GB, free: 81.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001274/1.024, allocations: 0.9058 MB / 0.5617 GB, free: 81.04 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.24e-07/1.024, allocations: 0 / 0.5617 GB, free: 81.04 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001446/1.026, allocations: 315.8 kB / 0.562 GB, free: 80.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * 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.0005694/1.026, allocations: 304.4 kB / 0.5623 GB, free: 80.43 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001188/1.028, allocations: 0.5597 MB / 0.5628 GB, free: 79.87 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.924e-06/1.028, allocations: 1.188 kB / 0.5628 GB, free: 79.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005369/1.028, allocations: 243.7 kB / 0.5631 GB, free: 79.63 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001484/1.03, allocations: 237 kB / 0.5633 GB, free: 79.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002696/1.032, allocations: 1.47 MB / 0.5647 GB, free: 77.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006939/1.033, allocations: 1.176 MB / 0.5659 GB, free: 76.68 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001099/1.034, allocations: 402.6 kB / 0.5662 GB, free: 76.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/1.034, allocations: 79.41 kB / 0.5663 GB, free: 76.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.527e-06/1.034, allocations: 0 / 0.5663 GB, free: 76.2 MB / 442.7 MB Notification: Performance of Templates: time 0.03329/1.068, allocations: 15.66 MB / 0.5816 GB, free: 60.65 MB / 442.7 MB