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.General.dp_pressureLossCoefficient_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.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.522/2.522, allocations: 234.9 MB / 251.1 MB, free: 9.469 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000737/0.0007373, allocations: 12 kB / 315 MB, free: 9.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3958, allocations: 54.87 MB / 369.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1716/0.5675, allocations: 83.95 MB / 453.8 MB, free: 6.629 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003903/0.568, allocations: 103.9 kB / 453.9 MB, free: 6.527 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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.02071/0.5887, allocations: 4.21 MB / 458.1 MB, free: 2.312 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.5887, allocations: 0 / 458.1 MB, free: 2.312 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.5888, allocations: 0 / 458.1 MB, free: 2.312 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.0007233/0.5895, allocations: 442.8 kB / 458.5 MB, free: 1.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.5896, allocations: 8.031 kB / 458.5 MB, free: 1.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.5907, allocations: 107.6 kB / 458.6 MB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.5911, allocations: 210.8 kB / 458.8 MB, free: 1.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.5911, allocations: 16 kB / 458.9 MB, free: 1.457 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.5912, allocations: 15.98 kB / 458.9 MB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007555/0.5919, allocations: 237.3 kB / 459.1 MB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.592, allocations: 0 / 459.1 MB, free: 1.203 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.592, allocations: 7.938 kB / 459.1 MB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.592, allocations: 12 kB / 459.1 MB, free: 1.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007852/0.5928, allocations: 239.7 kB / 459.4 MB, free: 0.9492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.5946, allocations: 0.744 MB / 460.1 MB, free: 116 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003567/0.595, allocations: 90.5 kB / 460.2 MB, free: 16 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.595, allocations: 4 kB / 460.2 MB, free: 12 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.881e-05/0.5951, allocations: 38.55 kB / 460.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.635e-06/0.5951, allocations: 0 / 460.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008753/0.596, allocations: 189.3 kB / 460.4 MB, free: 15.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.596, allocations: 51.41 kB / 460.5 MB, free: 15.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00027/0.5963, allocations: 183.3 kB / 460.7 MB, free: 15.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.5964, allocations: 25.7 kB / 460.7 MB, free: 15.49 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001261/0.5965, allocations: 205.9 kB / 460.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.5966, allocations: 27.8 kB / 460.9 MB, free: 15.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.356e-05/0.5966, allocations: 0 / 460.9 MB, free: 15.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.5967, allocations: 326.8 kB / 461.2 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.597, allocations: 51.95 kB / 461.3 MB, free: 14.88 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.5973, allocations: 102.8 kB / 461.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/0.5976, allocations: 67.89 kB / 461.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5976, allocations: 0 / 461.4 MB, free: 14.69 MB / 394.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006768/0.5983, allocations: 189.4 kB / 461.6 MB, free: 14.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.5983, allocations: 4 kB / 461.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5983, allocations: 4 kB / 461.6 MB, free: 14.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5984, allocations: 4.219 kB / 461.6 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001608/0.6, allocations: 111.8 kB / 461.7 MB, free: 14.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002428/0.6024, allocations: 1.824 MB / 463.6 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.6028, allocations: 23.78 kB / 463.6 MB, free: 12.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.6028, allocations: 16.56 kB / 463.6 MB, free: 12.44 MB / 394.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 () * Number of clocked 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.0002085/0.6031, allocations: 149.6 kB / 463.8 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.879e-05/0.6031, allocations: 7.906 kB / 463.8 MB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008067/0.6039, allocations: 198.7 kB / 464 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.6039, allocations: 0 / 464 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.604, allocations: 0 / 464 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.604, allocations: 0 / 464 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003979/0.6044, allocations: 237.5 kB / 464.2 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.6044, allocations: 3.938 kB / 464.2 MB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001362/0.6058, allocations: 93.02 kB / 464.3 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.6058, allocations: 0 / 464.3 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.6058, allocations: 0 / 464.3 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.6073, allocations: 1.781 MB / 466.1 MB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6073, allocations: 0 / 466.1 MB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/0.608, allocations: 259.5 kB / 466.3 MB, free: 9.574 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.995e-05/0.6081, allocations: 92.86 kB / 466.4 MB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.511e-05/0.6081, allocations: 0 / 466.4 MB, free: 9.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002459/0.6084, allocations: 19.98 kB / 466.4 MB, free: 9.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.975e-05/0.6085, allocations: 11.98 kB / 466.4 MB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.6085, allocations: 0 / 466.4 MB, free: 9.434 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.6087, allocations: 140.9 kB / 466.6 MB, free: 9.297 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6087, allocations: 0 / 466.6 MB, free: 9.297 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000437/0.6092, allocations: 47.91 kB / 466.6 MB, free: 9.25 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 (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.0002634/0.6094, allocations: 131.2 kB / 466.8 MB, free: 9.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002836/0.6123, allocations: 252 kB / 467 MB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.6123, allocations: 0 / 467 MB, free: 8.867 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001308/0.6136, allocations: 119.9 kB / 467.1 MB, free: 8.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.6141, allocations: 44.34 kB / 467.2 MB, free: 8.707 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.6152, allocations: 420.1 kB / 467.6 MB, free: 8.273 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004304/0.6156, allocations: 0.7513 MB / 468.3 MB, free: 7.496 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.185e-05/0.6157, allocations: 15.44 kB / 468.3 MB, free: 7.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6157, allocations: 0 / 468.3 MB, free: 7.48 MB / 394.7 MB Notification: Performance of Templates: time 0.01081/0.6266, allocations: 4.533 MB / 472.9 MB, free: 2.969 MB / 394.7 MB