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.General.dp_pressureLossCoefficient_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.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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.209/2.209, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.769e-05, allocations: 0 / 303.2 MB, free: 13.27 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.2791, allocations: 54.86 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.4053, allocations: 83.2 MB / 441.3 MB, free: 11.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.4057, allocations: 95.94 kB / 441.4 MB, free: 11.53 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2/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.01811/0.4238, allocations: 4.156 MB / 445.5 MB, free: 7.371 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.956e-06/0.4238, allocations: 0 / 445.5 MB, free: 7.371 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.4239, allocations: 4 kB / 445.5 MB, free: 7.367 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0005766/0.4244, allocations: 430 kB / 445.9 MB, free: 6.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4245, allocations: 12.03 kB / 446 MB, free: 6.891 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008213/0.4253, allocations: 107.6 kB / 446.1 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.4256, allocations: 218.8 kB / 446.3 MB, free: 6.531 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.4257, allocations: 4 kB / 446.3 MB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.62e-05/0.4257, allocations: 8 kB / 446.3 MB, free: 6.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004399/0.4262, allocations: 191.9 kB / 446.5 MB, free: 6.332 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.4266, allocations: 197.3 kB / 446.7 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.4266, allocations: 0 / 446.7 MB, free: 6.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.4267, allocations: 4 kB / 446.7 MB, free: 6.129 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.433e-05/0.4267, allocations: 19.88 kB / 446.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.428, allocations: 0.6862 MB / 447.4 MB, free: 5.344 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.4282, allocations: 74.53 kB / 447.4 MB, free: 5.262 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.106e-05/0.4283, allocations: 32.83 kB / 447.5 MB, free: 5.227 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.4283, allocations: 8 kB / 447.5 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/0.4283, allocations: 30.56 kB / 447.5 MB, free: 5.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.121e-06/0.4284, allocations: 0 / 447.5 MB, free: 5.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003077/0.4287, allocations: 101.5 kB / 447.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.4287, allocations: 55.41 kB / 447.7 MB, free: 5.008 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.4289, allocations: 129.2 kB / 447.8 MB, free: 4.875 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.341e-05/0.4289, allocations: 25.7 kB / 447.8 MB, free: 4.844 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.429, allocations: 206.2 kB / 448 MB, free: 4.641 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.4291, allocations: 27.64 kB / 448.1 MB, free: 4.613 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.026e-05/0.4291, allocations: 0 / 448.1 MB, free: 4.613 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4293, allocations: 314.8 kB / 448.4 MB, free: 4.297 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-05/0.4294, allocations: 31.97 kB / 448.4 MB, free: 4.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.4295, allocations: 83 kB / 448.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001175/0.4296, allocations: 59.83 kB / 448.5 MB, free: 4.102 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.867e-06/0.4297, allocations: 0 / 448.5 MB, free: 4.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003327/0.43, allocations: 141.4 kB / 448.7 MB, free: 3.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.976e-05/0.43, allocations: 8 kB / 448.7 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.698e-06/0.4301, allocations: 0 / 448.7 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4301, allocations: 4 kB / 448.7 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009959/0.4311, allocations: 104.1 kB / 448.8 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.4328, allocations: 1.828 MB / 450.6 MB, free: 1.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001833/0.433, allocations: 19.92 kB / 450.6 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.551e-05/0.4331, allocations: 8 kB / 450.6 MB, free: 1.918 MB / 378.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.0001191/0.4332, allocations: 112.9 kB / 450.7 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.108e-05/0.4333, allocations: 15.84 kB / 450.8 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000398/0.4337, allocations: 146.2 kB / 450.9 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.4337, allocations: 0 / 450.9 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.4337, allocations: 0 / 450.9 MB, free: 1.637 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.26e-06/0.4337, allocations: 4 kB / 450.9 MB, free: 1.633 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.4341, allocations: 194.2 kB / 451.1 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.495e-06/0.4341, allocations: 0 / 451.1 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008401/0.4349, allocations: 96.97 kB / 451.2 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.789e-06/0.435, allocations: 0 / 451.2 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.435, allocations: 4 kB / 451.2 MB, free: 1.309 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/0.4364, allocations: 1.774 MB / 453 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.4364, allocations: 4.266 kB / 453 MB, free: 15.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003037/0.4367, allocations: 203.4 kB / 453.2 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.4368, allocations: 96.81 kB / 453.3 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.708e-05/0.4369, allocations: 0 / 453.3 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.4371, allocations: 11.98 kB / 453.3 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/0.4371, allocations: 11.98 kB / 453.3 MB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.4372, allocations: 0 / 453.3 MB, free: 15.11 MB / 394.7 MB Notification: Performance of sorting global known variables: time 9.85e-05/0.4373, allocations: 113.3 kB / 453.4 MB, free: 15 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.4373, allocations: 0 / 453.4 MB, free: 15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004442/0.4377, allocations: 51.78 kB / 453.5 MB, free: 14.95 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 () * 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.000249/0.438, allocations: 121.9 kB / 453.6 MB, free: 14.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001091/0.4391, allocations: 156.2 kB / 453.7 MB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.441e-06/0.4391, allocations: 0 / 453.7 MB, free: 14.67 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006542/0.4398, allocations: 91.84 kB / 453.8 MB, free: 14.58 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002662/0.4401, allocations: 16.42 kB / 453.8 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000591/0.4407, allocations: 234.3 kB / 454.1 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.4411, allocations: 0.7353 MB / 454.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.573e-05/0.4412, allocations: 19.42 kB / 454.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of SimCode: time 1.407e-06/0.4412, allocations: 0 / 454.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of Templates: time 0.0082/0.4494, allocations: 4.169 MB / 459 MB, free: 9.363 MB / 394.7 MB