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/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.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.906/1.906, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004378, allocations: 8 kB / 282.6 MB, free: 9.707 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09621/0.09667, allocations: 48.71 MB / 331.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4064/0.5032, allocations: 80.27 MB / 411.6 MB, free: 4.871 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000402/0.5036, allocations: 99.94 kB / 411.7 MB, free: 4.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04334/0.547, allocations: 10 MB / 421.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.957e-06/0.547, allocations: 0 / 421.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.5471, allocations: 8 kB / 421.7 MB, free: 10.68 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.0008436/0.5479, allocations: 0.5029 MB / 422.2 MB, free: 10.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.548, allocations: 16.02 kB / 422.2 MB, free: 10.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.5481, allocations: 27.62 kB / 422.2 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003603/0.5485, allocations: 250.5 kB / 422.5 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.351e-05/0.5485, allocations: 20.56 kB / 422.5 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.5486, allocations: 24 kB / 422.5 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009098/0.5495, allocations: 397.2 kB / 422.9 MB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.5495, allocations: 0 / 422.9 MB, free: 9.367 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.178e-05/0.5496, allocations: 4 kB / 422.9 MB, free: 9.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-05/0.5497, allocations: 28.64 kB / 422.9 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.5512, allocations: 418.3 kB / 423.3 MB, free: 8.926 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004454/0.5557, allocations: 0.893 MB / 424.2 MB, free: 7.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.5579, allocations: 302.2 kB / 424.5 MB, free: 7.676 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.436e-05/0.558, allocations: 4.219 kB / 424.5 MB, free: 7.672 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.5581, allocations: 38.56 kB / 424.6 MB, free: 7.625 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 5.352e-06/0.5581, allocations: 4 kB / 424.6 MB, free: 7.621 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.002917/0.561, allocations: 369 kB / 424.9 MB, free: 7.254 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.5611, allocations: 51.41 kB / 425 MB, free: 7.191 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.5622, allocations: 314.5 kB / 425.3 MB, free: 6.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.956e-05/0.5623, allocations: 29.7 kB / 425.3 MB, free: 6.848 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002577/0.5626, allocations: 218.6 kB / 425.5 MB, free: 6.633 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.5628, allocations: 51.2 kB / 425.6 MB, free: 6.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.202e-05/0.5629, allocations: 4 kB / 425.6 MB, free: 6.578 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.5631, allocations: 322.8 kB / 425.9 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007442/0.5639, allocations: 108.3 kB / 426 MB, free: 6.148 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.5642, allocations: 142.7 kB / 426.2 MB, free: 5.988 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00036/0.5646, allocations: 133.1 kB / 426.3 MB, free: 5.859 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.608e-06/0.5646, allocations: 0 / 426.3 MB, free: 5.859 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008378/0.5655, allocations: 305.2 kB / 426.6 MB, free: 5.555 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.5655, allocations: 11.95 kB / 426.6 MB, free: 5.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.127e-06/0.5656, allocations: 3.938 kB / 426.6 MB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.5656, allocations: 4 kB / 426.6 MB, free: 5.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007754/0.5664, allocations: 111.8 kB / 426.7 MB, free: 5.426 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003085/0.5695, allocations: 3.707 MB / 430.4 MB, free: 1.578 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003027/0.5698, allocations: 39.89 kB / 430.5 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.5699, allocations: 12 kB / 430.5 MB, free: 1.527 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * 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.000296/0.5702, allocations: 181.1 kB / 430.6 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.264e-05/0.5703, allocations: 31.66 kB / 430.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009876/0.5713, allocations: 351.4 kB / 431 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.5713, allocations: 0 / 431 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.472e-06/0.5713, allocations: 0 / 431 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.814e-06/0.5713, allocations: 4 kB / 431 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005517/0.5719, allocations: 313.3 kB / 431.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.964e-06/0.5719, allocations: 0 / 431.3 MB, free: 0.6016 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007385/0.5727, allocations: 111.8 kB / 431.4 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.469e-06/0.5727, allocations: 4 kB / 431.4 MB, free: 500 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.878e-05/0.5727, allocations: 11.95 kB / 431.5 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/0.5758, allocations: 3.7 MB / 435.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.5758, allocations: 0 / 435.2 MB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.5767, allocations: 375.4 kB / 435.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/0.5769, allocations: 108.8 kB / 435.6 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.02e-05/0.577, allocations: 7.953 kB / 435.6 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002257/0.5772, allocations: 11.98 kB / 435.6 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.695e-05/0.5773, allocations: 15.97 kB / 435.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.5773, allocations: 4 kB / 435.7 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003867/0.5777, allocations: 253.9 kB / 435.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.5777, allocations: 0 / 435.9 MB, free: 11.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005283/0.5783, allocations: 71.98 kB / 436 MB, free: 11.77 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 9 * 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.0003481/0.5786, allocations: 175.2 kB / 436.2 MB, free: 11.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001238/0.5799, allocations: 307.9 kB / 436.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.946e-06/0.5799, allocations: 0 / 436.5 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008286/0.5807, allocations: 179.8 kB / 436.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004617/0.5812, allocations: 64.53 kB / 436.7 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.5826, allocations: 0.6889 MB / 437.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.5832, allocations: 0.7988 MB / 438.2 MB, free: 9.504 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.564e-05/0.5833, allocations: 23.44 kB / 438.2 MB, free: 9.48 MB / 362.7 MB Notification: Performance of SimCode: time 1.506e-06/0.5833, allocations: 4 kB / 438.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of Templates: time 0.0179/0.6012, allocations: 11.15 MB / 449.4 MB, free: 14.34 MB / 378.7 MB