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.General.dp_pressureLossCoefficient_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|zeta_TOT.1.|zeta_TOT.2.|zeta_TOT.3.|rho|input_mdot.1.|input_mdot.2.|input_mdot.3.|input_dp.1.|input_dp.2.|input_dp.3.|M_FLOW.1.|M_FLOW.2.|M_FLOW.3.|DP.1.|DP.2.|DP.3.|DP_plot.1.|DP_plot.2.|DP_plot.3.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.096/2.096, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.655e-05, allocations: 4 kB / 271.3 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2637, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.382, allocations: 76.77 MB / 396.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/0.3824, allocations: 99.92 kB / 396.9 MB, free: 3.574 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01833/0.4007, allocations: 4.164 MB / 401.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.001e-06/0.4007, allocations: 0 / 401.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.889e-06/0.4008, allocations: 0 / 401.1 MB, free: 15.41 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005804/0.4014, allocations: 425.9 kB / 401.5 MB, free: 14.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.4014, allocations: 12.03 kB / 401.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008353/0.4023, allocations: 103.7 kB / 401.6 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/0.4026, allocations: 218.8 kB / 401.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.4026, allocations: 7.938 kB / 401.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.328e-05/0.4027, allocations: 8 kB / 401.8 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004447/0.4031, allocations: 195.9 kB / 402 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.4035, allocations: 193.4 kB / 402.2 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.4036, allocations: 7.984 kB / 402.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.4036, allocations: 0 / 402.2 MB, free: 14.17 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.08e-05/0.4036, allocations: 12 kB / 402.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001337/0.405, allocations: 0.6871 MB / 402.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.4052, allocations: 74.47 kB / 403 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.556e-05/0.4053, allocations: 36.83 kB / 403 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.4053, allocations: 7.938 kB / 403 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.4054, allocations: 30.56 kB / 403.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.374e-06/0.4054, allocations: 0 / 403.1 MB, free: 13.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003176/0.4057, allocations: 97.5 kB / 403.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.4058, allocations: 59.41 kB / 403.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.4059, allocations: 122.2 kB / 403.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.406, allocations: 25.7 kB / 403.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.4061, allocations: 214.2 kB / 403.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.696e-05/0.4062, allocations: 27.55 kB / 403.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.081e-05/0.4062, allocations: 0 / 403.6 MB, free: 12.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4064, allocations: 314.8 kB / 403.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.4065, allocations: 31.97 kB / 403.9 MB, free: 12.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.4066, allocations: 91.91 kB / 404 MB, free: 12.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.4067, allocations: 48.09 kB / 404.1 MB, free: 12.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.994e-06/0.4068, allocations: 4 kB / 404.1 MB, free: 12.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003257/0.4071, allocations: 133.5 kB / 404.2 MB, free: 12.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.4071, allocations: 8.781 kB / 404.2 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.194e-06/0.4071, allocations: 0 / 404.2 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.4072, allocations: 15.94 kB / 404.2 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.4082, allocations: 112 kB / 404.3 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001763/0.41, allocations: 1.824 MB / 406.2 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001862/0.4102, allocations: 15.94 kB / 406.2 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.4102, allocations: 7.984 kB / 406.2 MB, free: 9.957 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001234/0.4103, allocations: 120 kB / 406.3 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.898e-05/0.4104, allocations: 7.906 kB / 406.3 MB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003991/0.4108, allocations: 138.1 kB / 406.4 MB, free: 9.688 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.4108, allocations: 7.953 kB / 406.4 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.372e-06/0.4109, allocations: 0 / 406.4 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.52e-06/0.4109, allocations: 7.984 kB / 406.5 MB, free: 9.672 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003151/0.4112, allocations: 194.1 kB / 406.6 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-06/0.4112, allocations: 0 / 406.6 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008361/0.4121, allocations: 89.02 kB / 406.7 MB, free: 9.359 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/0.4121, allocations: 7.984 kB / 406.7 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.4121, allocations: 7.938 kB / 406.7 MB, free: 9.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.4136, allocations: 1.77 MB / 408.5 MB, free: 7.504 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-06/0.4136, allocations: 3.938 kB / 408.5 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003094/0.4139, allocations: 211.3 kB / 408.7 MB, free: 7.277 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.414, allocations: 85.02 kB / 408.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.414, allocations: 0 / 408.8 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.4142, allocations: 11.98 kB / 408.8 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.4143, allocations: 8.078 kB / 408.8 MB, free: 7.156 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.4143, allocations: 8 kB / 408.8 MB, free: 7.148 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.864e-05/0.4144, allocations: 108.6 kB / 408.9 MB, free: 7.043 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.4144, allocations: 0 / 408.9 MB, free: 7.043 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004422/0.4149, allocations: 47.84 kB / 409 MB, free: 6.996 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * 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): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000238/0.4151, allocations: 123.2 kB / 409.1 MB, free: 6.867 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/0.4162, allocations: 166.1 kB / 409.3 MB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.9e-06/0.4162, allocations: 0 / 409.3 MB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006514/0.4169, allocations: 87.84 kB / 409.4 MB, free: 6.621 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.4172, allocations: 29.34 kB / 409.4 MB, free: 6.594 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.4178, allocations: 222.4 kB / 409.6 MB, free: 6.348 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004693/0.4183, allocations: 0.7392 MB / 410.3 MB, free: 5.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.4184, allocations: 15.44 kB / 410.4 MB, free: 5.566 MB / 346.7 MB Notification: Performance of SimCode: time 1.439e-06/0.4184, allocations: 4 kB / 410.4 MB, free: 5.562 MB / 346.7 MB Notification: Performance of Templates: time 0.008232/0.4267, allocations: 4.17 MB / 414.5 MB, free: 1.402 MB / 346.7 MB