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.791/1.791, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.617e-05/2.632e-05, allocations: 0 / 277.9 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09116/0.09121, allocations: 48.71 MB / 326.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3643/0.4556, allocations: 98.55 MB / 425.1 MB, free: 8.719 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000461/0.4561, allocations: 96.53 kB / 425.2 MB, free: 8.664 MB / 330.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.1589/0.6151, allocations: 27.84 MB / 453 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.049e-06/0.6151, allocations: 0 / 453 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.6151, allocations: 11.94 kB / 453.1 MB, free: 492 kB / 346.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.001893/0.617, allocations: 0.8935 MB / 454 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.6171, allocations: 12.03 kB / 454 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.6173, allocations: 74.44 kB / 454 MB, free: 15.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006313/0.6179, allocations: 351.8 kB / 454.4 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.875e-05/0.618, allocations: 61.88 kB / 454.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.6182, allocations: 80.3 kB / 454.5 MB, free: 15.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002199/0.6204, allocations: 1.145 MB / 455.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.6204, allocations: 0 / 455.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.6206, allocations: 34 kB / 455.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.6207, allocations: 69.95 kB / 455.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002949/0.6237, allocations: 1.671 MB / 457.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005782/0.6295, allocations: 2.972 MB / 460.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.6306, allocations: 410.4 kB / 460.8 MB, free: 10.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.6309, allocations: 125.6 kB / 460.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/0.6309, allocations: 16.25 kB / 460.9 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.631, allocations: 34.59 kB / 461 MB, free: 9.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=34): time 3.369e-06/0.631, allocations: 4 kB / 461 MB, free: 9.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007986/0.6318, allocations: 327.8 kB / 461.3 MB, free: 9.711 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.805e-05/0.6319, allocations: 55.41 kB / 461.4 MB, free: 9.645 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.6321, allocations: 183.9 kB / 461.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.6322, allocations: 37.02 kB / 461.6 MB, free: 9.441 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003066/0.6325, allocations: 449.9 kB / 462 MB, free: 9.023 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.6327, allocations: 123.6 kB / 462.1 MB, free: 8.918 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.6327, allocations: 11.62 kB / 462.1 MB, free: 8.914 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.6329, allocations: 329.9 kB / 462.5 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.6332, allocations: 137.2 kB / 462.6 MB, free: 8.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004445/0.6336, allocations: 320.8 kB / 462.9 MB, free: 8.125 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004016/0.6341, allocations: 200.6 kB / 463.1 MB, free: 7.961 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.428e-06/0.6341, allocations: 3.938 kB / 463.1 MB, free: 7.957 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001091/0.6352, allocations: 0.5019 MB / 463.6 MB, free: 7.527 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.6352, allocations: 8 kB / 463.6 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.6352, allocations: 4 kB / 463.6 MB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.6353, allocations: 12 kB / 463.6 MB, free: 7.504 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/0.6364, allocations: 215.6 kB / 463.9 MB, free: 7.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.6387, allocations: 2.999 MB / 466.9 MB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00043/0.6392, allocations: 59.17 kB / 466.9 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.6392, allocations: 27.25 kB / 466.9 MB, free: 4.133 MB / 362.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 () * 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.0001902/0.6394, allocations: 146.7 kB / 467.1 MB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.978e-05/0.6395, allocations: 19.81 kB / 467.1 MB, free: 3.977 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.6411, allocations: 0.5429 MB / 467.6 MB, free: 3.52 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.785e-06/0.6411, allocations: 4 kB / 467.6 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.298e-06/0.6412, allocations: 0 / 467.6 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.99e-06/0.6412, allocations: 0 / 467.6 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002231/0.6434, allocations: 1.155 MB / 468.8 MB, free: 2.465 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.6434, allocations: 4 kB / 468.8 MB, free: 2.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009215/0.6444, allocations: 174.9 kB / 469 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.237e-05/0.6444, allocations: 4.25 kB / 469 MB, free: 2.289 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.6445, allocations: 22.12 kB / 469 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.6467, allocations: 2.964 MB / 472 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.044e-06/0.6467, allocations: 4 kB / 472 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008935/0.6476, allocations: 0.5509 MB / 472.5 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.6478, allocations: 108.7 kB / 472.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.6478, allocations: 7.875 kB / 472.6 MB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.6481, allocations: 23.73 kB / 472.7 MB, free: 14.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.6483, allocations: 35.67 kB / 472.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.674e-05/0.6483, allocations: 19.98 kB / 472.7 MB, free: 14.43 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.6485, allocations: 130.2 kB / 472.8 MB, free: 14.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.117e-06/0.6485, allocations: 0 / 472.8 MB, free: 14.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001468/0.65, allocations: 381.5 kB / 473.2 MB, free: 13.96 MB / 378.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 () * 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.001014/0.651, allocations: 425.4 kB / 473.6 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.6523, allocations: 414.8 kB / 474 MB, free: 13.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/0.6523, allocations: 4 kB / 474 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007255/0.653, allocations: 222.8 kB / 474.3 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.6534, allocations: 27.23 kB / 474.3 MB, free: 12.99 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.6554, allocations: 0.8428 MB / 475.1 MB, free: 12.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008275/0.6563, allocations: 1.002 MB / 476.1 MB, free: 11.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.6565, allocations: 50.91 kB / 476.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.711e-06/0.6565, allocations: 0 / 476.2 MB, free: 11.09 MB / 378.7 MB Notification: Performance of Templates: time 0.03426/0.6907, allocations: 21.52 MB / 497.7 MB, free: 5.586 MB / 394.7 MB