Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.42/2.42, allocations: 234.9 MB / 250.5 MB, free: 9.453 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004365/0.0004366, allocations: 15.98 kB / 314.4 MB, free: 9.434 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2754, allocations: 54.85 MB / 369.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.4031, allocations: 85.13 MB / 454.4 MB, free: 5.441 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003144/0.4035, allocations: 95.92 kB / 454.5 MB, free: 5.348 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.01484/0.4183, allocations: 3.464 MB / 458 MB, free: 1.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.599e-06/0.4184, allocations: 0 / 458 MB, free: 1.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.4184, allocations: 0 / 458 MB, free: 1.863 MB / 378.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.0006117/0.419, allocations: 395 kB / 458.4 MB, free: 1.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.4191, allocations: 12.03 kB / 458.4 MB, free: 1.418 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000353/0.4194, allocations: 43.81 kB / 458.4 MB, free: 1.375 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000212/0.4197, allocations: 183 kB / 458.6 MB, free: 1.156 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.4197, allocations: 11.94 kB / 458.6 MB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.705e-05/0.4197, allocations: 8 kB / 458.6 MB, free: 1.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004521/0.4202, allocations: 183.9 kB / 458.8 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.4202, allocations: 3.984 kB / 458.8 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.786e-05/0.4203, allocations: 15.98 kB / 458.8 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.639e-05/0.4203, allocations: 7.984 kB / 458.8 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004332/0.4208, allocations: 151.7 kB / 459 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.4219, allocations: 0.6407 MB / 459.6 MB, free: 56 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004323/0.4223, allocations: 122.6 kB / 459.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.4224, allocations: 0 / 459.7 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.4224, allocations: 34.56 kB / 459.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.4224, allocations: 0 / 459.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.000567/0.423, allocations: 149.5 kB / 459.9 MB, free: 15.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.4231, allocations: 63.34 kB / 460 MB, free: 15.66 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.4232, allocations: 117.1 kB / 460.1 MB, free: 15.53 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.4232, allocations: 29.7 kB / 460.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.4234, allocations: 190.3 kB / 460.3 MB, free: 15.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.4234, allocations: 27.8 kB / 460.3 MB, free: 15.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.577e-06/0.4234, allocations: 0 / 460.3 MB, free: 15.28 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4236, allocations: 322.8 kB / 460.6 MB, free: 14.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.4238, allocations: 47.91 kB / 460.7 MB, free: 14.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001966/0.424, allocations: 91.69 kB / 460.8 MB, free: 14.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.4242, allocations: 56.28 kB / 460.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.129e-06/0.4242, allocations: 0 / 460.8 MB, free: 14.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000461/0.4247, allocations: 173.3 kB / 461 MB, free: 14.56 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4247, allocations: 11.98 kB / 461 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.279e-06/0.4248, allocations: 256 / 461 MB, free: 14.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.4248, allocations: 8 kB / 461 MB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.425, allocations: 35.98 kB / 461.1 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.299e-05/0.4251, allocations: 7.984 kB / 461.1 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.4252, allocations: 19.91 kB / 461.1 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.711e-05/0.4252, allocations: 4 kB / 461.1 MB, free: 14.47 MB / 394.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 () * Number of clocked 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 0.0001569/0.4254, allocations: 137.7 kB / 461.2 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.387e-05/0.4255, allocations: 7.906 kB / 461.2 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004275/0.4259, allocations: 133.9 kB / 461.4 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.302e-06/0.4259, allocations: 0 / 461.4 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.917e-06/0.4259, allocations: 4 kB / 461.4 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.426, allocations: 0 / 461.4 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002988/0.4263, allocations: 209.5 kB / 461.6 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.366e-06/0.4263, allocations: 0 / 461.6 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.4265, allocations: 27.98 kB / 461.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.97e-06/0.4265, allocations: 0 / 461.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.4265, allocations: 4 kB / 461.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.358e-06/0.4265, allocations: 0 / 461.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.009e-06/0.4265, allocations: 4 kB / 461.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004316/0.427, allocations: 219.3 kB / 461.8 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.314e-05/0.4271, allocations: 84.95 kB / 461.9 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.508e-05/0.4271, allocations: 4 kB / 461.9 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.4273, allocations: 15.98 kB / 461.9 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.901e-05/0.4273, allocations: 7.984 kB / 461.9 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.832e-06/0.4273, allocations: 0 / 461.9 MB, free: 13.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.194e-05/0.4274, allocations: 95.27 kB / 462 MB, free: 13.43 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.78e-07/0.4274, allocations: 0 / 462 MB, free: 13.43 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003771/0.4278, allocations: 27.94 kB / 462.1 MB, free: 13.41 MB / 394.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 () * Number of clocked 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.0002051/0.4281, allocations: 131.2 kB / 462.2 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.4285, allocations: 107.8 kB / 462.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.4285, allocations: 0.5 kB / 462.3 MB, free: 13.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001674/0.4287, allocations: 51.97 kB / 462.3 MB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.4289, allocations: 7.953 kB / 462.3 MB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006659/0.4296, allocations: 331.7 kB / 462.7 MB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.43, allocations: 0.7082 MB / 463.4 MB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.045e-05/0.4301, allocations: 11.44 kB / 463.4 MB, free: 12 MB / 394.7 MB Notification: Performance of SimCode: time 1.614e-06/0.4301, allocations: 7.938 kB / 463.4 MB, free: 12 MB / 394.7 MB Notification: Performance of Templates: time 0.003837/0.4339, allocations: 1.479 MB / 464.9 MB, free: 10.53 MB / 394.7 MB