Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004428/0.0004429, allocations: 20 kB / 282.6 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3242, allocations: 48.69 MB / 331.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1424/0.4666, allocations: 98.64 MB / 429.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.467, allocations: 99.94 kB / 430 MB, free: 11.65 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.1/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.1/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.1218/0.5888, allocations: 27.82 MB / 457.9 MB, free: 15.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.412e-06/0.5889, allocations: 0 / 457.9 MB, free: 15.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.008e-05/0.5889, allocations: 12 kB / 457.9 MB, free: 15.5 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.001933/0.5909, allocations: 0.9087 MB / 458.8 MB, free: 14.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.5909, allocations: 8.031 kB / 458.8 MB, free: 14.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.5911, allocations: 71.16 kB / 458.9 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006641/0.5918, allocations: 365.9 kB / 459.2 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.708e-05/0.5919, allocations: 54 kB / 459.3 MB, free: 14.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001618/0.5921, allocations: 83.98 kB / 459.3 MB, free: 13.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/0.5945, allocations: 1.182 MB / 460.5 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.5946, allocations: 0 / 460.5 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.5947, allocations: 31.94 kB / 460.6 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001171/0.5948, allocations: 73.95 kB / 460.6 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00362/0.5985, allocations: 1.729 MB / 462.4 MB, free: 10.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006011/0.6045, allocations: 2.962 MB / 465.3 MB, free: 7.789 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.6057, allocations: 435.7 kB / 465.8 MB, free: 7.352 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.74e-05/0.6058, allocations: 16.19 kB / 465.8 MB, free: 7.336 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.6058, allocations: 38.84 kB / 465.8 MB, free: 7.289 MB / 394.7 MB Notification: Performance of pre-optimization done (n=34): time 3.443e-06/0.6059, allocations: 0 / 465.8 MB, free: 7.289 MB / 394.7 MB Notification: Performance of matching and sorting (n=34): time 0.001317/0.6072, allocations: 487.9 kB / 466.3 MB, free: 6.809 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.6073, allocations: 59.39 kB / 466.3 MB, free: 6.738 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002384/0.6075, allocations: 181.5 kB / 466.5 MB, free: 6.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.6076, allocations: 29.7 kB / 466.5 MB, free: 6.516 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003278/0.6079, allocations: 456.6 kB / 467 MB, free: 6.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001303/0.608, allocations: 122.3 kB / 467.1 MB, free: 5.941 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/0.6081, allocations: 12 kB / 467.1 MB, free: 5.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.6083, allocations: 330.8 kB / 467.4 MB, free: 5.598 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.6087, allocations: 149 kB / 467.6 MB, free: 5.449 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.6093, allocations: 350.9 kB / 467.9 MB, free: 5.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005012/0.6098, allocations: 216.8 kB / 468.1 MB, free: 4.809 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.058e-06/0.6098, allocations: 4 kB / 468.1 MB, free: 4.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0013/0.6111, allocations: 0.5436 MB / 468.7 MB, free: 4.254 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.6112, allocations: 8.938 kB / 468.7 MB, free: 4.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.583e-05/0.6112, allocations: 8 kB / 468.7 MB, free: 4.238 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.6113, allocations: 8.75 kB / 468.7 MB, free: 4.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.6123, allocations: 219.7 kB / 468.9 MB, free: 4.016 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002341/0.6146, allocations: 2.989 MB / 471.9 MB, free: 0.9102 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.6151, allocations: 63.8 kB / 472 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-05/0.6152, allocations: 31.98 kB / 472 MB, free: 0.8164 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.0005263/0.6157, allocations: 273.5 kB / 472.3 MB, free: 0.5391 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.6158, allocations: 23.72 kB / 472.3 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2376/0.8534, allocations: 0.5648 MB / 472.9 MB, free: 110.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/0.8535, allocations: 7.234 kB / 472.9 MB, free: 110.6 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.276e-06/0.8535, allocations: 0.5625 kB / 472.9 MB, free: 110.6 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.8535, allocations: 2.516 kB / 472.9 MB, free: 110.6 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002467/0.856, allocations: 1.193 MB / 474.1 MB, free: 110.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.171e-06/0.856, allocations: 6.625 kB / 474.1 MB, free: 110.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008815/0.8569, allocations: 180.4 kB / 474.3 MB, free: 110.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/0.857, allocations: 3.719 kB / 474.3 MB, free: 110.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.614e-05/0.857, allocations: 17.14 kB / 474.3 MB, free: 110.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.8582, allocations: 2.965 MB / 477.2 MB, free: 107.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.551e-06/0.8582, allocations: 6 kB / 477.2 MB, free: 107.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009727/0.8592, allocations: 0.5791 MB / 477.8 MB, free: 107 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.908e-05/0.8593, allocations: 111.5 kB / 477.9 MB, free: 106.9 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.8594, allocations: 14.72 kB / 477.9 MB, free: 106.9 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.8597, allocations: 15.69 kB / 478 MB, free: 106.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.8598, allocations: 37.81 kB / 478 MB, free: 106.9 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.028e-05/0.8598, allocations: 25.03 kB / 478 MB, free: 106.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.86, allocations: 132.4 kB / 478.2 MB, free: 106.8 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.06e-07/0.86, allocations: 0 / 478.2 MB, free: 106.8 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001406/0.8614, allocations: 376.2 kB / 478.5 MB, free: 106.8 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.0009713/0.8624, allocations: 424.1 kB / 478.9 MB, free: 106.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.8638, allocations: 458.4 kB / 479.4 MB, free: 106.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.788e-06/0.8639, allocations: 1.094 kB / 479.4 MB, free: 106.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007872/0.8647, allocations: 239.2 kB / 479.6 MB, free: 106.8 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.865, allocations: 25.95 kB / 479.6 MB, free: 106.7 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.8673, allocations: 1.46 MB / 481.1 MB, free: 106 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/0.8679, allocations: 0.9937 MB / 482.1 MB, free: 105.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.8681, allocations: 46.88 kB / 482.1 MB, free: 105.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8681, allocations: 0 / 482.1 MB, free: 105.3 MB / 394.7 MB Notification: Performance of Templates: time 0.02693/0.895, allocations: 21.54 MB / 0.4919 GB, free: 100.6 MB / 394.7 MB