Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.184/2.184, allocations: 234.9 MB / 250.5 MB, free: 9.465 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004493, allocations: 16 kB / 314.4 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2779/0.2783, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.4396, allocations: 105.3 MB / 474.6 MB, free: 1.258 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004896/0.4402, allocations: 95.94 kB / 474.7 MB, free: 1.164 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/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@2/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@2/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.3983/0.8385, allocations: 27.83 MB / 0.4907 GB, free: 83.62 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.18e-06/0.8386, allocations: 0 / 0.4907 GB, free: 83.62 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.614e-05/0.8386, allocations: 8 kB / 0.4907 GB, free: 83.61 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.001616/0.8402, allocations: 0.9025 MB / 0.4916 GB, free: 82.66 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.8403, allocations: 8.031 kB / 0.4916 GB, free: 82.65 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001632/0.8404, allocations: 75.06 kB / 0.4917 GB, free: 82.58 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005101/0.841, allocations: 346.1 kB / 0.492 GB, free: 82.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.841, allocations: 69.97 kB / 0.4921 GB, free: 82.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001382/0.8412, allocations: 76 kB / 0.4922 GB, free: 82.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.8432, allocations: 1.186 MB / 0.4933 GB, free: 80.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/0.8432, allocations: 3.953 kB / 0.4933 GB, free: 80.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.8434, allocations: 31.98 kB / 0.4934 GB, free: 80.83 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.487e-05/0.8435, allocations: 69.97 kB / 0.4934 GB, free: 80.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002918/0.8464, allocations: 1.726 MB / 0.4951 GB, free: 79.04 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004838/0.8513, allocations: 2.97 MB / 0.498 GB, free: 75.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.8523, allocations: 439.7 kB / 0.4984 GB, free: 75.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.685e-05/0.8524, allocations: 8.234 kB / 0.4984 GB, free: 75.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.783e-05/0.8524, allocations: 34.84 kB / 0.4985 GB, free: 75.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 3.955e-06/0.8524, allocations: 0 / 0.4985 GB, free: 75.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001165/0.8536, allocations: 499.8 kB / 0.4989 GB, free: 74.93 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.701e-05/0.8536, allocations: 55.41 kB / 0.499 GB, free: 74.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.8538, allocations: 193.5 kB / 0.4992 GB, free: 74.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.772e-05/0.8539, allocations: 29.7 kB / 0.4992 GB, free: 74.63 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.854, allocations: 456.5 kB / 0.4996 GB, free: 74.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.568e-05/0.8541, allocations: 118.4 kB / 0.4998 GB, free: 74.06 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.8542, allocations: 8 kB / 0.4998 GB, free: 74.05 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.8543, allocations: 330.8 kB / 0.5001 GB, free: 73.72 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003338/0.8546, allocations: 153 kB / 0.5002 GB, free: 73.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004112/0.855, allocations: 346.3 kB / 0.5006 GB, free: 73.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004203/0.8555, allocations: 209.4 kB / 0.5008 GB, free: 72.94 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.043e-06/0.8555, allocations: 11.94 kB / 0.5008 GB, free: 72.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001146/0.8566, allocations: 0.5395 MB / 0.5013 GB, free: 72.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.8567, allocations: 12.8 kB / 0.5013 GB, free: 72.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.8567, allocations: 7.938 kB / 0.5013 GB, free: 72.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.8567, allocations: 19.98 kB / 0.5013 GB, free: 72.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009319/0.8577, allocations: 211.8 kB / 0.5015 GB, free: 72.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001222/0.8589, allocations: 3.001 MB / 0.5045 GB, free: 69.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004244/0.8594, allocations: 63.5 kB / 0.5045 GB, free: 68.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.445e-05/0.8594, allocations: 28 kB / 0.5046 GB, free: 68.93 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.0004282/0.8599, allocations: 269.5 kB / 0.5048 GB, free: 68.65 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.252e-05/0.86, allocations: 23.72 kB / 0.5048 GB, free: 68.63 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.8616, allocations: 0.5737 MB / 0.5054 GB, free: 68.05 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.438e-06/0.8616, allocations: 4 kB / 0.5054 GB, free: 68.05 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.454e-06/0.8616, allocations: 0 / 0.5054 GB, free: 68.05 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.157e-06/0.8616, allocations: 7.938 kB / 0.5054 GB, free: 68.04 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.8637, allocations: 1.172 MB / 0.5066 GB, free: 66.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.196e-06/0.8637, allocations: 3.953 kB / 0.5066 GB, free: 66.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008519/0.8646, allocations: 184.1 kB / 0.5067 GB, free: 66.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.372e-06/0.8646, allocations: 4 kB / 0.5067 GB, free: 66.6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.8647, allocations: 16 kB / 0.5068 GB, free: 66.58 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.8658, allocations: 2.969 MB / 0.5097 GB, free: 63.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4e-06/0.8659, allocations: 3.938 kB / 0.5097 GB, free: 63.49 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008699/0.8667, allocations: 0.6012 MB / 0.5102 GB, free: 62.8 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.856e-05/0.8669, allocations: 100.8 kB / 0.5103 GB, free: 62.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.124e-05/0.867, allocations: 8 kB / 0.5103 GB, free: 62.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002727/0.8672, allocations: 23.98 kB / 0.5104 GB, free: 62.65 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.8674, allocations: 31.95 kB / 0.5104 GB, free: 62.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/0.8674, allocations: 20 kB / 0.5104 GB, free: 62.6 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001128/0.8675, allocations: 136.5 kB / 0.5105 GB, free: 62.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.68e-07/0.8676, allocations: 4 kB / 0.5106 GB, free: 62.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001338/0.8689, allocations: 382.6 kB / 0.5109 GB, free: 62.09 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.0009937/0.8699, allocations: 428.1 kB / 0.5113 GB, free: 61.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00126/0.8712, allocations: 452.2 kB / 0.5118 GB, free: 61.22 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.193e-06/0.8712, allocations: 0 / 0.5118 GB, free: 61.22 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007031/0.8719, allocations: 237 kB / 0.512 GB, free: 60.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003501/0.8723, allocations: 32.11 kB / 0.512 GB, free: 60.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00211/0.8744, allocations: 1.468 MB / 0.5134 GB, free: 59.43 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.875, allocations: 0.9916 MB / 0.5144 GB, free: 58.41 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.8752, allocations: 47.42 kB / 0.5145 GB, free: 58.37 MB / 394.7 MB Notification: Performance of SimCode: time 1.693e-06/0.8752, allocations: 0 / 0.5145 GB, free: 58.37 MB / 394.7 MB Notification: Performance of Templates: time 0.02492/0.9001, allocations: 21.54 MB / 0.5355 GB, free: 36.8 MB / 394.7 MB