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_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.024e-05/3.04e-05, allocations: 4 kB / 323.4 MB, free: 4.285 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.318, allocations: 58.83 MB / 382.2 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.4749, allocations: 106.3 MB / 488.5 MB, free: 2.18 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.4752, allocations: 99.92 kB / 488.6 MB, free: 2.082 MB / 410.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.3/Fluid/Dissipation.mo:4477:11-4491: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 3.2.3/Fluid/Dissipation.mo:4453:11-4467: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 3.2.3/Fluid/Dissipation.mo:4502:11-4516: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.1726/0.6478, allocations: 38.25 MB / 0.5145 GB, free: 11.36 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.035e-06/0.6479, allocations: 0 / 0.5145 GB, free: 11.36 MB / 458.8 MB Notification: Performance of Transformations before backend: time 3.837e-05/0.648, allocations: 16 kB / 0.5146 GB, free: 11.34 MB / 458.8 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.002182/0.6501, allocations: 1.173 MB / 0.5157 GB, free: 10.12 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.6502, allocations: 12.03 kB / 0.5157 GB, free: 10.11 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.6505, allocations: 130.4 kB / 0.5158 GB, free: 9.977 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009446/0.6514, allocations: 498.1 kB / 0.5163 GB, free: 9.449 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.196e-05/0.6515, allocations: 70 kB / 0.5164 GB, free: 9.383 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001665/0.6517, allocations: 92 kB / 0.5165 GB, free: 9.293 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.6542, allocations: 1.29 MB / 0.5177 GB, free: 7.965 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.6543, allocations: 0 / 0.5177 GB, free: 7.965 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001148/0.6544, allocations: 40 kB / 0.5178 GB, free: 7.926 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.955e-05/0.6545, allocations: 66.05 kB / 0.5178 GB, free: 7.859 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.6569, allocations: 1.226 MB / 0.519 GB, free: 6.629 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006108/0.663, allocations: 3.098 MB / 0.522 GB, free: 3.445 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.6645, allocations: 0.6442 MB / 0.5227 GB, free: 2.746 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.665, allocations: 245.4 kB / 0.5229 GB, free: 2.488 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.402e-05/0.6651, allocations: 12.22 kB / 0.5229 GB, free: 2.477 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.532e-05/0.6652, allocations: 42.78 kB / 0.523 GB, free: 2.426 MB / 458.8 MB Notification: Performance of pre-optimization done (n=32): time 4.117e-06/0.6652, allocations: 0 / 0.523 GB, free: 2.426 MB / 458.8 MB Notification: Performance of matching and sorting (n=32): time 0.001633/0.6668, allocations: 0.5764 MB / 0.5235 GB, free: 1.844 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/0.667, allocations: 187.9 kB / 0.5237 GB, free: 1.617 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0021/0.6691, allocations: 1.169 MB / 0.5248 GB, free: 444 kB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-05/0.6692, allocations: 33.7 kB / 0.5249 GB, free: 404 kB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.2616/0.9308, allocations: 0.5337 MB / 0.5254 GB, free: 131.4 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.931, allocations: 117.5 kB / 0.5255 GB, free: 131.4 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/0.9311, allocations: 13.03 kB / 0.5255 GB, free: 131.4 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 8.972e-05/0.9312, allocations: 333.6 kB / 0.5258 GB, free: 131.1 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007283/0.932, allocations: 242.9 kB / 0.5261 GB, free: 131.1 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008765/0.9329, allocations: 0.5567 MB / 0.5266 GB, free: 130.6 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008715/0.9337, allocations: 332.5 kB / 0.5269 GB, free: 130.6 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.9338, allocations: 3.438 kB / 0.5269 GB, free: 130.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002162/0.9359, allocations: 0.8834 MB / 0.5278 GB, free: 130.6 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.936, allocations: 19.55 kB / 0.5278 GB, free: 130.6 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.936, allocations: 11.03 kB / 0.5278 GB, free: 130.6 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.766e-05/0.9361, allocations: 17.62 kB / 0.5278 GB, free: 130.6 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/0.9369, allocations: 170.9 kB / 0.528 GB, free: 130.6 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.997e-05/0.9369, allocations: 25.47 kB / 0.528 GB, free: 130.6 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/0.9381, allocations: 159.7 kB / 0.5282 GB, free: 130.5 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.9382, allocations: 47.33 kB / 0.5282 GB, free: 130.5 MB / 458.8 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.0002182/0.9384, allocations: 173 kB / 0.5284 GB, free: 130.4 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.9387, allocations: 121.2 kB / 0.5285 GB, free: 130.3 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.9405, allocations: 0.7377 MB / 0.5292 GB, free: 130.2 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.95e-06/0.9406, allocations: 10.69 kB / 0.5292 GB, free: 130.2 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.835e-06/0.9406, allocations: 3.156 kB / 0.5292 GB, free: 130.2 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.348e-06/0.9406, allocations: 4.703 kB / 0.5292 GB, free: 130.2 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001623/0.9422, allocations: 0.7147 MB / 0.5299 GB, free: 130 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.318e-06/0.9422, allocations: 5.234 kB / 0.53 GB, free: 130 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/0.9429, allocations: 117.9 kB / 0.5301 GB, free: 130 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.9429, allocations: 2.156 kB / 0.5301 GB, free: 130 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.849e-05/0.943, allocations: 19.61 kB / 0.5301 GB, free: 130 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.943, allocations: 4.781 kB / 0.5301 GB, free: 130 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.585e-06/0.943, allocations: 2.156 kB / 0.5301 GB, free: 130 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.9445, allocations: 1.112 MB / 0.5312 GB, free: 129.4 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003709/0.9448, allocations: 198.1 kB / 0.5314 GB, free: 129.2 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002251/0.9451, allocations: 10.11 kB / 0.5314 GB, free: 129.2 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009954/0.9461, allocations: 50.83 kB / 0.5314 GB, free: 129.2 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.9462, allocations: 39.03 kB / 0.5315 GB, free: 129.2 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.829e-05/0.9463, allocations: 19.59 kB / 0.5315 GB, free: 129.2 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.00149/0.9478, allocations: 0.9035 MB / 0.5324 GB, free: 129.1 MB / 458.8 MB Notification: Performance of sort global known variables: time 8.08e-07/0.9478, allocations: 0 / 0.5324 GB, free: 129.1 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.001619/0.9495, allocations: 314.3 kB / 0.5327 GB, free: 129.1 MB / 458.8 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.000626/0.9501, allocations: 308.2 kB / 0.533 GB, free: 129 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.9514, allocations: 0.5768 MB / 0.5335 GB, free: 129 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.474e-06/0.9514, allocations: 0 / 0.5335 GB, free: 129 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005665/0.952, allocations: 255.3 kB / 0.5338 GB, free: 129 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/0.9536, allocations: 233.9 kB / 0.534 GB, free: 129 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.9565, allocations: 1.458 MB / 0.5354 GB, free: 128.6 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/0.9572, allocations: 1.185 MB / 0.5366 GB, free: 127.9 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.001274/0.9585, allocations: 404.9 kB / 0.537 GB, free: 127.8 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.9588, allocations: 79.31 kB / 0.537 GB, free: 127.8 MB / 458.8 MB Notification: Performance of SimCode: time 1.56e-06/0.9589, allocations: 3.562 kB / 0.537 GB, free: 127.8 MB / 458.8 MB Notification: Performance of Templates: time 0.0528/1.012, allocations: 15.68 MB / 0.5523 GB, free: 121.9 MB / 458.8 MB