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_nominalPressureLossLawDensity_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|A_cross|A_cross_nom|dp_nom|m_flow_nom|exp|NominalMassFlowRate|V_flow_nom|zeta_TOT|zeta_TOT_nom|rho_nom|rho.1.|rho.2.|rho.3.|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_nominalPressureLossLawDensity_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.849/1.849, allocations: 209.3 MB / 224.8 MB, free: 1.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004339/0.000434, allocations: 8 kB / 282.6 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1349, allocations: 48.7 MB / 331.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4704, allocations: 81.44 MB / 412.7 MB, free: 3.711 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.4707, allocations: 95.94 kB / 412.8 MB, free: 3.617 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.03605/0.5068, allocations: 8.894 MB / 421.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.488e-06/0.5068, allocations: 0 / 421.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.5069, allocations: 4 kB / 421.7 MB, free: 10.61 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0007948/0.5077, allocations: 0.5267 MB / 422.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.5077, allocations: 8.031 kB / 422.3 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.147e-05/0.5078, allocations: 31.62 kB / 422.3 MB, free: 9.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003476/0.5082, allocations: 238.6 kB / 422.5 MB, free: 9.719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.5082, allocations: 28.98 kB / 422.6 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.548e-05/0.5083, allocations: 36 kB / 422.6 MB, free: 9.656 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009898/0.5093, allocations: 482 kB / 423.1 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.5093, allocations: 0 / 423.1 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.5094, allocations: 19.98 kB / 423.1 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.863e-05/0.5095, allocations: 17 kB / 423.1 MB, free: 9.133 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009366/0.5104, allocations: 435.7 kB / 423.5 MB, free: 8.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00207/0.5125, allocations: 1.221 MB / 424.7 MB, free: 7.391 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.5128, allocations: 78.47 kB / 424.8 MB, free: 7.305 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.523e-05/0.5128, allocations: 7.984 kB / 424.8 MB, free: 7.297 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.5129, allocations: 38.56 kB / 424.9 MB, free: 7.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 3.013e-06/0.5129, allocations: 0 / 424.9 MB, free: 7.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006114/0.5135, allocations: 173.5 kB / 425 MB, free: 7.074 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.5136, allocations: 59.34 kB / 425.1 MB, free: 7.004 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001918/0.5138, allocations: 145.5 kB / 425.2 MB, free: 6.852 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.5138, allocations: 25.7 kB / 425.3 MB, free: 6.82 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002011/0.514, allocations: 277.8 kB / 425.5 MB, free: 6.547 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.143e-05/0.5141, allocations: 31.55 kB / 425.6 MB, free: 6.516 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.5141, allocations: 8 kB / 425.6 MB, free: 6.508 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5143, allocations: 314.8 kB / 425.9 MB, free: 6.191 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.5145, allocations: 63.94 kB / 425.9 MB, free: 6.129 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.5148, allocations: 180.2 kB / 426.1 MB, free: 5.895 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.515, allocations: 88.17 kB / 426.2 MB, free: 5.809 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.761e-06/0.5151, allocations: 0 / 426.2 MB, free: 5.809 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006896/0.5158, allocations: 261.1 kB / 426.5 MB, free: 5.547 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.5158, allocations: 4 kB / 426.5 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5158, allocations: 4 kB / 426.5 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.5158, allocations: 8 kB / 426.5 MB, free: 5.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.5163, allocations: 88.44 kB / 426.6 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001359/0.5177, allocations: 1.793 MB / 428.4 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002509/0.518, allocations: 23.84 kB / 428.4 MB, free: 3.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.398e-05/0.518, allocations: 15.98 kB / 428.4 MB, free: 3.543 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0003003/0.5183, allocations: 185 kB / 428.6 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.5184, allocations: 15.81 kB / 428.6 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007839/0.5192, allocations: 206.5 kB / 428.8 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.425e-06/0.5192, allocations: 3.938 kB / 428.8 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.543e-06/0.5192, allocations: 4 kB / 428.8 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.5192, allocations: 0 / 428.8 MB, free: 3.129 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004855/0.5197, allocations: 293.4 kB / 429.1 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.744e-06/0.5198, allocations: 3.984 kB / 429.1 MB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.5201, allocations: 63.95 kB / 429.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.693e-06/0.5201, allocations: 0 / 429.2 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.5201, allocations: 7.984 kB / 429.2 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001338/0.5215, allocations: 1.774 MB / 430.9 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.748e-06/0.5215, allocations: 4.062 kB / 430.9 MB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004913/0.522, allocations: 235.4 kB / 431.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.845e-05/0.5221, allocations: 85 kB / 431.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.115e-05/0.5222, allocations: 8 kB / 431.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.5223, allocations: 8 kB / 431.3 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.601e-05/0.5224, allocations: 7.984 kB / 431.3 MB, free: 0.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.829e-05/0.5224, allocations: 4 kB / 431.3 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.5225, allocations: 114.3 kB / 431.4 MB, free: 396 kB / 346.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.5226, allocations: 0 / 431.4 MB, free: 396 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.000649/0.5232, allocations: 115.5 kB / 431.5 MB, free: 280 kB / 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0003664/0.5236, allocations: 174.5 kB / 431.7 MB, free: 96 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000734/0.5243, allocations: 175.8 kB / 431.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.133e-06/0.5244, allocations: 1.125 kB / 431.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003885/0.5248, allocations: 87.88 kB / 431.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/0.525, allocations: 11.89 kB / 431.9 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.5261, allocations: 0.6008 MB / 432.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.5267, allocations: 0.7985 MB / 433.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.5267, allocations: 23.42 kB / 433.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.455e-06/0.5268, allocations: 0 / 433.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of Templates: time 0.01215/0.5389, allocations: 7 MB / 440.4 MB, free: 7.34 MB / 362.7 MB