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_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_twoPhaseOverall_KC") Notification: Performance of loadModel(ModelicaTest): time 2.373/2.373, allocations: 270.1 MB / 283.6 MB, free: 3.098 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.461e-05/3.473e-05, allocations: 5.828 kB / 348.4 MB, free: 10.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1092, allocations: 61.88 MB / 410.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4632/0.5725, allocations: 107.5 MB / 0.5056 GB, free: 12.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.5728, allocations: 91.94 kB / 0.5057 GB, free: 12.52 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/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 trunk/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 trunk/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.1568/0.7296, allocations: 39.05 MB / 0.5439 GB, free: 5.008 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.6e-06/0.7297, allocations: 0 / 0.5439 GB, free: 5.008 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.607e-05/0.7297, allocations: 16 kB / 0.5439 GB, free: 4.992 MB / 458.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.002218/0.732, allocations: 1.188 MB / 0.545 GB, free: 3.754 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.732, allocations: 12.03 kB / 0.545 GB, free: 3.742 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.7323, allocations: 126.4 kB / 0.5452 GB, free: 3.617 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009689/0.7333, allocations: 494.2 kB / 0.5456 GB, free: 3.094 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-05/0.7334, allocations: 66 kB / 0.5457 GB, free: 3.031 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.7336, allocations: 96 kB / 0.5458 GB, free: 2.938 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002515/0.7361, allocations: 1.283 MB / 0.547 GB, free: 1.617 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.7362, allocations: 3.938 kB / 0.547 GB, free: 1.613 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/0.7363, allocations: 40 kB / 0.5471 GB, free: 1.574 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001032/0.7364, allocations: 62.08 kB / 0.5471 GB, free: 1.512 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.7388, allocations: 1.226 MB / 0.5483 GB, free: 288 kB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006271/0.7451, allocations: 3.094 MB / 0.5514 GB, free: 13.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.7466, allocations: 0.6559 MB / 0.552 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005275/0.7471, allocations: 233.5 kB / 0.5522 GB, free: 12.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.721e-05/0.7472, allocations: 16.2 kB / 0.5522 GB, free: 12.13 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.321e-05/0.7473, allocations: 38.73 kB / 0.5523 GB, free: 12.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=32): time 3.971e-06/0.7473, allocations: 0 / 0.5523 GB, free: 12.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.001642/0.7489, allocations: 0.5791 MB / 0.5528 GB, free: 11.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.7491, allocations: 191.9 kB / 0.553 GB, free: 11.27 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002131/0.7512, allocations: 1.173 MB / 0.5542 GB, free: 10.08 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.629e-05/0.7513, allocations: 33.7 kB / 0.5542 GB, free: 10.04 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006017/0.752, allocations: 0.5356 MB / 0.5547 GB, free: 9.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.7521, allocations: 114.6 kB / 0.5548 GB, free: 9.387 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.7522, allocations: 20 kB / 0.5549 GB, free: 9.367 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.7524, allocations: 330 kB / 0.5552 GB, free: 9.039 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006179/0.753, allocations: 241.4 kB / 0.5554 GB, free: 8.801 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008895/0.7539, allocations: 0.5581 MB / 0.5559 GB, free: 8.09 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007616/0.7547, allocations: 330.9 kB / 0.5563 GB, free: 7.77 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.944e-06/0.7547, allocations: 3.938 kB / 0.5563 GB, free: 7.766 MB / 474.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002214/0.757, allocations: 0.8865 MB / 0.5571 GB, free: 6.871 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.832e-05/0.757, allocations: 12 kB / 0.5571 GB, free: 6.859 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.757, allocations: 12 kB / 0.5572 GB, free: 6.848 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.733e-05/0.7571, allocations: 19.94 kB / 0.5572 GB, free: 6.828 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008367/0.7579, allocations: 176.2 kB / 0.5573 GB, free: 6.656 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.62e-05/0.758, allocations: 23.92 kB / 0.5574 GB, free: 6.633 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.7591, allocations: 170.4 kB / 0.5575 GB, free: 6.465 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.7593, allocations: 43.98 kB / 0.5576 GB, free: 6.422 MB / 474.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.0002602/0.7595, allocations: 166.9 kB / 0.5577 GB, free: 6.254 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003453/0.7599, allocations: 118.5 kB / 0.5578 GB, free: 6.137 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001968/0.7619, allocations: 0.7389 MB / 0.5586 GB, free: 5.379 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.7619, allocations: 8 kB / 0.5586 GB, free: 5.371 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/0.7619, allocations: 8 kB / 0.5586 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.425e-06/0.762, allocations: 0 / 0.5586 GB, free: 5.363 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.7638, allocations: 0.7101 MB / 0.5593 GB, free: 4.598 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.142e-06/0.7638, allocations: 3.938 kB / 0.5593 GB, free: 4.594 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/0.7645, allocations: 111.9 kB / 0.5594 GB, free: 4.484 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.7645, allocations: 8 kB / 0.5594 GB, free: 4.477 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.611e-05/0.7646, allocations: 23.94 kB / 0.5594 GB, free: 4.453 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.7646, allocations: 3.938 kB / 0.5594 GB, free: 4.449 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.204e-06/0.7646, allocations: 4 kB / 0.5594 GB, free: 4.445 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001724/0.7663, allocations: 1.104 MB / 0.5605 GB, free: 3.281 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004364/0.7668, allocations: 203.5 kB / 0.5607 GB, free: 3.062 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.767, allocations: 8 kB / 0.5607 GB, free: 3.055 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009209/0.7679, allocations: 47.95 kB / 0.5607 GB, free: 3.008 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.7681, allocations: 47.83 kB / 0.5608 GB, free: 2.961 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.343e-05/0.7682, allocations: 23.98 kB / 0.5608 GB, free: 2.938 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001657/0.7699, allocations: 0.9058 MB / 0.5617 GB, free: 2.027 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.158e-06/0.7699, allocations: 0 / 0.5617 GB, free: 2.027 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001603/0.7715, allocations: 319.8 kB / 0.562 GB, free: 1.715 MB / 474.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.0007123/0.7722, allocations: 310.8 kB / 0.5623 GB, free: 1.41 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.7737, allocations: 0.5559 MB / 0.5628 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.439e-06/0.7737, allocations: 1.062 kB / 0.5628 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006254/0.7744, allocations: 251.6 kB / 0.5631 GB, free: 0.6094 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.776, allocations: 233 kB / 0.5633 GB, free: 392 kB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.7793, allocations: 1.458 MB / 0.5647 GB, free: 14.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.7805, allocations: 1.18 MB / 0.5659 GB, free: 13.67 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001326/0.7819, allocations: 406.6 kB / 0.5663 GB, free: 13.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003268/0.7822, allocations: 79.42 kB / 0.5663 GB, free: 13.19 MB / 490.7 MB Notification: Performance of SimCode: time 1.759e-06/0.7822, allocations: 0 / 0.5663 GB, free: 13.19 MB / 490.7 MB Notification: Performance of Templates: time 0.03869/0.8209, allocations: 15.67 MB / 0.5816 GB, free: 13.62 MB / 0.4948 GB