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.HeatExchanger.kc_flatTube.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.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadModel(ModelicaTest): time 1.966/1.966, allocations: 209.4 MB / 217.3 MB, free: 4.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.315e-05/1.331e-05, allocations: 0 / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2711, allocations: 48.7 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1222/0.3934, allocations: 82.38 MB / 402.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.3937, allocations: 99.92 kB / 402.5 MB, free: 13.94 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03003/0.4238, allocations: 7.65 MB / 410.2 MB, free: 6.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.451e-06/0.4238, allocations: 4 kB / 410.2 MB, free: 6.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.4238, allocations: 4 kB / 410.2 MB, free: 6.258 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006619/0.4245, allocations: 461.9 kB / 410.6 MB, free: 5.762 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4246, allocations: 8.031 kB / 410.6 MB, free: 5.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.443e-05/0.4246, allocations: 23.72 kB / 410.7 MB, free: 5.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.4249, allocations: 208.1 kB / 410.9 MB, free: 5.488 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.828e-05/0.4249, allocations: 7.938 kB / 410.9 MB, free: 5.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.425, allocations: 19.98 kB / 410.9 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002555/0.4252, allocations: 108.3 kB / 411 MB, free: 5.352 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.4256, allocations: 162.8 kB / 411.1 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4256, allocations: 0 / 411.1 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.4256, allocations: 0 / 411.1 MB, free: 5.188 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.4257, allocations: 8 kB / 411.2 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.4267, allocations: 0.5184 MB / 411.7 MB, free: 4.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.4269, allocations: 50.53 kB / 411.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.019e-05/0.4269, allocations: 16.92 kB / 411.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.481e-05/0.427, allocations: 12.02 kB / 411.8 MB, free: 4.535 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.862e-05/0.427, allocations: 38.5 kB / 411.8 MB, free: 4.488 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.354e-06/0.427, allocations: 0 / 411.8 MB, free: 4.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002665/0.4273, allocations: 73.5 kB / 411.9 MB, free: 4.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.4274, allocations: 55.41 kB / 411.9 MB, free: 4.344 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.4276, allocations: 157.8 kB / 412.1 MB, free: 4.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.57e-05/0.4276, allocations: 25.7 kB / 412.1 MB, free: 4.152 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.4278, allocations: 237.9 kB / 412.3 MB, free: 3.918 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.4278, allocations: 19.73 kB / 412.3 MB, free: 3.898 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.675e-06/0.4279, allocations: 0 / 412.3 MB, free: 3.898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.428, allocations: 314.8 kB / 412.7 MB, free: 3.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.952e-05/0.4281, allocations: 27.98 kB / 412.7 MB, free: 3.555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.4283, allocations: 114.2 kB / 412.8 MB, free: 3.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.4284, allocations: 35.98 kB / 412.8 MB, free: 3.363 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.019e-06/0.4284, allocations: 11.89 kB / 412.8 MB, free: 3.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003479/0.4288, allocations: 141.4 kB / 413 MB, free: 3.207 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.4288, allocations: 8 kB / 413 MB, free: 3.199 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/0.4289, allocations: 11.94 kB / 413 MB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.4289, allocations: 12.38 kB / 413 MB, free: 3.176 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.4291, allocations: 31.98 kB / 413 MB, free: 3.145 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.4291, allocations: 11.92 kB / 413.1 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/0.4293, allocations: 19.84 kB / 413.1 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.4293, allocations: 8 kB / 413.1 MB, free: 3.105 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001092/0.4294, allocations: 109 kB / 413.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.4295, allocations: 23.7 kB / 413.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.4299, allocations: 111.1 kB / 413.3 MB, free: 2.852 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.671e-06/0.4299, allocations: 4 kB / 413.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.4299, allocations: 0 / 413.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.345e-06/0.4299, allocations: 0 / 413.3 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.4302, allocations: 194.2 kB / 413.5 MB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.568e-05/0.4303, allocations: 12 kB / 413.5 MB, free: 2.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.66e-05/0.4303, allocations: 7.984 kB / 413.5 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.785e-06/0.4304, allocations: 7.953 kB / 413.5 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/0.4304, allocations: 0 / 413.5 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.937e-06/0.4304, allocations: 0 / 413.5 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4304, allocations: 0 / 413.5 MB, free: 2.594 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.4307, allocations: 179.3 kB / 413.7 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.117e-05/0.4308, allocations: 93 kB / 413.8 MB, free: 2.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.4308, allocations: 3.953 kB / 413.8 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.431, allocations: 8 kB / 413.8 MB, free: 2.281 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.431, allocations: 7.984 kB / 413.8 MB, free: 2.273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.431, allocations: 0 / 413.8 MB, free: 2.273 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.4312, allocations: 124.3 kB / 413.9 MB, free: 2.152 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.89e-07/0.4312, allocations: 0 / 413.9 MB, free: 2.152 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006035/0.4318, allocations: 91.67 kB / 414 MB, free: 2.062 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004341/0.4322, allocations: 203.3 kB / 414.2 MB, free: 1.855 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003797/0.4326, allocations: 144 kB / 414.4 MB, free: 1.703 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.345e-06/0.4327, allocations: 4 kB / 414.4 MB, free: 1.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.4329, allocations: 93.38 kB / 414.5 MB, free: 1.598 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.4331, allocations: 15.8 kB / 414.5 MB, free: 1.582 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005956/0.4337, allocations: 231.4 kB / 414.7 MB, free: 1.328 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006942/0.4344, allocations: 0.7318 MB / 415.4 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.989e-05/0.4345, allocations: 11.44 kB / 415.5 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of SimCode: time 2.216e-06/0.4346, allocations: 4 kB / 415.5 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of Templates: time 0.0172/0.4518, allocations: 4.261 MB / 419.7 MB, free: 12.29 MB / 362.7 MB