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_turbulent_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_turbulent_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_turbulent_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.941/1.941, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.087e-05/3.096e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2597, allocations: 48.69 MB / 320 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.3818, allocations: 82.84 MB / 402.9 MB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.3822, allocations: 91.94 kB / 403 MB, free: 13.52 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, 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:6224:11-6227: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:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, 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:6238:11-6241: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.06065/0.4429, allocations: 11.16 MB / 414.1 MB, free: 2.293 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.223e-06/0.4429, allocations: 0 / 414.1 MB, free: 2.293 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.463e-05/0.4429, allocations: 4 kB / 414.1 MB, free: 2.289 MB / 346.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.001021/0.444, allocations: 0.5762 MB / 414.7 MB, free: 1.668 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.444, allocations: 12.03 kB / 414.7 MB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.556e-05/0.4441, allocations: 27.62 kB / 414.7 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003663/0.4445, allocations: 250.5 kB / 415 MB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.4445, allocations: 8 kB / 415 MB, free: 1.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.619e-05/0.4446, allocations: 16 kB / 415 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007694/0.4454, allocations: 401.4 kB / 415.4 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007668/0.4462, allocations: 398 kB / 415.8 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.4462, allocations: 0 / 415.8 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.316e-05/0.4462, allocations: 0 / 415.8 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-05/0.4463, allocations: 44.75 kB / 415.8 MB, free: 500 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.4488, allocations: 1.27 MB / 417.1 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.4494, allocations: 262.3 kB / 417.4 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.4496, allocations: 80.83 kB / 417.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.669e-05/0.4496, allocations: 4 kB / 417.4 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.458e-05/0.4497, allocations: 34.52 kB / 417.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.721e-06/0.4497, allocations: 0 / 417.5 MB, free: 14.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.000537/0.4502, allocations: 205.8 kB / 417.7 MB, free: 14.51 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.492e-05/0.4503, allocations: 55.41 kB / 417.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001455/0.4505, allocations: 131.8 kB / 417.9 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.4505, allocations: 33.69 kB / 417.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.4507, allocations: 262.3 kB / 418.1 MB, free: 14 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.4508, allocations: 86.75 kB / 418.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.57e-05/0.4508, allocations: 0 / 418.2 MB, free: 13.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.451, allocations: 322.8 kB / 418.5 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.4512, allocations: 67.83 kB / 418.6 MB, free: 13.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002335/0.4514, allocations: 154.1 kB / 418.8 MB, free: 13.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000211/0.4516, allocations: 99.86 kB / 418.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.4517, allocations: 0 / 418.9 MB, free: 13.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005996/0.4523, allocations: 257.4 kB / 419.1 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.4523, allocations: 12.77 kB / 419.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.45e-06/0.4523, allocations: 4.344 kB / 419.1 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.4524, allocations: 11.95 kB / 419.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/0.4531, allocations: 131.8 kB / 419.3 MB, free: 12.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.4549, allocations: 2.367 MB / 421.6 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.4551, allocations: 28.02 kB / 421.7 MB, free: 10.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.284e-05/0.4552, allocations: 16 kB / 421.7 MB, free: 10.32 MB / 362.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.0001386/0.4553, allocations: 120.8 kB / 421.8 MB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.136e-05/0.4554, allocations: 7.906 kB / 421.8 MB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00093/0.4564, allocations: 323.1 kB / 422.1 MB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.043e-05/0.4564, allocations: 4 kB / 422.1 MB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.808e-06/0.4564, allocations: 3.938 kB / 422.1 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.799e-06/0.4564, allocations: 0 / 422.1 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.4569, allocations: 278.2 kB / 422.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.749e-06/0.4569, allocations: 0 / 422.4 MB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006501/0.4576, allocations: 115.9 kB / 422.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.271e-06/0.4576, allocations: 3.953 kB / 422.5 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/0.4576, allocations: 4 kB / 422.5 MB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001727/0.4594, allocations: 2.364 MB / 424.9 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.922e-06/0.4594, allocations: 0 / 424.9 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.46, allocations: 331.5 kB / 425.2 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.364e-05/0.4601, allocations: 96.86 kB / 425.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.77e-05/0.4601, allocations: 0 / 425.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.4603, allocations: 7.984 kB / 425.3 MB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.4604, allocations: 27.97 kB / 425.3 MB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.368e-05/0.4605, allocations: 11.98 kB / 425.4 MB, free: 6.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.896e-05/0.4606, allocations: 95.28 kB / 425.4 MB, free: 6.383 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.4606, allocations: 0 / 425.4 MB, free: 6.383 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008116/0.4614, allocations: 183.4 kB / 425.6 MB, free: 6.203 MB / 362.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.000611/0.462, allocations: 262.8 kB / 425.9 MB, free: 5.934 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007936/0.4629, allocations: 236.6 kB / 426.1 MB, free: 5.703 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.515e-06/0.4629, allocations: 0 / 426.1 MB, free: 5.703 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004732/0.4634, allocations: 143.8 kB / 426.3 MB, free: 5.562 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.4636, allocations: 9.375 kB / 426.3 MB, free: 5.555 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001003/0.4646, allocations: 419.5 kB / 426.7 MB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.4652, allocations: 0.8027 MB / 427.5 MB, free: 4.289 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.4654, allocations: 31.42 kB / 427.5 MB, free: 4.258 MB / 362.7 MB Notification: Performance of SimCode: time 5.088e-06/0.4654, allocations: 0 / 427.5 MB, free: 4.258 MB / 362.7 MB Notification: Performance of Templates: time 0.02078/0.4862, allocations: 8.865 MB / 436.4 MB, free: 11.39 MB / 378.7 MB