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.957/1.957, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.53e-05/3.548e-05, allocations: 4 kB / 273.1 MB, free: 3.625 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08806/0.08813, allocations: 48.68 MB / 321.8 MB, free: 2.844 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3852/0.4733, allocations: 83.5 MB / 405.3 MB, free: 5.512 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.4736, allocations: 95.47 kB / 405.4 MB, free: 5.496 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.04839/0.522, allocations: 11.23 MB / 416.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.208e-06/0.5221, allocations: 0 / 416.6 MB, free: 1.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.5221, allocations: 3.875 kB / 416.6 MB, free: 1.27 MB / 314.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.0008371/0.523, allocations: 0.5782 MB / 417.2 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.523, allocations: 7.844 kB / 417.2 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.5231, allocations: 31.16 kB / 417.2 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.5234, allocations: 236.6 kB / 417.4 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.34e-05/0.5234, allocations: 23.03 kB / 417.5 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-05/0.5235, allocations: 28.38 kB / 417.5 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007097/0.5242, allocations: 431.8 kB / 417.9 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.5242, allocations: 11.86 kB / 417.9 MB, free: 396 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.959e-05/0.5243, allocations: 14.28 kB / 417.9 MB, free: 396 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.686e-05/0.5244, allocations: 39.3 kB / 418 MB, free: 392 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/0.5252, allocations: 0.5134 MB / 418.5 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002518/0.5277, allocations: 1.341 MB / 419.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006576/0.5284, allocations: 271.2 kB / 420.1 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.5286, allocations: 81.7 kB / 420.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.5287, allocations: 15.84 kB / 420.2 MB, free: 14.51 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.5287, allocations: 42.38 kB / 420.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 3.911e-06/0.5287, allocations: 0 / 420.2 MB, free: 14.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005801/0.5293, allocations: 214.7 kB / 420.4 MB, free: 14.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.74e-05/0.5294, allocations: 55.34 kB / 420.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001613/0.5296, allocations: 135.8 kB / 420.6 MB, free: 14.08 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.5296, allocations: 29.02 kB / 420.7 MB, free: 14.05 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.5298, allocations: 252.2 kB / 420.9 MB, free: 13.81 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.114e-05/0.5299, allocations: 87.88 kB / 421 MB, free: 13.73 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.781e-05/0.5299, allocations: 7.75 kB / 421 MB, free: 13.73 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.5301, allocations: 325.5 kB / 421.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.5303, allocations: 78.25 kB / 421.4 MB, free: 13.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.5306, allocations: 150.5 kB / 421.5 MB, free: 13.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.5308, allocations: 109.3 kB / 421.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.764e-06/0.5308, allocations: 0 / 421.6 MB, free: 13.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006501/0.5315, allocations: 280.7 kB / 421.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/0.5315, allocations: 11.95 kB / 421.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.563e-06/0.5315, allocations: 3.938 kB / 421.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.5316, allocations: 8.344 kB / 421.9 MB, free: 12.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000786/0.5324, allocations: 135.8 kB / 422.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001784/0.5342, allocations: 2.36 MB / 424.4 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.5345, allocations: 25.41 kB / 424.5 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.407e-05/0.5345, allocations: 15.98 kB / 424.5 MB, free: 10.22 MB / 330.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.000145/0.5347, allocations: 131.5 kB / 424.6 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.664e-05/0.5348, allocations: 15.81 kB / 424.6 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001006/0.5358, allocations: 349.8 kB / 425 MB, free: 9.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.98e-06/0.5358, allocations: 4 kB / 425 MB, free: 9.789 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.5358, allocations: 4 kB / 425 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.019e-06/0.5358, allocations: 3.984 kB / 425 MB, free: 9.781 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005654/0.5364, allocations: 337.3 kB / 425.3 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.448e-06/0.5364, allocations: 3.984 kB / 425.3 MB, free: 9.449 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/0.5372, allocations: 127.7 kB / 425.4 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.545e-06/0.5372, allocations: 0 / 425.4 MB, free: 9.328 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.823e-05/0.5372, allocations: 6.938 kB / 425.4 MB, free: 9.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001698/0.539, allocations: 2.354 MB / 427.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.539, allocations: 0 / 427.8 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005882/0.5396, allocations: 340.9 kB / 428.1 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.5397, allocations: 97.05 kB / 428.2 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.5397, allocations: 7.75 kB / 428.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.54, allocations: 11.23 kB / 428.2 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.624e-05/0.54, allocations: 31.66 kB / 428.3 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.5401, allocations: 8 kB / 428.3 MB, free: 6.422 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.72e-05/0.5402, allocations: 106.8 kB / 428.4 MB, free: 6.324 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.5402, allocations: 0 / 428.4 MB, free: 6.324 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000825/0.541, allocations: 193.3 kB / 428.6 MB, free: 6.145 MB / 330.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.000609/0.5417, allocations: 273.2 kB / 428.8 MB, free: 5.887 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000805/0.5425, allocations: 251.3 kB / 429.1 MB, free: 5.676 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.428e-06/0.5425, allocations: 0 / 429.1 MB, free: 5.676 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004897/0.543, allocations: 142.3 kB / 429.2 MB, free: 5.555 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002358/0.5433, allocations: 10.67 kB / 429.2 MB, free: 5.551 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.5443, allocations: 432.2 kB / 429.7 MB, free: 5.133 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005607/0.5449, allocations: 0.8021 MB / 430.5 MB, free: 4.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.545, allocations: 29.98 kB / 430.5 MB, free: 4.281 MB / 330.7 MB Notification: Performance of SimCode: time 9.257e-06/0.545, allocations: 4 kB / 430.5 MB, free: 4.277 MB / 330.7 MB Notification: Performance of Templates: time 0.01543/0.5605, allocations: 8.828 MB / 439.3 MB, free: 11.46 MB / 346.7 MB