Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.985/1.985, allocations: 209.2 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005972/0.0005973, allocations: 23.94 kB / 283.1 MB, free: 9.664 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3459, allocations: 48.69 MB / 331.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.487, allocations: 78.75 MB / 410.6 MB, free: 15.7 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003756/0.4874, allocations: 99.94 kB / 410.7 MB, free: 15.6 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.0164/0.5038, allocations: 3.459 MB / 414.1 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5038, allocations: 4 kB / 414.1 MB, free: 12.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.929e-06/0.5039, allocations: 0 / 414.1 MB, free: 12.12 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.0006771/0.5046, allocations: 391.1 kB / 414.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.135e-05/0.5046, allocations: 8.031 kB / 414.5 MB, free: 11.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004224/0.505, allocations: 47.86 kB / 414.6 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.5053, allocations: 186.8 kB / 414.8 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.952e-05/0.5053, allocations: 12 kB / 414.8 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.5054, allocations: 12 kB / 414.8 MB, free: 11.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005603/0.5059, allocations: 176.1 kB / 414.9 MB, free: 11.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.506, allocations: 7.875 kB / 415 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.506, allocations: 15.92 kB / 415 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.491e-05/0.5061, allocations: 11.98 kB / 415 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005474/0.5066, allocations: 139.9 kB / 415.1 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001257/0.5079, allocations: 0.6406 MB / 415.8 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005403/0.5085, allocations: 122.6 kB / 415.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.5085, allocations: 0 / 415.9 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.5085, allocations: 30.56 kB / 415.9 MB, free: 10.16 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.724e-06/0.5086, allocations: 4 kB / 415.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007194/0.5093, allocations: 149.5 kB / 416.1 MB, free: 10 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.5093, allocations: 55.41 kB / 416.1 MB, free: 9.934 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001777/0.5095, allocations: 130 kB / 416.2 MB, free: 9.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.5096, allocations: 25.7 kB / 416.3 MB, free: 9.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.5097, allocations: 190.5 kB / 416.5 MB, free: 9.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.5097, allocations: 23.7 kB / 416.5 MB, free: 9.547 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.5098, allocations: 4 kB / 416.5 MB, free: 9.543 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.5099, allocations: 314.8 kB / 416.8 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.5101, allocations: 47.91 kB / 416.8 MB, free: 9.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002542/0.5104, allocations: 99.62 kB / 416.9 MB, free: 9.055 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.5106, allocations: 55.91 kB / 417 MB, free: 9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/0.5107, allocations: 0 / 417 MB, free: 9 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005825/0.5113, allocations: 173.3 kB / 417.2 MB, free: 8.824 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.5113, allocations: 4 kB / 417.2 MB, free: 8.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.5113, allocations: 4 kB / 417.2 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/0.5113, allocations: 4.25 kB / 417.2 MB, free: 8.812 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003224/0.5117, allocations: 51.91 kB / 417.2 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.5117, allocations: 4.391 kB / 417.2 MB, free: 8.758 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.5119, allocations: 15.89 kB / 417.2 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.5119, allocations: 11.98 kB / 417.2 MB, free: 8.73 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.0001441/0.5121, allocations: 129.8 kB / 417.4 MB, free: 8.594 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.283e-05/0.5121, allocations: 19.8 kB / 417.4 MB, free: 8.574 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005314/0.5127, allocations: 130 kB / 417.5 MB, free: 8.441 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5127, allocations: 4 kB / 417.5 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.5127, allocations: 3.938 kB / 417.5 MB, free: 8.434 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.5127, allocations: 7.984 kB / 417.5 MB, free: 8.426 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.513, allocations: 189.6 kB / 417.7 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.513, allocations: 0 / 417.7 MB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002632/0.5133, allocations: 27.98 kB / 417.7 MB, free: 8.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.5133, allocations: 7.938 kB / 417.8 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.5134, allocations: 4 kB / 417.8 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5134, allocations: 0 / 417.8 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5134, allocations: 3.938 kB / 417.8 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005361/0.5139, allocations: 223.3 kB / 418 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.514, allocations: 85.02 kB / 418.1 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.5141, allocations: 11.94 kB / 418.1 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.5142, allocations: 12 kB / 418.1 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/0.5143, allocations: 7.984 kB / 418.1 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.5143, allocations: 4 kB / 418.1 MB, free: 7.777 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.666e-05/0.5144, allocations: 91.27 kB / 418.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5144, allocations: 0 / 418.2 MB, free: 7.688 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003668/0.5148, allocations: 27.94 kB / 418.2 MB, free: 7.66 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.0002038/0.515, allocations: 123.2 kB / 418.3 MB, free: 7.531 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000509/0.5155, allocations: 103.8 kB / 418.4 MB, free: 7.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5156, allocations: 4 kB / 418.4 MB, free: 7.426 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002224/0.5158, allocations: 52.39 kB / 418.5 MB, free: 7.375 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.516, allocations: 12 kB / 418.5 MB, free: 7.363 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006865/0.5167, allocations: 323.4 kB / 418.8 MB, free: 7.012 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003494/0.5171, allocations: 0.7199 MB / 419.5 MB, free: 6.266 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.525e-05/0.5172, allocations: 15.42 kB / 419.6 MB, free: 6.25 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.5172, allocations: 0 / 419.6 MB, free: 6.25 MB / 346.7 MB Notification: Performance of Templates: time 0.004713/0.5219, allocations: 1.483 MB / 421 MB, free: 4.77 MB / 346.7 MB