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_roundTube.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.2.|Nu.3.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadModel(ModelicaTest): time 1.963/1.963, allocations: 209.2 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004326, allocations: 12 kB / 282.6 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3233, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.4534, allocations: 89.53 MB / 420.8 MB, free: 4.863 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/0.4538, allocations: 91.94 kB / 420.9 MB, free: 4.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0501/0.5039, allocations: 12.22 MB / 433.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.157e-06/0.5039, allocations: 0 / 433.1 MB, free: 8.508 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.504, allocations: 4 kB / 433.1 MB, free: 8.504 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001067/0.505, allocations: 0.5965 MB / 433.7 MB, free: 7.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5051, allocations: 20.02 kB / 433.8 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.147e-05/0.5052, allocations: 35.53 kB / 433.8 MB, free: 7.805 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003592/0.5056, allocations: 246.2 kB / 434 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.991e-05/0.5056, allocations: 28.98 kB / 434.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.669e-05/0.5057, allocations: 35.94 kB / 434.1 MB, free: 7.457 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/0.5065, allocations: 362.5 kB / 434.5 MB, free: 7.098 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.5065, allocations: 3.984 kB / 434.5 MB, free: 7.094 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.446e-05/0.5065, allocations: 16 kB / 434.5 MB, free: 7.078 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.82e-05/0.5066, allocations: 8 kB / 434.5 MB, free: 7.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006083/0.5072, allocations: 275.8 kB / 434.7 MB, free: 6.801 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.509, allocations: 0.8923 MB / 435.6 MB, free: 5.855 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003199/0.5093, allocations: 94.48 kB / 435.7 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.5094, allocations: 4 kB / 435.7 MB, free: 5.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.5094, allocations: 38.59 kB / 435.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.993e-06/0.5094, allocations: 0 / 435.8 MB, free: 5.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000934/0.5104, allocations: 0.5096 MB / 436.3 MB, free: 5.113 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.5104, allocations: 55.41 kB / 436.3 MB, free: 5.047 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005235/0.511, allocations: 348.9 kB / 436.7 MB, free: 4.703 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.862e-05/0.511, allocations: 29.69 kB / 436.7 MB, free: 4.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.5113, allocations: 293.5 kB / 437 MB, free: 4.375 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.5113, allocations: 35.55 kB / 437 MB, free: 4.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.729e-05/0.5114, allocations: 8 kB / 437 MB, free: 4.332 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5115, allocations: 322.8 kB / 437.4 MB, free: 4.008 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/0.5118, allocations: 64.25 kB / 437.4 MB, free: 3.941 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004276/0.5122, allocations: 258 kB / 437.7 MB, free: 3.598 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.5126, allocations: 99.91 kB / 437.8 MB, free: 3.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.5126, allocations: 4 kB / 437.8 MB, free: 3.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.00087/0.5135, allocations: 329.4 kB / 438.1 MB, free: 3.168 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.5135, allocations: 8 kB / 438.1 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.92e-05/0.5136, allocations: 27.98 kB / 438.1 MB, free: 3.133 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.518e-05/0.5136, allocations: 8 kB / 438.1 MB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.5139, allocations: 59.91 kB / 438.2 MB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/0.5139, allocations: 19.91 kB / 438.2 MB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000384/0.5143, allocations: 63.53 kB / 438.3 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.277e-05/0.5144, allocations: 24 kB / 438.3 MB, free: 2.961 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0002338/0.5146, allocations: 151.2 kB / 438.4 MB, free: 2.805 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.017e-05/0.5147, allocations: 39.48 kB / 438.5 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007777/0.5155, allocations: 224.6 kB / 438.7 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.206e-06/0.5155, allocations: 0 / 438.7 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.495e-06/0.5156, allocations: 192 / 438.7 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.091e-06/0.5156, allocations: 4 kB / 438.7 MB, free: 2.535 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.5161, allocations: 285.5 kB / 439 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-05/0.5162, allocations: 19.98 kB / 439 MB, free: 2.188 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.381e-05/0.5163, allocations: 11.98 kB / 439 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.956e-06/0.5163, allocations: 7.953 kB / 439 MB, free: 2.168 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.5163, allocations: 8 kB / 439 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.521e-06/0.5163, allocations: 0 / 439 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.82e-06/0.5163, allocations: 0 / 439 MB, free: 2.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005672/0.5169, allocations: 259 kB / 439.3 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.5171, allocations: 116.6 kB / 439.4 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.5171, allocations: 3.953 kB / 439.4 MB, free: 1.754 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001954/0.5173, allocations: 11.97 kB / 439.4 MB, free: 1.742 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.328e-05/0.5174, allocations: 8 kB / 439.4 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.5174, allocations: 11.92 kB / 439.4 MB, free: 1.723 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003989/0.5179, allocations: 267.2 kB / 439.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.99e-07/0.5179, allocations: 4 kB / 439.7 MB, free: 1.461 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008985/0.5188, allocations: 139.9 kB / 439.8 MB, free: 1.324 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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0006499/0.5194, allocations: 255.8 kB / 440.1 MB, free: 1.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009502/0.5204, allocations: 324.1 kB / 440.4 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.317e-06/0.5204, allocations: 4 kB / 440.4 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/0.5209, allocations: 190.7 kB / 440.6 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.5213, allocations: 33.55 kB / 440.6 MB, free: 496 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001397/0.5227, allocations: 0.6469 MB / 441.3 MB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.5233, allocations: 0.7872 MB / 442.1 MB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.5234, allocations: 23.44 kB / 442.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of SimCode: time 2.128e-06/0.5234, allocations: 0 / 442.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of Templates: time 0.01701/0.5404, allocations: 9.87 MB / 452 MB, free: 5.094 MB / 378.7 MB