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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|V_flow.1.|V_flow.2.|V_flow.3.|a.1.|a.2.|a.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_volumeFlowRate_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.983/1.983, allocations: 209.4 MB / 217.3 MB, free: 4.148 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.835e-05, allocations: 4 kB / 271.3 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2992/0.2993, allocations: 48.69 MB / 320 MB, free: 14.4 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.4476, allocations: 77.26 MB / 397.3 MB, free: 3.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/0.4479, allocations: 91.92 kB / 397.4 MB, free: 3.09 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5587:11-5590:61: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:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02573/0.4737, allocations: 5.951 MB / 403.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.868e-06/0.4737, allocations: 0 / 403.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.964e-06/0.4738, allocations: 4 kB / 403.3 MB, free: 13.11 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006198/0.4744, allocations: 441.9 kB / 403.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.4744, allocations: 8.031 kB / 403.8 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005748/0.475, allocations: 71.72 kB / 403.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.4753, allocations: 218.8 kB / 404.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.4754, allocations: 4 kB / 404.1 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.4754, allocations: 12 kB / 404.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005036/0.4759, allocations: 231.8 kB / 404.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004754/0.4764, allocations: 245.3 kB / 404.5 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.4765, allocations: 0 / 404.5 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.4765, allocations: 0 / 404.5 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-05/0.4766, allocations: 15.98 kB / 404.6 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.4781, allocations: 0.7454 MB / 405.3 MB, free: 10.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000353/0.4784, allocations: 174.2 kB / 405.5 MB, free: 10.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001234/0.4786, allocations: 48.86 kB / 405.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.4786, allocations: 8 kB / 405.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.148e-05/0.4787, allocations: 42.5 kB / 405.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 2.272e-06/0.4787, allocations: 0 / 405.6 MB, free: 10.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004534/0.4791, allocations: 157.7 kB / 405.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.887e-05/0.4792, allocations: 51.41 kB / 405.8 MB, free: 10.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.4793, allocations: 122.2 kB / 405.9 MB, free: 10.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.4794, allocations: 25.7 kB / 405.9 MB, free: 10.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.4795, allocations: 218.1 kB / 406.1 MB, free: 10.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.637e-05/0.4796, allocations: 31.55 kB / 406.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.637e-05/0.4796, allocations: 4 kB / 406.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4798, allocations: 314.8 kB / 406.5 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.48, allocations: 51.94 kB / 406.5 MB, free: 9.684 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001809/0.4801, allocations: 108.4 kB / 406.6 MB, free: 9.555 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000165/0.4803, allocations: 71.92 kB / 406.7 MB, free: 9.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.274e-06/0.4803, allocations: 0 / 406.7 MB, free: 9.484 MB / 346.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004937/0.4808, allocations: 205.4 kB / 406.9 MB, free: 9.277 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.4809, allocations: 6.344 kB / 406.9 MB, free: 9.273 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.978e-06/0.4809, allocations: 4 kB / 406.9 MB, free: 9.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4809, allocations: 7.953 kB / 406.9 MB, free: 9.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005279/0.4815, allocations: 75.91 kB / 407 MB, free: 9.188 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.4829, allocations: 1.789 MB / 408.8 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.4831, allocations: 23.86 kB / 408.8 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/0.4832, allocations: 15.92 kB / 408.8 MB, free: 7.289 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 (17): * Single equations (assignments): 14 * 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.0001214/0.4833, allocations: 109.1 kB / 408.9 MB, free: 7.176 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.4834, allocations: 7.906 kB / 408.9 MB, free: 7.168 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008319/0.4842, allocations: 259 kB / 409.2 MB, free: 6.914 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.75e-06/0.4842, allocations: 4 kB / 409.2 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.404e-06/0.4842, allocations: 3.984 kB / 409.2 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.847e-06/0.4843, allocations: 0 / 409.2 MB, free: 6.906 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.4846, allocations: 202 kB / 409.4 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.335e-06/0.4846, allocations: 0 / 409.4 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003881/0.485, allocations: 59.89 kB / 409.5 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.485, allocations: 4 kB / 409.5 MB, free: 6.609 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.344e-05/0.4851, allocations: 7.984 kB / 409.5 MB, free: 6.602 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00133/0.4864, allocations: 1.789 MB / 411.3 MB, free: 4.742 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.995e-06/0.4864, allocations: 3.953 kB / 411.3 MB, free: 4.738 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.4868, allocations: 216.4 kB / 411.5 MB, free: 4.512 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.341e-05/0.4869, allocations: 85.02 kB / 411.6 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.4869, allocations: 0 / 411.6 MB, free: 4.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.4871, allocations: 20.02 kB / 411.6 MB, free: 4.391 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.4872, allocations: 11.94 kB / 411.6 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.4872, allocations: 4 kB / 411.6 MB, free: 4.375 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001064/0.4873, allocations: 107.2 kB / 411.7 MB, free: 4.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.4874, allocations: 0 / 411.7 MB, free: 4.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004896/0.4879, allocations: 71.69 kB / 411.8 MB, free: 4.199 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 (13): * Single equations (assignments): 10 * 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.0002848/0.4882, allocations: 143.2 kB / 411.9 MB, free: 4.047 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005398/0.4887, allocations: 147.8 kB / 412 MB, free: 3.902 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.744e-06/0.4887, allocations: 0 / 412 MB, free: 3.902 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003322/0.4891, allocations: 67.95 kB / 412.1 MB, free: 3.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.4893, allocations: 13.36 kB / 412.1 MB, free: 3.824 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006915/0.49, allocations: 259.2 kB / 412.4 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.4905, allocations: 0.7435 MB / 413.1 MB, free: 2.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.4906, allocations: 27.41 kB / 413.2 MB, free: 2.746 MB / 346.7 MB Notification: Performance of SimCode: time 1.455e-06/0.4906, allocations: 0 / 413.2 MB, free: 2.746 MB / 346.7 MB Notification: Performance of Templates: time 0.009115/0.4998, allocations: 4.81 MB / 418 MB, free: 13.95 MB / 362.7 MB