Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.432/2.432, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004168/0.0004169, allocations: 12 kB / 315 MB, free: 9.5 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3647, allocations: 54.86 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1776/0.5424, allocations: 85.11 MB / 454.9 MB, free: 5.488 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003864/0.5428, allocations: 99.94 kB / 455 MB, free: 5.391 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.01618/0.559, allocations: 3.464 MB / 458.5 MB, free: 1.902 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.5591, allocations: 3.938 kB / 458.5 MB, free: 1.898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.5591, allocations: 0 / 458.5 MB, free: 1.898 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.0006777/0.5598, allocations: 395 kB / 458.9 MB, free: 1.465 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.5599, allocations: 12.03 kB / 458.9 MB, free: 1.453 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004229/0.5603, allocations: 47.81 kB / 458.9 MB, free: 1.406 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.5606, allocations: 187 kB / 459.1 MB, free: 1.184 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.5606, allocations: 8 kB / 459.1 MB, free: 1.176 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.398e-05/0.5606, allocations: 11.94 kB / 459.1 MB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005533/0.5612, allocations: 183.9 kB / 459.3 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.5612, allocations: 0 / 459.3 MB, free: 0.9688 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.5613, allocations: 15.94 kB / 459.3 MB, free: 0.9531 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/0.5613, allocations: 11.98 kB / 459.4 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000546/0.5619, allocations: 151.8 kB / 459.5 MB, free: 0.793 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001209/0.5631, allocations: 0.6407 MB / 460.1 MB, free: 84 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005396/0.5637, allocations: 118.6 kB / 460.3 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.5637, allocations: 0 / 460.3 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/0.5637, allocations: 34.56 kB / 460.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.5638, allocations: 0 / 460.3 MB, free: 15.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007039/0.5645, allocations: 149.8 kB / 460.4 MB, free: 15.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.675e-05/0.5645, allocations: 59.41 kB / 460.5 MB, free: 15.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.5647, allocations: 129.9 kB / 460.6 MB, free: 15.55 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.5647, allocations: 29.64 kB / 460.7 MB, free: 15.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.5648, allocations: 186.3 kB / 460.8 MB, free: 15.33 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.5649, allocations: 27.84 kB / 460.9 MB, free: 15.3 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/0.5649, allocations: 4 kB / 460.9 MB, free: 15.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.565, allocations: 318.8 kB / 461.2 MB, free: 14.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.5652, allocations: 47.91 kB / 461.2 MB, free: 14.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002448/0.5655, allocations: 95.69 kB / 461.3 MB, free: 14.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.5657, allocations: 56.03 kB / 461.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5658, allocations: 0 / 461.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005498/0.5663, allocations: 169.3 kB / 461.5 MB, free: 14.58 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.5664, allocations: 8 kB / 461.5 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.5664, allocations: 8.188 kB / 461.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.5664, allocations: 4 kB / 461.6 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.5667, allocations: 43.97 kB / 461.6 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5668, allocations: 4 kB / 461.6 MB, free: 14.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.567, allocations: 15.89 kB / 461.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.156e-05/0.567, allocations: 11.95 kB / 461.6 MB, free: 14.49 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.0001642/0.5672, allocations: 141.6 kB / 461.8 MB, free: 14.34 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.5672, allocations: 7.906 kB / 461.8 MB, free: 14.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.5677, allocations: 129.9 kB / 461.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.5678, allocations: 4 kB / 461.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.5678, allocations: 3.938 kB / 461.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.5678, allocations: 3.984 kB / 461.9 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002857/0.5681, allocations: 197.6 kB / 462.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.5681, allocations: 0 / 462.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.5684, allocations: 31.98 kB / 462.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.5684, allocations: 3.984 kB / 462.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.5684, allocations: 0 / 462.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.5684, allocations: 0 / 462.1 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5684, allocations: 8 kB / 462.2 MB, free: 13.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004891/0.5689, allocations: 211.4 kB / 462.4 MB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.347e-05/0.569, allocations: 85.02 kB / 462.4 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.167e-05/0.569, allocations: 11.98 kB / 462.5 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.5692, allocations: 15.94 kB / 462.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.5693, allocations: 3.984 kB / 462.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.5693, allocations: 4 kB / 462.5 MB, free: 13.54 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.525e-05/0.5694, allocations: 91.27 kB / 462.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.5694, allocations: 0 / 462.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000351/0.5698, allocations: 27.94 kB / 462.6 MB, free: 13.43 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.0001989/0.57, allocations: 143.1 kB / 462.7 MB, free: 13.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004872/0.5705, allocations: 104.3 kB / 462.8 MB, free: 13.17 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.5705, allocations: 0 / 462.8 MB, free: 13.17 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.5707, allocations: 47.95 kB / 462.9 MB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/0.5709, allocations: 11.95 kB / 462.9 MB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006806/0.5716, allocations: 331.7 kB / 463.2 MB, free: 12.76 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.572, allocations: 0.7121 MB / 463.9 MB, free: 12.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.345e-05/0.572, allocations: 15.42 kB / 463.9 MB, free: 12 MB / 394.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5721, allocations: 0 / 463.9 MB, free: 12 MB / 394.7 MB Notification: Performance of Templates: time 0.004286/0.5764, allocations: 1.476 MB / 465.4 MB, free: 10.54 MB / 394.7 MB