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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.29/2.29, allocations: 235.1 MB / 243 MB, free: 9.5 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.629e-05/1.645e-05, allocations: 0 / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2742, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.4598, allocations: 84.37 MB / 442.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/0.4601, allocations: 91.94 kB / 442.5 MB, free: 10.36 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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.01556/0.4757, allocations: 3.408 MB / 445.9 MB, free: 6.93 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.032e-06/0.4757, allocations: 4 kB / 445.9 MB, free: 6.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.284e-06/0.4758, allocations: 3.938 kB / 445.9 MB, free: 6.922 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.0005868/0.4764, allocations: 401.9 kB / 446.3 MB, free: 6.488 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.4764, allocations: 8.031 kB / 446.3 MB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003512/0.4768, allocations: 39.83 kB / 446.4 MB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.4771, allocations: 186.9 kB / 446.6 MB, free: 6.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.094e-05/0.4771, allocations: 4 kB / 446.6 MB, free: 6.215 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.505e-05/0.4771, allocations: 7.984 kB / 446.6 MB, free: 6.207 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002586/0.4774, allocations: 91.89 kB / 446.7 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000308/0.4777, allocations: 156 kB / 446.8 MB, free: 5.949 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.4777, allocations: 3.938 kB / 446.8 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.828e-05/0.4778, allocations: 0 / 446.8 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.4778, allocations: 15.94 kB / 446.8 MB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/0.4789, allocations: 0.6061 MB / 447.4 MB, free: 5.266 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.4792, allocations: 94.62 kB / 447.5 MB, free: 5.164 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.618e-05/0.4793, allocations: 28.94 kB / 447.6 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.4794, allocations: 0 / 447.6 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.4794, allocations: 30.56 kB / 447.6 MB, free: 5.094 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.961e-06/0.4794, allocations: 0 / 447.6 MB, free: 5.094 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002458/0.4797, allocations: 81.52 kB / 447.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.4797, allocations: 55.41 kB / 447.7 MB, free: 4.941 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.4799, allocations: 109.2 kB / 447.8 MB, free: 4.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.4799, allocations: 25.7 kB / 447.9 MB, free: 4.793 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.48, allocations: 194.3 kB / 448 MB, free: 4.598 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.4801, allocations: 23.64 kB / 448.1 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.18e-06/0.4801, allocations: 0 / 448.1 MB, free: 4.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4803, allocations: 318.8 kB / 448.4 MB, free: 4.254 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/0.4803, allocations: 19.98 kB / 448.4 MB, free: 4.234 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.4805, allocations: 87.81 kB / 448.5 MB, free: 4.121 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.861e-05/0.4806, allocations: 39.98 kB / 448.5 MB, free: 4.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.102e-06/0.4806, allocations: 0 / 448.5 MB, free: 4.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002741/0.4809, allocations: 113.5 kB / 448.6 MB, free: 3.965 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/0.4809, allocations: 11.98 kB / 448.6 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.4809, allocations: 0 / 448.6 MB, free: 3.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4809, allocations: 7.984 kB / 448.7 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002493/0.4812, allocations: 44.17 kB / 448.7 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.4812, allocations: 7.984 kB / 448.7 MB, free: 3.895 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001454/0.4814, allocations: 11.91 kB / 448.7 MB, free: 3.883 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.4814, allocations: 8 kB / 448.7 MB, free: 3.875 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.0001115/0.4816, allocations: 116.8 kB / 448.8 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/0.4816, allocations: 11.84 kB / 448.8 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.4819, allocations: 94.27 kB / 448.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.4819, allocations: 3.938 kB / 448.9 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.4819, allocations: 0 / 448.9 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.4819, allocations: 0 / 448.9 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002647/0.4822, allocations: 178 kB / 449.1 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4822, allocations: 0 / 449.1 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001944/0.4824, allocations: 31.92 kB / 449.2 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.693e-06/0.4824, allocations: 7.984 kB / 449.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.4825, allocations: 0 / 449.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.482e-06/0.4825, allocations: 0 / 449.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.45e-06/0.4825, allocations: 0 / 449.2 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.4827, allocations: 171.5 kB / 449.3 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.4828, allocations: 88.97 kB / 449.4 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.4829, allocations: 0 / 449.4 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.483, allocations: 11.98 kB / 449.4 MB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.4831, allocations: 7.984 kB / 449.4 MB, free: 3.086 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.4831, allocations: 4 kB / 449.4 MB, free: 3.082 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.872e-05/0.4832, allocations: 87.78 kB / 449.5 MB, free: 2.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-07/0.4832, allocations: 0 / 449.5 MB, free: 2.996 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003827/0.4836, allocations: 31.84 kB / 449.6 MB, free: 2.965 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.0002072/0.4838, allocations: 129.8 kB / 449.7 MB, free: 2.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001951/0.484, allocations: 63.92 kB / 449.7 MB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.637e-06/0.484, allocations: 0 / 449.7 MB, free: 2.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.577e-05/0.4841, allocations: 35.92 kB / 449.8 MB, free: 2.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.4843, allocations: 8 kB / 449.8 MB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004154/0.4848, allocations: 154.3 kB / 449.9 MB, free: 2.543 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.4852, allocations: 0.7162 MB / 450.7 MB, free: 1.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.276e-05/0.4853, allocations: 15.44 kB / 450.7 MB, free: 1.785 MB / 378.7 MB Notification: Performance of SimCode: time 1.448e-06/0.4853, allocations: 4 kB / 450.7 MB, free: 1.781 MB / 378.7 MB Notification: Performance of Templates: time 0.003833/0.4891, allocations: 1.465 MB / 452.1 MB, free: 328 kB / 378.7 MB