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_laminar_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_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.055/2.055, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.876e-05/1.882e-05, allocations: 4 kB / 271.4 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2617, allocations: 48.69 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1196/0.3814, allocations: 77.98 MB / 398 MB, free: 2.441 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.3817, allocations: 103.9 kB / 398.1 MB, free: 2.34 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01475/0.3965, allocations: 3.404 MB / 401.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.808e-06/0.3965, allocations: 0 / 401.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.124e-06/0.3965, allocations: 0 / 401.5 MB, free: 14.91 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000559/0.3971, allocations: 400.3 kB / 401.9 MB, free: 14.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.3972, allocations: 8.031 kB / 401.9 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003414/0.3975, allocations: 31.88 kB / 402 MB, free: 14.44 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.3978, allocations: 198.8 kB / 402.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3978, allocations: 4 kB / 402.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.3978, allocations: 4 kB / 402.2 MB, free: 14.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002452/0.3981, allocations: 87.95 kB / 402.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003316/0.3985, allocations: 153.2 kB / 402.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3985, allocations: 3.938 kB / 402.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.3985, allocations: 0 / 402.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.3986, allocations: 15.97 kB / 402.4 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.3996, allocations: 0.61 MB / 403 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.3999, allocations: 98.66 kB / 403.1 MB, free: 13.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.457e-05/0.4, allocations: 20.86 kB / 403.1 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.4, allocations: 0 / 403.1 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/0.4001, allocations: 42.5 kB / 403.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.941e-06/0.4001, allocations: 0 / 403.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002457/0.4004, allocations: 81.72 kB / 403.3 MB, free: 13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.4004, allocations: 51.41 kB / 403.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.4005, allocations: 114.8 kB / 403.4 MB, free: 12.81 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.4006, allocations: 25.7 kB / 403.4 MB, free: 12.78 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001195/0.4007, allocations: 190.3 kB / 403.6 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.4008, allocations: 27.64 kB / 403.7 MB, free: 12.56 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.216e-06/0.4008, allocations: 0 / 403.7 MB, free: 12.56 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.4009, allocations: 314.8 kB / 404 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.255e-05/0.401, allocations: 24 kB / 404 MB, free: 12.22 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.4011, allocations: 83.59 kB / 404.1 MB, free: 12.11 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.235e-05/0.4012, allocations: 36.03 kB / 404.1 MB, free: 12.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.013e-06/0.4012, allocations: 4 kB / 404.1 MB, free: 12.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002647/0.4015, allocations: 113.4 kB / 404.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.4016, allocations: 16.67 kB / 404.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.561e-06/0.4016, allocations: 0 / 404.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.4016, allocations: 4 kB / 404.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002408/0.4019, allocations: 52.09 kB / 404.3 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.4019, allocations: 4 kB / 404.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/0.402, allocations: 15.89 kB / 404.3 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.4021, allocations: 12 kB / 404.3 MB, free: 11.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.51e-05/0.4022, allocations: 108.9 kB / 404.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.4022, allocations: 4 kB / 404.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002345/0.4025, allocations: 102.2 kB / 404.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.036e-06/0.4025, allocations: 0 / 404.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.336e-06/0.4025, allocations: 0 / 404.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.785e-06/0.4025, allocations: 0 / 404.5 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.4028, allocations: 166.1 kB / 404.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.456e-06/0.4028, allocations: 3.938 kB / 404.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001875/0.403, allocations: 31.97 kB / 404.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.699e-06/0.403, allocations: 0 / 404.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.403, allocations: 4 kB / 404.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.123e-06/0.403, allocations: 0 / 404.7 MB, free: 11.4 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.96e-06/0.4031, allocations: 7.953 kB / 404.7 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.4033, allocations: 175.4 kB / 404.9 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.4034, allocations: 85.09 kB / 405 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.4034, allocations: 0 / 405 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.4036, allocations: 4 kB / 405 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.4036, allocations: 15.94 kB / 405 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.4036, allocations: 8 kB / 405 MB, free: 11.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.164e-05/0.4037, allocations: 91.77 kB / 405.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.748e-06/0.4037, allocations: 0 / 405.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003792/0.4041, allocations: 31.78 kB / 405.1 MB, free: 10.95 MB / 346.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001788/0.4043, allocations: 116.1 kB / 405.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.4045, allocations: 68.22 kB / 405.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.1e-06/0.4045, allocations: 4 kB / 405.3 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.871e-05/0.4046, allocations: 27.94 kB / 405.4 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.4048, allocations: 13.34 kB / 405.4 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004024/0.4053, allocations: 170.2 kB / 405.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.4057, allocations: 0.708 MB / 406.2 MB, free: 9.789 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.4057, allocations: 19.62 kB / 406.3 MB, free: 9.77 MB / 346.7 MB Notification: Performance of SimCode: time 1.43e-06/0.4057, allocations: 0 / 406.3 MB, free: 9.77 MB / 346.7 MB Notification: Performance of Templates: time 0.003654/0.4094, allocations: 1.447 MB / 407.7 MB, free: 8.328 MB / 346.7 MB