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/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.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.928/1.928, allocations: 209.3 MB / 224.8 MB, free: 1.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007053/0.0007055, allocations: 12 kB / 282.5 MB, free: 9.773 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1068, allocations: 48.71 MB / 331.2 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube): time 0.002742/0.1096, allocations: 1.688 MB / 332.9 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002284/0.1119, allocations: 1.228 MB / 334.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.1121, allocations: 0 / 334.1 MB, free: 6.035 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003195/0.1124, allocations: 75.62 kB / 334.2 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001686/0.1126, allocations: 55.81 kB / 334.3 MB, free: 5.906 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006163/0.1132, allocations: 183.5 kB / 334.4 MB, free: 5.727 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.1134, allocations: 119.7 kB / 334.6 MB, free: 5.609 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.542e-05/0.1135, allocations: 20.52 kB / 334.6 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001447/0.1137, allocations: 51.72 kB / 334.6 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.1138, allocations: 55.66 kB / 334.7 MB, free: 5.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.1138, allocations: 8 kB / 334.7 MB, free: 5.477 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007973/0.1147, allocations: 419.5 kB / 335.1 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.1147, allocations: 27.84 kB / 335.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.1148, allocations: 53.58 kB / 335.2 MB, free: 4.98 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004526/0.1153, allocations: 243.4 kB / 335.4 MB, free: 4.742 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.1153, allocations: 3.938 kB / 335.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1153, allocations: 0 / 335.4 MB, free: 4.738 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.204e-06/0.1153, allocations: 0 / 335.4 MB, free: 4.738 MB / 282.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.0006955/0.116, allocations: 474.6 kB / 335.9 MB, free: 4.227 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.1161, allocations: 8.031 kB / 335.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.532e-05/0.1161, allocations: 27.72 kB / 335.9 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.1164, allocations: 210.6 kB / 336.1 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.1164, allocations: 12 kB / 336.1 MB, free: 3.934 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.1165, allocations: 16 kB / 336.2 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004961/0.117, allocations: 210.7 kB / 336.4 MB, free: 3.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.117, allocations: 3.938 kB / 336.4 MB, free: 3.699 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.3e-05/0.117, allocations: 8 kB / 336.4 MB, free: 3.691 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.1171, allocations: 4 kB / 336.4 MB, free: 3.688 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004097/0.1175, allocations: 156.3 kB / 336.5 MB, free: 3.535 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.1186, allocations: 0.5792 MB / 337.1 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.1189, allocations: 62.55 kB / 337.2 MB, free: 2.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.1189, allocations: 8 kB / 337.2 MB, free: 2.828 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.119, allocations: 30.56 kB / 337.2 MB, free: 2.789 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 5.026e-06/0.119, allocations: 3.984 kB / 337.2 MB, free: 2.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006987/0.1197, allocations: 311.6 kB / 337.5 MB, free: 2.438 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.608e-05/0.1198, allocations: 59.41 kB / 337.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.1201, allocations: 250.7 kB / 337.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.1202, allocations: 25.7 kB / 337.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/0.1203, allocations: 222 kB / 338.1 MB, free: 1.863 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.462e-05/0.1204, allocations: 23.73 kB / 338.1 MB, free: 1.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.1204, allocations: 4 kB / 338.1 MB, free: 1.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1206, allocations: 322.8 kB / 338.4 MB, free: 1.512 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.1208, allocations: 39.97 kB / 338.4 MB, free: 1.473 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002703/0.1211, allocations: 144.2 kB / 338.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001972/0.1213, allocations: 51.97 kB / 338.6 MB, free: 1.238 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1213, allocations: 7.938 kB / 338.6 MB, free: 1.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005605/0.1219, allocations: 197.7 kB / 338.8 MB, free: 1.031 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.23e-05/0.1219, allocations: 8 kB / 338.8 MB, free: 1.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-05/0.122, allocations: 19.92 kB / 338.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.122, allocations: 7.938 kB / 338.9 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.1222, allocations: 31.98 kB / 338.9 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.1222, allocations: 7.938 kB / 338.9 MB, free: 0.957 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001937/0.1224, allocations: 35.67 kB / 338.9 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.688e-05/0.1224, allocations: 12 kB / 339 MB, free: 0.9102 MB / 282.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 (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.0001577/0.1226, allocations: 125.8 kB / 339.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.107e-05/0.1227, allocations: 23.66 kB / 339.1 MB, free: 0.7539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005334/0.1232, allocations: 154.8 kB / 339.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.628e-06/0.1232, allocations: 0 / 339.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.626e-06/0.1233, allocations: 0 / 339.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.1233, allocations: 0 / 339.2 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003475/0.1236, allocations: 225.7 kB / 339.5 MB, free: 336 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.839e-05/0.1237, allocations: 12 kB / 339.5 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.1238, allocations: 15.98 kB / 339.5 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.086e-06/0.1238, allocations: 0 / 339.5 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1238, allocations: 0 / 339.5 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.596e-06/0.1238, allocations: 4 kB / 339.5 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.88e-06/0.1238, allocations: 0 / 339.5 MB, free: 304 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004391/0.1243, allocations: 223.1 kB / 339.7 MB, free: 64 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2126/0.3369, allocations: 88.89 kB / 339.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.997e-05/0.337, allocations: 0.9688 kB / 339.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001784/0.3372, allocations: 7.625 kB / 339.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.819e-05/0.3373, allocations: 5.266 kB / 339.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.3373, allocations: 2.781 kB / 339.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002292/0.3376, allocations: 179.7 kB / 340 MB, free: 15.79 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.66e-07/0.3376, allocations: 0 / 340 MB, free: 15.79 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005192/0.3381, allocations: 76.22 kB / 340.1 MB, free: 15.79 MB / 282.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 (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.0003423/0.3385, allocations: 162.5 kB / 340.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006003/0.3391, allocations: 184.7 kB / 340.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.273e-06/0.3391, allocations: 0 / 340.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002975/0.3394, allocations: 107.7 kB / 340.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.3397, allocations: 21.98 kB / 340.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008079/0.3406, allocations: 447.6 kB / 341 MB, free: 15.3 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001995/0.3408, allocations: 0.7369 MB / 341.7 MB, free: 14.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.3408, allocations: 15.88 kB / 341.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of SimCode: time 1.673e-06/0.3409, allocations: 1.156 kB / 341.7 MB, free: 14.6 MB / 282.7 MB Notification: Performance of Templates: time 0.008804/0.3497, allocations: 4.295 MB / 346 MB, free: 14.34 MB / 282.7 MB