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.HeatTransfer.General.kc_approxForcedConvection_KC.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.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadModel(ModelicaTest): time 1.918/1.918, allocations: 209.4 MB / 217.3 MB, free: 4.137 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.818e-05/1.824e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2581, allocations: 48.7 MB / 320 MB, free: 14.38 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1184/0.3765, allocations: 79.51 MB / 399.5 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/0.3769, allocations: 95.94 kB / 399.6 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04113/0.4181, allocations: 9.904 MB / 409.5 MB, free: 6.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.001e-06/0.4181, allocations: 0 / 409.5 MB, free: 6.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.709e-05/0.4181, allocations: 7.938 kB / 409.6 MB, free: 6.812 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0007987/0.4189, allocations: 0.4974 MB / 410.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.419, allocations: 8.031 kB / 410.1 MB, free: 6.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.883e-05/0.4191, allocations: 31.66 kB / 410.1 MB, free: 6.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000364/0.4195, allocations: 246.6 kB / 410.3 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.4195, allocations: 12 kB / 410.3 MB, free: 5.941 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.937e-05/0.4196, allocations: 16 kB / 410.4 MB, free: 5.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006419/0.4202, allocations: 337.1 kB / 410.7 MB, free: 5.598 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006408/0.4209, allocations: 336.9 kB / 411 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.4209, allocations: 3.938 kB / 411 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.067e-05/0.421, allocations: 0 / 411 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.068e-05/0.421, allocations: 20.77 kB / 411 MB, free: 5.242 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001672/0.4227, allocations: 0.7916 MB / 411.8 MB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006415/0.4234, allocations: 311 kB / 412.1 MB, free: 4.098 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002156/0.4236, allocations: 96.78 kB / 412.2 MB, free: 4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.4236, allocations: 8.328 kB / 412.2 MB, free: 3.992 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.164e-05/0.4237, allocations: 38.52 kB / 412.3 MB, free: 3.945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 2.524e-06/0.4237, allocations: 0 / 412.3 MB, free: 3.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006324/0.4243, allocations: 249.4 kB / 412.5 MB, free: 3.695 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.4244, allocations: 55.41 kB / 412.6 MB, free: 3.629 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.4246, allocations: 146.5 kB / 412.7 MB, free: 3.473 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/0.4246, allocations: 33.64 kB / 412.7 MB, free: 3.434 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.4248, allocations: 234.3 kB / 413 MB, free: 3.203 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.041e-05/0.4249, allocations: 63.09 kB / 413 MB, free: 3.141 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.651e-05/0.4249, allocations: 0 / 413 MB, free: 3.141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001575/0.4251, allocations: 318.8 kB / 413.4 MB, free: 2.82 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.4253, allocations: 95.91 kB / 413.4 MB, free: 2.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002555/0.4256, allocations: 141.9 kB / 413.6 MB, free: 2.566 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.4258, allocations: 119.8 kB / 413.7 MB, free: 2.449 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.061e-06/0.4259, allocations: 4 kB / 413.7 MB, free: 2.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006301/0.4265, allocations: 275.3 kB / 414 MB, free: 2.172 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4265, allocations: 4 kB / 414 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.4266, allocations: 4 kB / 414 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.4266, allocations: 7.938 kB / 414 MB, free: 2.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/0.4274, allocations: 115.9 kB / 414.1 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002945/0.4304, allocations: 3.727 MB / 417.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002423/0.4307, allocations: 20.12 kB / 417.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.923e-05/0.4307, allocations: 11.98 kB / 417.9 MB, free: 14.14 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.4309, allocations: 116.9 kB / 418 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.431, allocations: 15.81 kB / 418 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000804/0.4318, allocations: 339.1 kB / 418.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.718e-06/0.4318, allocations: 4 kB / 418.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.366e-06/0.4318, allocations: 0 / 418.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4318, allocations: 0 / 418.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004881/0.4323, allocations: 289.9 kB / 418.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.625e-06/0.4323, allocations: 0 / 418.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007446/0.4331, allocations: 107.9 kB / 418.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.005e-05/0.4331, allocations: 4 kB / 418.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.4332, allocations: 112 / 418.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002886/0.4361, allocations: 3.731 MB / 422.4 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/0.4361, allocations: 0 / 422.4 MB, free: 9.375 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/0.4367, allocations: 355 kB / 422.8 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.786e-05/0.4368, allocations: 88.92 kB / 422.9 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.4369, allocations: 8.172 kB / 422.9 MB, free: 8.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002113/0.4371, allocations: 8 kB / 422.9 MB, free: 8.891 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.4372, allocations: 15.97 kB / 422.9 MB, free: 8.875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.4372, allocations: 12 kB / 422.9 MB, free: 8.863 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001269/0.4374, allocations: 128.8 kB / 423.1 MB, free: 8.738 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.03e-07/0.4374, allocations: 0 / 423.1 MB, free: 8.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005528/0.438, allocations: 83.69 kB / 423.1 MB, free: 8.656 MB / 362.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 (19): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003432/0.4383, allocations: 177.1 kB / 423.3 MB, free: 8.473 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.4394, allocations: 283.6 kB / 423.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.205e-06/0.4394, allocations: 0 / 423.6 MB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007329/0.4402, allocations: 178.7 kB / 423.8 MB, free: 8.023 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002812/0.4405, allocations: 14.55 kB / 423.8 MB, free: 8.012 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.4415, allocations: 419.6 kB / 424.2 MB, free: 7.574 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005341/0.442, allocations: 0.8063 MB / 425 MB, free: 6.742 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.774e-05/0.4421, allocations: 19.42 kB / 425 MB, free: 6.723 MB / 362.7 MB Notification: Performance of SimCode: time 2.028e-06/0.4422, allocations: 0 / 425 MB, free: 6.723 MB / 362.7 MB Notification: Performance of Templates: time 0.01663/0.4588, allocations: 10.35 MB / 435.4 MB, free: 12.37 MB / 378.7 MB