Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|geometry.1.|geometry.2.|geometry.3.|geometry.4.|geometry.5.|d_hyd|Av|opening|eta|rho|input_mdot_1.1.|input_mdot_1.2.|input_mdot_1.3.|input_mdot_1.4.|input_mdot_1.5.|input_dp_1.1.|input_dp_1.2.|input_dp_1.3.|input_dp_1.4.|input_dp_1.5.|input_mdot_2.1.|input_mdot_2.2.|input_mdot_2.3.|input_mdot_2.4.|input_mdot_2.5.|input_dp_2.1.|input_dp_2.2.|input_dp_2.3.|input_dp_2.4.|input_dp_2.5.|input_mdot_3.1.|input_mdot_3.2.|input_mdot_3.3.|input_mdot_3.4.|input_mdot_3.5.|input_dp_3.1.|input_dp_3.2.|input_dp_3.3.|input_dp_3.4.|input_dp_3.5.|M_FLOW_1.1.|M_FLOW_1.2.|M_FLOW_1.3.|M_FLOW_1.4.|M_FLOW_1.5.|DP_1.1.|DP_1.2.|DP_1.3.|DP_1.4.|DP_1.5.|M_FLOW_2.1.|M_FLOW_2.2.|M_FLOW_2.3.|M_FLOW_2.4.|M_FLOW_2.5.|DP_2.1.|DP_2.2.|DP_2.3.|DP_2.4.|DP_2.5.|M_FLOW_3.1.|M_FLOW_3.2.|M_FLOW_3.3.|M_FLOW_3.4.|M_FLOW_3.5.|DP_3.1.|DP_3.2.|DP_3.3.|DP_3.4.|DP_3.5.|DP_plot_1.1.|DP_plot_1.2.|DP_plot_1.3.|DP_plot_1.4.|DP_plot_1.5.|zeta_TOT_1.1.|zeta_TOT_1.2.|zeta_TOT_1.3.|zeta_TOT_1.4.|zeta_TOT_1.5.|Re_1.1.|Re_1.2.|Re_1.3.|Re_1.4.|Re_1.5.|DP_plot_2.1.|DP_plot_2.2.|DP_plot_2.3.|DP_plot_2.4.|DP_plot_2.5.|zeta_TOT_2.1.|zeta_TOT_2.2.|zeta_TOT_2.3.|zeta_TOT_2.4.|zeta_TOT_2.5.|Re_2.1.|Re_2.2.|Re_2.3.|Re_2.4.|Re_2.5.|DP_plot_3.1.|DP_plot_3.2.|DP_plot_3.3.|DP_plot_3.4.|DP_plot_3.5.|zeta_TOT_3.1.|zeta_TOT_3.2.|zeta_TOT_3.3.|zeta_TOT_3.4.|zeta_TOT_3.5.|Re_3.1.|Re_3.2.|Re_3.3.|Re_3.4.|Re_3.5.|input_DP.y|input_opening.y|input_mdot.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.87/1.87, allocations: 209.3 MB / 221.9 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.57e-05/3.585e-05, allocations: 4 kB / 273.1 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08769/0.08775, allocations: 48.7 MB / 321.8 MB, free: 2.832 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3588/0.4466, allocations: 87.08 MB / 408.9 MB, free: 4.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000245/0.4469, allocations: 95.03 kB / 409 MB, free: 4.305 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6536:11-6538:135:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6547:11-6549:131:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6584:11-6586:135:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6595:11-6597:129:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6529:11-6534:62:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6540:11-6545:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6552:11-6557:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6564:11-6569:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6577:11-6582:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6588:11-6593:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6559:11-6562:78:writable] Error: Type mismatch in binding opening = opening, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6571:11-6573:134:writable] Error: Type mismatch in binding opening = opening, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.09838/0.5453, allocations: 24.05 MB / 433 MB, free: 3.797 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5453, allocations: 0 / 433 MB, free: 3.797 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.829e-05/0.5454, allocations: 20 kB / 433 MB, free: 3.777 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.003005/0.5484, allocations: 1.451 MB / 434.5 MB, free: 2.379 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.5485, allocations: 8.031 kB / 434.5 MB, free: 2.371 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005301/0.549, allocations: 181.8 kB / 434.7 MB, free: 2.191 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.5504, allocations: 0.6287 MB / 435.3 MB, free: 1.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.5506, allocations: 150.3 kB / 435.4 MB, free: 1.484 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003472/0.5509, allocations: 190.2 kB / 435.6 MB, free: 1.359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005323/0.5563, allocations: 2.595 MB / 438.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.99e-05/0.5564, allocations: 0 / 438.2 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/0.5566, allocations: 81.75 kB / 438.3 MB, free: 15.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002147/0.5568, allocations: 148.2 kB / 438.4 MB, free: 15.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006875/0.5637, allocations: 3.568 MB / 442 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01596/0.5797, allocations: 6.688 MB / 448.7 MB, free: 7.336 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002141/0.5819, allocations: 0.623 MB / 449.3 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007525/0.5827, allocations: 221 kB / 449.5 MB, free: 6.648 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001288/0.5829, allocations: 24.52 kB / 449.6 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.5829, allocations: 38.62 kB / 449.6 MB, free: 6.586 MB / 346.7 MB Notification: Performance of pre-optimization done (n=63): time 5.707e-06/0.5829, allocations: 0 / 449.6 MB, free: 6.586 MB / 346.7 MB Notification: Performance of matching and sorting (n=63): time 0.002505/0.5855, allocations: 0.6317 MB / 450.2 MB, free: 6.027 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.5856, allocations: 63.34 kB / 450.3 MB, free: 5.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00307/0.5886, allocations: 1.22 MB / 451.5 MB, free: 4.984 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.5888, allocations: 41.08 kB / 451.6 MB, free: 4.945 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.5901, allocations: 1.345 MB / 452.9 MB, free: 3.699 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004351/0.5906, allocations: 279.1 kB / 453.2 MB, free: 3.461 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001535/0.5908, allocations: 64 kB / 453.2 MB, free: 3.398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003386/0.5911, allocations: 441.5 kB / 453.7 MB, free: 2.957 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.5926, allocations: 0.619 MB / 454.3 MB, free: 2.336 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003338/0.596, allocations: 2.665 MB / 456.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002912/0.599, allocations: 1.229 MB / 458.2 MB, free: 13.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.364e-05/0.5991, allocations: 20 kB / 458.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01141/0.6105, allocations: 2.92 MB / 461.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.79e-05/0.6106, allocations: 36 kB / 461.2 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001012/0.6108, allocations: 80.81 kB / 461.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001551/0.6109, allocations: 108 kB / 461.3 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00365/0.6146, allocations: 0.8735 MB / 462.2 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00458/0.6192, allocations: 6.055 MB / 468.3 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002839/0.6221, allocations: 400.1 kB / 468.7 MB, free: 2.691 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004226/0.6225, allocations: 224.2 kB / 468.9 MB, free: 2.473 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 35 (dp_IN_con_3[5].valveCoefficient,geometry[5],dp_IN_con_3[4].valveCoefficient,geometry[4],dp_IN_con_3[3].valveCoefficient,geometry[3],dp_IN_con_3[2].valveCoefficient,geometry[2],dp_IN_con_3[1].valveCoefficient,geometry[1],m_flow_IN_con_3[5].valveCoefficient,m_flow_IN_con_3[4].valveCoefficient,m_flow_IN_con_3[3].valveCoefficient,m_flow_IN_con_3[2].valveCoefficient,m_flow_IN_con_3[1].valveCoefficient,dp_IN_con_2[5].valveCoefficient,dp_IN_con_2[4].valveCoefficient,dp_IN_con_2[3].valveCoefficient,dp_IN_con_2[2].valveCoefficient,dp_IN_con_2[1].valveCoefficient,m_flow_IN_con_2[5].valveCoefficient,m_flow_IN_con_2[4].valveCoefficient,m_flow_IN_con_2[3].valveCoefficient,m_flow_IN_con_2[2].valveCoefficient,m_flow_IN_con_2[1].valveCoefficient,dp_IN_con_1[5].valveCoefficient,dp_IN_con_1[4].valveCoefficient,dp_IN_con_1[3].valveCoefficient,dp_IN_con_1[2].valveCoefficient,dp_IN_con_1[1].valveCoefficient,m_flow_IN_con_1[5].valveCoefficient,m_flow_IN_con_1[4].valveCoefficient,m_flow_IN_con_1[3].valveCoefficient,m_flow_IN_con_1[2].valveCoefficient,m_flow_IN_con_1[1].valveCoefficient) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006523/0.6232, allocations: 368.4 kB / 469.2 MB, free: 2.105 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.6235, allocations: 118.5 kB / 469.4 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/0.6276, allocations: 1.187 MB / 470.5 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.6276, allocations: 11.95 kB / 470.5 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.933e-06/0.6276, allocations: 0 / 470.5 MB, free: 0.7773 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.6277, allocations: 3.984 kB / 470.6 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002019/0.6297, allocations: 0.9555 MB / 471.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.708e-06/0.6297, allocations: 4 kB / 471.5 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/0.6314, allocations: 319.7 kB / 471.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/0.6314, allocations: 4 kB / 471.8 MB, free: 15.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.798e-05/0.6315, allocations: 31.98 kB / 471.9 MB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004305/0.6358, allocations: 5.919 MB / 477.8 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.401e-06/0.6359, allocations: 0 / 477.8 MB, free: 9.266 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.6376, allocations: 0.7957 MB / 478.6 MB, free: 8.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005544/0.6382, allocations: 303.1 kB / 478.9 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.6384, allocations: 12 kB / 478.9 MB, free: 8.121 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005548/0.639, allocations: 39.97 kB / 478.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.6392, allocations: 68.69 kB / 479 MB, free: 8.016 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.6393, allocations: 43.98 kB / 479 MB, free: 7.973 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00143/0.6407, allocations: 0.7745 MB / 479.8 MB, free: 7.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.22e-07/0.6407, allocations: 0 / 479.8 MB, free: 7.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003004/0.6437, allocations: 0.4913 MB / 480.3 MB, free: 6.699 MB / 378.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 (74): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {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.0006843/0.6445, allocations: 304.9 kB / 480.6 MB, free: 6.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004468/0.649, allocations: 1.647 MB / 482.2 MB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.373e-06/0.649, allocations: 0 / 482.2 MB, free: 4.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001422/0.6504, allocations: 424.1 kB / 482.7 MB, free: 4.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005362/0.651, allocations: 88.75 kB / 482.7 MB, free: 4.27 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00438/0.6554, allocations: 1.974 MB / 484.7 MB, free: 2.258 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/0.6569, allocations: 1.463 MB / 486.2 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006/0.6576, allocations: 167.4 kB / 486.3 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of SimCode: time 1.75e-06/0.6576, allocations: 0 / 486.3 MB, free: 0.6016 MB / 378.7 MB Notification: Performance of Templates: time 0.4173/1.075, allocations: 83.59 MB / 0.5566 GB, free: 123.3 MB / 426.7 MB