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.StraightPipe.dp_overall_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|K.2.|K.3.|K.4.|L|eta|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_mdot.4.|input_dp.1.|input_dp.2.|input_dp.3.|input_dp.4.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|M_FLOW.4.|DP.1.|DP.2.|DP.3.|DP.4.|velocity.1.|velocity.2.|velocity.3.|velocity.4.|Re.1.|Re.2.|Re.3.|Re.4.|DP_plot.1.|DP_plot.2.|DP_plot.3.|DP_plot.4.|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|zeta_TOT.4.|lambda_FRI.1.|lambda_FRI.2.|lambda_FRI.3.|lambda_FRI.4.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.95e-05/1.954e-05, allocations: 4 kB / 271.4 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2566, allocations: 48.68 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1306/0.3873, allocations: 90 MB / 410 MB, free: 6.422 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/0.3876, allocations: 95.94 kB / 410.1 MB, free: 6.328 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6094:11-6097:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6108:11-6111:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.08639/0.4741, allocations: 17.64 MB / 427.8 MB, free: 4.574 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.673e-06/0.4741, allocations: 0 / 427.8 MB, free: 4.574 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.967e-05/0.4741, allocations: 4 kB / 427.8 MB, free: 4.57 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.00175/0.4759, allocations: 0.6376 MB / 428.4 MB, free: 3.891 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.476, allocations: 8.031 kB / 428.4 MB, free: 3.883 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.4762, allocations: 31.62 kB / 428.5 MB, free: 3.852 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005493/0.4767, allocations: 246.6 kB / 428.7 MB, free: 3.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.4768, allocations: 8 kB / 428.7 MB, free: 3.562 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.318e-05/0.4769, allocations: 16 kB / 428.7 MB, free: 3.547 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001316/0.4782, allocations: 401.3 kB / 429.1 MB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001271/0.4795, allocations: 394 kB / 429.5 MB, free: 2.762 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.976e-05/0.4796, allocations: 4 kB / 429.5 MB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.4796, allocations: 0 / 429.5 MB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000117/0.4798, allocations: 44.75 kB / 429.5 MB, free: 2.715 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003924/0.4837, allocations: 1.27 MB / 430.8 MB, free: 1.332 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009901/0.4848, allocations: 258.4 kB / 431.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002735/0.4851, allocations: 76.77 kB / 431.1 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.992e-05/0.4852, allocations: 20.31 kB / 431.2 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.55e-05/0.4852, allocations: 34.56 kB / 431.2 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 5.382e-06/0.4852, allocations: 0 / 431.2 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0008688/0.4861, allocations: 201.8 kB / 431.4 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.4862, allocations: 51.41 kB / 431.4 MB, free: 0.6641 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002067/0.4864, allocations: 135.7 kB / 431.6 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.183e-05/0.4865, allocations: 25.7 kB / 431.6 MB, free: 0.4922 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.4867, allocations: 262.5 kB / 431.9 MB, free: 240 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001374/0.4869, allocations: 82.75 kB / 431.9 MB, free: 156 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.487, allocations: 0 / 431.9 MB, free: 156 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.4872, allocations: 326.8 kB / 432.3 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/0.4875, allocations: 71.81 kB / 432.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.4878, allocations: 154.3 kB / 432.5 MB, free: 15.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.4882, allocations: 99.86 kB / 432.6 MB, free: 15.47 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.098e-06/0.4882, allocations: 0 / 432.6 MB, free: 15.47 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00106/0.4893, allocations: 269.6 kB / 432.8 MB, free: 15.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.611e-05/0.4894, allocations: 11.95 kB / 432.8 MB, free: 15.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.311e-05/0.4894, allocations: 4 kB / 432.8 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.011e-05/0.4895, allocations: 4 kB / 432.9 MB, free: 15.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.4908, allocations: 127.8 kB / 433 MB, free: 15.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.4932, allocations: 2.368 MB / 435.3 MB, free: 12.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.4936, allocations: 31.8 kB / 435.4 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.4937, allocations: 19.98 kB / 435.4 MB, free: 12.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001855/0.4939, allocations: 116.8 kB / 435.5 MB, free: 12.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.494, allocations: 11.91 kB / 435.5 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001452/0.4955, allocations: 319.1 kB / 435.8 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.4955, allocations: 4 kB / 435.8 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.488e-06/0.4956, allocations: 0 / 435.8 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.362e-05/0.4956, allocations: 3.984 kB / 435.8 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007452/0.4963, allocations: 269.9 kB / 436.1 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.051e-06/0.4964, allocations: 7.953 kB / 436.1 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.4975, allocations: 123.8 kB / 436.2 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/0.4976, allocations: 4 kB / 436.2 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/0.4976, allocations: 4 kB / 436.2 MB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002415/0.5001, allocations: 2.367 MB / 438.6 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.5001, allocations: 288 / 438.6 MB, free: 9.188 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009005/0.501, allocations: 327.3 kB / 438.9 MB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.5012, allocations: 92.86 kB / 439 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.66e-05/0.5012, allocations: 3.984 kB / 439 MB, free: 8.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.5016, allocations: 8 kB / 439 MB, free: 8.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.5017, allocations: 19.97 kB / 439.1 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.537e-05/0.5018, allocations: 15.98 kB / 439.1 MB, free: 8.695 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.5019, allocations: 99.27 kB / 439.2 MB, free: 8.598 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.058e-06/0.5019, allocations: 0 / 439.2 MB, free: 8.598 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00149/0.5034, allocations: 255.3 kB / 439.4 MB, free: 8.348 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001343/0.5048, allocations: 384.5 kB / 439.8 MB, free: 7.965 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.506, allocations: 240.9 kB / 440 MB, free: 7.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.174e-06/0.506, allocations: 0 / 440 MB, free: 7.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007467/0.5068, allocations: 143.8 kB / 440.2 MB, free: 7.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.5072, allocations: 9.375 kB / 440.2 MB, free: 7.582 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001465/0.5087, allocations: 415.6 kB / 440.6 MB, free: 7.148 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007375/0.5094, allocations: 0.8101 MB / 441.4 MB, free: 6.312 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.5096, allocations: 31.42 kB / 441.4 MB, free: 6.281 MB / 378.7 MB Notification: Performance of SimCode: time 2.04e-06/0.5097, allocations: 0 / 441.4 MB, free: 6.281 MB / 378.7 MB Notification: Performance of Templates: time 0.2631/0.7727, allocations: 10.08 MB / 451.5 MB, free: 108.7 MB / 378.7 MB