Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadModel(ModelicaTest): time 2.154/2.154, allocations: 234.9 MB / 250.5 MB, free: 10.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007977/0.000798, allocations: 15.98 kB / 314.3 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3738, allocations: 54.88 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002772/0.3766, allocations: 1.743 MB / 370.9 MB, free: 8.945 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3784, allocations: 0.9717 MB / 371.9 MB, free: 7.969 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.452e-05/0.3785, allocations: 4 kB / 371.9 MB, free: 7.965 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.3789, allocations: 83.55 kB / 372 MB, free: 7.883 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002945/0.3792, allocations: 79.72 kB / 372.1 MB, free: 7.805 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.3795, allocations: 99.73 kB / 372.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.3797, allocations: 135.6 kB / 372.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.388e-05/0.3798, allocations: 16.39 kB / 372.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001553/0.38, allocations: 67.64 kB / 372.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.3801, allocations: 79.61 kB / 372.5 MB, free: 7.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.627e-05/0.3802, allocations: 4 kB / 372.5 MB, free: 7.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005193/0.3807, allocations: 267.7 kB / 372.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.659e-05/0.3808, allocations: 23.84 kB / 372.8 MB, free: 7.121 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.673e-05/0.3808, allocations: 57.56 kB / 372.8 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003234/0.3812, allocations: 180.2 kB / 373 MB, free: 6.883 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.659e-06/0.3812, allocations: 4 kB / 373 MB, free: 6.879 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.94e-06/0.3812, allocations: 0 / 373 MB, free: 6.879 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.12e-06/0.3812, allocations: 0 / 373 MB, free: 6.879 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006534/0.3819, allocations: 482.9 kB / 373.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.3819, allocations: 8.031 kB / 373.5 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.534e-05/0.382, allocations: 23.72 kB / 373.5 MB, free: 6.328 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.3823, allocations: 210.7 kB / 373.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.3823, allocations: 16.44 kB / 373.7 MB, free: 6.066 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.332e-05/0.3824, allocations: 20 kB / 373.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005226/0.3829, allocations: 235.2 kB / 374 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.3829, allocations: 0 / 374 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.848e-05/0.383, allocations: 12 kB / 374 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.383, allocations: 7.953 kB / 374 MB, free: 5.793 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005925/0.3836, allocations: 257.6 kB / 374.2 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001214/0.3848, allocations: 0.6157 MB / 374.9 MB, free: 4.875 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003695/0.3852, allocations: 106.6 kB / 375 MB, free: 4.762 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.3853, allocations: 7.984 kB / 375 MB, free: 4.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.3853, allocations: 30.56 kB / 375 MB, free: 4.715 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.199e-06/0.3853, allocations: 0 / 375 MB, free: 4.715 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006852/0.386, allocations: 189.5 kB / 375.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.3861, allocations: 59.39 kB / 375.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003565/0.3865, allocations: 263 kB / 375.5 MB, free: 4.191 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.3865, allocations: 25.7 kB / 375.5 MB, free: 4.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.3867, allocations: 229.8 kB / 375.7 MB, free: 3.934 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.331e-05/0.3867, allocations: 35.55 kB / 375.8 MB, free: 3.898 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.3868, allocations: 4 kB / 375.8 MB, free: 3.895 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3869, allocations: 318.8 kB / 376.1 MB, free: 3.574 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002133/0.3872, allocations: 55.91 kB / 376.2 MB, free: 3.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002878/0.3875, allocations: 156 kB / 376.3 MB, free: 3.324 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002398/0.3877, allocations: 71.98 kB / 376.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.77e-06/0.3878, allocations: 0 / 376.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006711/0.3884, allocations: 237.2 kB / 376.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3885, allocations: 6.5 kB / 376.6 MB, free: 3.012 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.3885, allocations: 8 kB / 376.6 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.3885, allocations: 11.94 kB / 376.6 MB, free: 2.992 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005082/0.389, allocations: 80.36 kB / 376.7 MB, free: 2.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001046/0.3901, allocations: 1.223 MB / 377.9 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000268/0.3904, allocations: 39.86 kB / 378 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.864e-05/0.3904, allocations: 16 kB / 378 MB, free: 1.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000171/0.3906, allocations: 137.7 kB / 378.1 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.3907, allocations: 19.72 kB / 378.1 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006014/0.3913, allocations: 179.3 kB / 378.3 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.657e-06/0.3913, allocations: 0 / 378.3 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.319e-06/0.3914, allocations: 0 / 378.3 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.394e-06/0.3914, allocations: 0 / 378.3 MB, free: 1.242 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008963/0.3923, allocations: 468 kB / 378.8 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.899e-06/0.3923, allocations: 4.094 kB / 378.8 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003572/0.3927, allocations: 63.95 kB / 378.8 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.88e-06/0.3927, allocations: 4 kB / 378.8 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.3927, allocations: 0 / 378.8 MB, free: 0.6523 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009964/0.3937, allocations: 1.219 MB / 380.1 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.435e-06/0.3938, allocations: 4.031 kB / 380.1 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005377/0.3943, allocations: 252.9 kB / 380.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.822e-05/0.3944, allocations: 100.8 kB / 380.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.3945, allocations: 0 / 380.4 MB, free: 15 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002031/0.3947, allocations: 12 kB / 380.4 MB, free: 14.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.3948, allocations: 11.97 kB / 380.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.3948, allocations: 4 kB / 380.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002526/0.3951, allocations: 186 kB / 380.6 MB, free: 14.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.866e-06/0.3951, allocations: 4 kB / 380.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005251/0.3956, allocations: 71.86 kB / 380.7 MB, free: 14.71 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000292/0.3959, allocations: 151.2 kB / 380.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007807/0.3967, allocations: 184.6 kB / 381 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.182e-06/0.3967, allocations: 0 / 381 MB, free: 14.38 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/0.3972, allocations: 91.94 kB / 381.1 MB, free: 14.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.3975, allocations: 20.84 kB / 381.1 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009931/0.3985, allocations: 499 kB / 381.6 MB, free: 13.74 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004343/0.399, allocations: 0.7404 MB / 382.4 MB, free: 12.97 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.3991, allocations: 15.44 kB / 382.4 MB, free: 12.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.425e-06/0.3991, allocations: 11.94 kB / 382.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of Templates: time 0.008144/0.4073, allocations: 4.208 MB / 386.6 MB, free: 8.734 MB / 314.7 MB