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.164/2.164, allocations: 235 MB / 248.1 MB, free: 14.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.665e-05/2.676e-05, allocations: 0 / 309.7 MB, free: 1.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3964/0.3964, allocations: 54.85 MB / 364.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1282/0.5247, allocations: 85.05 MB / 449.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.5251, allocations: 91.94 kB / 449.7 MB, free: 11.38 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.01514/0.5402, allocations: 3.451 MB / 453.1 MB, free: 7.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.051e-06/0.5403, allocations: 0 / 453.1 MB, free: 7.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.5403, allocations: 4 kB / 453.1 MB, free: 7.941 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.0005888/0.5409, allocations: 398.1 kB / 453.5 MB, free: 7.508 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.541, allocations: 9.062 kB / 453.5 MB, free: 7.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003807/0.5414, allocations: 43.81 kB / 453.6 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.5416, allocations: 186.9 kB / 453.8 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.5416, allocations: 4 kB / 453.8 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.09e-05/0.5417, allocations: 8 kB / 453.8 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.5421, allocations: 167.9 kB / 453.9 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.963e-06/0.5421, allocations: 0 / 453.9 MB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.5421, allocations: 11.98 kB / 454 MB, free: 7.031 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.436e-05/0.5422, allocations: 11.98 kB / 454 MB, free: 7.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002571/0.5424, allocations: 107.9 kB / 454.1 MB, free: 6.914 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001123/0.5436, allocations: 0.6484 MB / 454.7 MB, free: 6.195 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003248/0.5439, allocations: 94.66 kB / 454.8 MB, free: 6.094 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.083e-05/0.544, allocations: 33.81 kB / 454.9 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.821e-05/0.5441, allocations: 0 / 454.9 MB, free: 6.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.963e-05/0.5441, allocations: 30.56 kB / 454.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.985e-06/0.5441, allocations: 0 / 454.9 MB, free: 6.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002675/0.5444, allocations: 85.52 kB / 455 MB, free: 5.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.5445, allocations: 51.41 kB / 455 MB, free: 5.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001276/0.5446, allocations: 117.2 kB / 455.1 MB, free: 5.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.5446, allocations: 25.7 kB / 455.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.5448, allocations: 198.4 kB / 455.3 MB, free: 5.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.5448, allocations: 31.62 kB / 455.4 MB, free: 5.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.949e-06/0.5448, allocations: 4 kB / 455.4 MB, free: 5.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.545, allocations: 310.8 kB / 455.7 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-05/0.5451, allocations: 27.98 kB / 455.7 MB, free: 5.137 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.5452, allocations: 93.14 kB / 455.8 MB, free: 5.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.5453, allocations: 27.98 kB / 455.8 MB, free: 4.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.174e-06/0.5454, allocations: 0 / 455.8 MB, free: 4.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003042/0.5457, allocations: 138.1 kB / 456 MB, free: 4.852 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.5457, allocations: 4 kB / 456 MB, free: 4.848 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.5457, allocations: 4 kB / 456 MB, free: 4.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.5458, allocations: 4 kB / 456 MB, free: 4.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002737/0.546, allocations: 48.16 kB / 456 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.5461, allocations: 8 kB / 456 MB, free: 4.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.5462, allocations: 8 kB / 456 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.5463, allocations: 11.94 kB / 456.1 MB, free: 4.766 MB / 378.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 0.0001016/0.5464, allocations: 116.9 kB / 456.2 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.5464, allocations: 11.89 kB / 456.2 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.5467, allocations: 98.42 kB / 456.3 MB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.396e-06/0.5467, allocations: 8 kB / 456.3 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.964e-06/0.5468, allocations: 0 / 456.3 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.5468, allocations: 0 / 456.3 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.5471, allocations: 206.3 kB / 456.5 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.96e-06/0.5471, allocations: 0 / 456.5 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.5473, allocations: 27.98 kB / 456.5 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.923e-06/0.5473, allocations: 0 / 456.5 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.5474, allocations: 4 kB / 456.5 MB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.743e-06/0.5474, allocations: 7.938 kB / 456.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.191e-06/0.5474, allocations: 4 kB / 456.5 MB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.5477, allocations: 183.5 kB / 456.7 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.031e-05/0.5477, allocations: 81.02 kB / 456.8 MB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.5478, allocations: 4 kB / 456.8 MB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.5479, allocations: 15.92 kB / 456.8 MB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.548, allocations: 4 kB / 456.8 MB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.721e-06/0.548, allocations: 4 kB / 456.8 MB, free: 3.906 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.522e-05/0.5481, allocations: 100 kB / 456.9 MB, free: 3.809 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.64e-07/0.5481, allocations: 3.938 kB / 456.9 MB, free: 3.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003859/0.5485, allocations: 31.84 kB / 456.9 MB, free: 3.773 MB / 378.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.0002047/0.5487, allocations: 134.3 kB / 457.1 MB, free: 3.637 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.549, allocations: 72.36 kB / 457.1 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.56e-06/0.549, allocations: 0 / 457.1 MB, free: 3.566 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.1e-05/0.5491, allocations: 31.92 kB / 457.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.5493, allocations: 7.953 kB / 457.2 MB, free: 3.527 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.5498, allocations: 160.6 kB / 457.3 MB, free: 3.344 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003997/0.5502, allocations: 0.716 MB / 458.1 MB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.5502, allocations: 15.44 kB / 458.1 MB, free: 2.586 MB / 378.7 MB Notification: Performance of SimCode: time 1.793e-06/0.5503, allocations: 4.062 kB / 458.1 MB, free: 2.582 MB / 378.7 MB Notification: Performance of Templates: time 0.003824/0.5541, allocations: 1.466 MB / 459.5 MB, free: 1.125 MB / 378.7 MB