Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|roughness|K|L|geometry.1.|geometry.2.|geometry.3.|geometry.4.|geometry.5.|d_ann|D_ann|d_cir|a_ell|b_ell|a_rec|b_rec|a_tri|h_tri|beta|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.|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.|MIN|A_crossT.1.|A_crossT.2.|A_crossT.3.|A_crossT.4.|A_crossT.5.|perimeterT.1.|perimeterT.2.|perimeterT.3.|perimeterT.4.|perimeterT.5.|d_hydT.1.|d_hydT.2.|d_hydT.3.|d_hydT.4.|d_hydT.5.|A_cross|d_hyd|perimeter|velocity_1.1.|velocity_1.2.|velocity_1.3.|velocity_1.4.|velocity_1.5.|Re_1.1.|Re_1.2.|Re_1.3.|Re_1.4.|Re_1.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.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 234.9 MB / 251.1 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.005481/0.005481, allocations: 8 kB / 315 MB, free: 9.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3737, allocations: 54.86 MB / 369.8 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1836/0.5573, allocations: 105.3 MB / 475.1 MB, free: 1.258 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003948/0.5578, allocations: 99.94 kB / 475.2 MB, free: 1.16 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4955:11-4956:126: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.2/Fluid/Dissipation.mo:4977:11-4978:120: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.2/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4959:11-4975:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.4242/0.982, allocations: 27.82 MB / 0.4912 GB, free: 83.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.982, allocations: 0 / 0.4912 GB, free: 83.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.437e-05/0.9821, allocations: 16 kB / 0.4912 GB, free: 83.59 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002447/0.9845, allocations: 0.9009 MB / 0.4921 GB, free: 82.64 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.9846, allocations: 12.03 kB / 0.4921 GB, free: 82.63 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.9848, allocations: 75.06 kB / 0.4922 GB, free: 82.56 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007152/0.9856, allocations: 358 kB / 0.4925 GB, free: 82.17 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.542e-05/0.9856, allocations: 61.98 kB / 0.4926 GB, free: 82.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.9858, allocations: 72 kB / 0.4927 GB, free: 82.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.9885, allocations: 1.194 MB / 0.4938 GB, free: 80.83 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.9886, allocations: 3.953 kB / 0.4938 GB, free: 80.83 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/0.9887, allocations: 31.98 kB / 0.4939 GB, free: 80.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001051/0.9888, allocations: 77.95 kB / 0.494 GB, free: 80.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003826/0.9926, allocations: 1.729 MB / 0.4956 GB, free: 78.99 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00677/0.9995, allocations: 2.962 MB / 0.4985 GB, free: 75.88 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/1.001, allocations: 431.7 kB / 0.4989 GB, free: 75.45 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.07e-05/1.001, allocations: 8.234 kB / 0.499 GB, free: 75.44 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/1.001, allocations: 42.77 kB / 0.499 GB, free: 75.39 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 3.316e-06/1.001, allocations: 0 / 0.499 GB, free: 75.39 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001453/1.002, allocations: 491.9 kB / 0.4995 GB, free: 74.9 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/1.002, allocations: 51.41 kB / 0.4995 GB, free: 74.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002376/1.003, allocations: 210.4 kB / 0.4997 GB, free: 74.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/1.003, allocations: 37.7 kB / 0.4997 GB, free: 74.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/1.003, allocations: 456.5 kB / 0.5002 GB, free: 74.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/1.003, allocations: 118.4 kB / 0.5003 GB, free: 74.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.492e-05/1.003, allocations: 12 kB / 0.5003 GB, free: 74 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.946e-05/1.003, allocations: 330.8 kB / 0.5006 GB, free: 73.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/1.004, allocations: 153 kB / 0.5008 GB, free: 73.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/1.004, allocations: 350.3 kB / 0.5011 GB, free: 73.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000587/1.005, allocations: 209.5 kB / 0.5013 GB, free: 72.88 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/1.005, allocations: 0 / 0.5013 GB, free: 72.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.00136/1.006, allocations: 0.5513 MB / 0.5018 GB, free: 72.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/1.006, allocations: 11.95 kB / 0.5019 GB, free: 72.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/1.006, allocations: 4 kB / 0.5019 GB, free: 72.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/1.006, allocations: 16.73 kB / 0.5019 GB, free: 72.29 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/1.008, allocations: 215.7 kB / 0.5021 GB, free: 72.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001384/1.009, allocations: 2.996 MB / 0.505 GB, free: 68.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005602/1.01, allocations: 63.8 kB / 0.5051 GB, free: 68.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-05/1.01, allocations: 28 kB / 0.5051 GB, free: 68.88 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005069/1.01, allocations: 269.5 kB / 0.5053 GB, free: 68.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/1.01, allocations: 23.72 kB / 0.5054 GB, free: 68.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/1.012, allocations: 0.5697 MB / 0.5059 GB, free: 68.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/1.012, allocations: 8 kB / 0.5059 GB, free: 68 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/1.012, allocations: 7.984 kB / 0.5059 GB, free: 67.99 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/1.012, allocations: 3.953 kB / 0.5059 GB, free: 67.99 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/1.015, allocations: 1.188 MB / 0.5071 GB, free: 66.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/1.015, allocations: 4 kB / 0.5071 GB, free: 66.71 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/1.016, allocations: 172.1 kB / 0.5073 GB, free: 66.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.138e-05/1.016, allocations: 4 kB / 0.5073 GB, free: 66.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.777e-05/1.016, allocations: 19.98 kB / 0.5073 GB, free: 66.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001251/1.018, allocations: 2.965 MB / 0.5102 GB, free: 63.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/1.018, allocations: 288 / 0.5102 GB, free: 63.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/1.019, allocations: 0.5057 MB / 0.5107 GB, free: 62.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/1.019, allocations: 96.86 kB / 0.5108 GB, free: 62.78 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.321e-05/1.019, allocations: 12 kB / 0.5108 GB, free: 62.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003301/1.019, allocations: 27.94 kB / 0.5108 GB, free: 62.74 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/1.019, allocations: 39.89 kB / 0.5109 GB, free: 62.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-05/1.019, allocations: 16 kB / 0.5109 GB, free: 62.69 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001342/1.02, allocations: 140.5 kB / 0.511 GB, free: 62.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.6e-07/1.02, allocations: 0 / 0.511 GB, free: 62.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001528/1.021, allocations: 382.6 kB / 0.5114 GB, free: 62.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001244/1.022, allocations: 412.2 kB / 0.5118 GB, free: 61.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001812/1.024, allocations: 472 kB / 0.5122 GB, free: 61.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.024, allocations: 5.062 kB / 0.5122 GB, free: 61.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001113/1.025, allocations: 267.9 kB / 0.5125 GB, free: 61.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003734/1.026, allocations: 32.08 kB / 0.5125 GB, free: 61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/1.028, allocations: 1.465 MB / 0.5139 GB, free: 59.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/1.029, allocations: 0.9955 MB / 0.5149 GB, free: 58.46 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/1.029, allocations: 47.42 kB / 0.515 GB, free: 58.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.122e-06/1.029, allocations: 4 kB / 0.515 GB, free: 58.41 MB / 394.7 MB Notification: Performance of Templates: time 0.03269/1.062, allocations: 21.54 MB / 0.536 GB, free: 36.84 MB / 394.7 MB