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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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 1.929/1.929, allocations: 209.2 MB / 224.8 MB, free: 176 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009237/0.0009237, allocations: 12 kB / 282.6 MB, free: 9.551 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2872, allocations: 48.7 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.4045, allocations: 78.75 MB / 410 MB, free: 15.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.4048, allocations: 99.92 kB / 410.1 MB, free: 15.58 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.01516/0.42, allocations: 3.459 MB / 413.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.203e-06/0.42, allocations: 0 / 413.6 MB, free: 12.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.4201, allocations: 4 kB / 413.6 MB, free: 12.1 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.0006074/0.4207, allocations: 397.2 kB / 414 MB, free: 11.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4207, allocations: 8.031 kB / 414 MB, free: 11.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.4211, allocations: 43.88 kB / 414 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.4214, allocations: 190.8 kB / 414.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.4214, allocations: 12 kB / 414.2 MB, free: 11.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/0.4214, allocations: 11.98 kB / 414.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004795/0.4219, allocations: 188.1 kB / 414.4 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.422, allocations: 0 / 414.4 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.422, allocations: 0 / 414.4 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/0.422, allocations: 12 kB / 414.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004343/0.4225, allocations: 143.8 kB / 414.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.4236, allocations: 0.6523 MB / 415.2 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004219/0.4241, allocations: 106.7 kB / 415.3 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.4241, allocations: 8 kB / 415.4 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.4242, allocations: 30.56 kB / 415.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.832e-06/0.4242, allocations: 0 / 415.4 MB, free: 10.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0005961/0.4248, allocations: 157.7 kB / 415.5 MB, free: 9.973 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.4249, allocations: 51.41 kB / 415.6 MB, free: 9.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.425, allocations: 121.1 kB / 415.7 MB, free: 9.781 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.425, allocations: 25.7 kB / 415.7 MB, free: 9.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.4252, allocations: 190.3 kB / 415.9 MB, free: 9.559 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.139e-05/0.4252, allocations: 23.7 kB / 415.9 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.461e-06/0.4252, allocations: 0 / 415.9 MB, free: 9.535 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.4254, allocations: 318.8 kB / 416.3 MB, free: 9.215 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.4256, allocations: 47.89 kB / 416.3 MB, free: 9.168 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.4258, allocations: 100.9 kB / 416.4 MB, free: 9.043 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/0.426, allocations: 55.95 kB / 416.5 MB, free: 8.988 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.426, allocations: 4 kB / 416.5 MB, free: 8.984 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004655/0.4265, allocations: 169.8 kB / 416.6 MB, free: 8.812 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.4266, allocations: 12.03 kB / 416.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.579e-06/0.4266, allocations: 0 / 416.6 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.4266, allocations: 4 kB / 416.6 MB, free: 8.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.4268, allocations: 43.91 kB / 416.7 MB, free: 8.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.4269, allocations: 8.062 kB / 416.7 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.427, allocations: 15.89 kB / 416.7 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.252e-05/0.4271, allocations: 12 kB / 416.7 MB, free: 8.719 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 () * 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.0001457/0.4272, allocations: 133.7 kB / 416.8 MB, free: 8.578 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.4273, allocations: 11.86 kB / 416.9 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004301/0.4277, allocations: 130 kB / 417 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.626e-06/0.4277, allocations: 0 / 417 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/0.4278, allocations: 3.984 kB / 417 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.4278, allocations: 0 / 417 MB, free: 8.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002975/0.4281, allocations: 197.6 kB / 417.2 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4281, allocations: 0 / 417.2 MB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.4283, allocations: 35.91 kB / 417.2 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.4283, allocations: 0 / 417.2 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.4283, allocations: 3.953 kB / 417.2 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.799e-06/0.4284, allocations: 4 kB / 417.2 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.4284, allocations: 4 kB / 417.2 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.4288, allocations: 211.4 kB / 417.4 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.461e-05/0.4289, allocations: 96.98 kB / 417.5 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.209e-05/0.4289, allocations: 0 / 417.5 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.4291, allocations: 15.95 kB / 417.5 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.4291, allocations: 3.984 kB / 417.5 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.4292, allocations: 8 kB / 417.6 MB, free: 7.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.702e-05/0.4293, allocations: 95.27 kB / 417.6 MB, free: 7.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-07/0.4293, allocations: 0 / 417.6 MB, free: 7.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.4297, allocations: 27.94 kB / 417.7 MB, free: 7.656 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 () * 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.0002118/0.4299, allocations: 135.1 kB / 417.8 MB, free: 7.516 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003943/0.4303, allocations: 108.4 kB / 417.9 MB, free: 7.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.4303, allocations: 0 / 417.9 MB, free: 7.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.4305, allocations: 51.89 kB / 418 MB, free: 7.359 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.4307, allocations: 4 kB / 418 MB, free: 7.355 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006532/0.4314, allocations: 331.9 kB / 418.3 MB, free: 6.996 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.4318, allocations: 0.7121 MB / 419 MB, free: 6.258 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.4319, allocations: 11.44 kB / 419 MB, free: 6.246 MB / 346.7 MB Notification: Performance of SimCode: time 1.583e-06/0.4319, allocations: 7.938 kB / 419 MB, free: 6.238 MB / 346.7 MB Notification: Performance of Templates: time 0.0038/0.4357, allocations: 1.476 MB / 420.5 MB, free: 4.77 MB / 346.7 MB