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.889/1.889, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.134e-05/3.156e-05, allocations: 7.984 kB / 277.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08826, allocations: 48.7 MB / 326.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.401/0.4893, allocations: 89.43 MB / 416 MB, free: 2.172 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002709/0.4896, allocations: 97.61 kB / 416.1 MB, free: 2.113 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05074/0.5404, allocations: 12.2 MB / 428.3 MB, free: 7.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.326e-06/0.5404, allocations: 0 / 428.3 MB, free: 7.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.829e-05/0.5405, allocations: 4 kB / 428.3 MB, free: 7.387 MB / 330.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.0009892/0.5415, allocations: 0.581 MB / 428.9 MB, free: 6.785 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5415, allocations: 8.031 kB / 428.9 MB, free: 6.777 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.905e-05/0.5416, allocations: 39.53 kB / 428.9 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.542, allocations: 245.4 kB / 429.2 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.5421, allocations: 22.97 kB / 429.2 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.362e-05/0.5421, allocations: 39.23 kB / 429.2 MB, free: 6.422 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006248/0.5428, allocations: 338 kB / 429.5 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.5428, allocations: 7.875 kB / 429.6 MB, free: 6.199 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.196e-05/0.5428, allocations: 13.5 kB / 429.6 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.949e-05/0.5429, allocations: 8 kB / 429.6 MB, free: 6.188 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004191/0.5433, allocations: 241.1 kB / 429.8 MB, free: 6.039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.5451, allocations: 0.8849 MB / 430.7 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.5453, allocations: 86.25 kB / 430.8 MB, free: 5.188 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.5454, allocations: 35.8 kB / 430.8 MB, free: 5.156 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.5455, allocations: 3.984 kB / 430.8 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.5455, allocations: 30.56 kB / 430.9 MB, free: 5.113 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 3.149e-06/0.5455, allocations: 0 / 430.9 MB, free: 5.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004021/0.546, allocations: 128.5 kB / 431 MB, free: 4.992 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.546, allocations: 55.41 kB / 431 MB, free: 4.926 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005073/0.5465, allocations: 340.9 kB / 431.4 MB, free: 4.645 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/0.5466, allocations: 28.14 kB / 431.4 MB, free: 4.613 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.5468, allocations: 297 kB / 431.7 MB, free: 4.371 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.425e-05/0.5469, allocations: 27.31 kB / 431.7 MB, free: 4.348 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.579e-05/0.5469, allocations: 11.44 kB / 431.7 MB, free: 4.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.5471, allocations: 326.8 kB / 432 MB, free: 4.02 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.5472, allocations: 47.66 kB / 432.1 MB, free: 3.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.5475, allocations: 231.9 kB / 432.3 MB, free: 3.68 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002076/0.5478, allocations: 86.66 kB / 432.4 MB, free: 3.609 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.393e-06/0.5478, allocations: 3.953 kB / 432.4 MB, free: 3.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.000693/0.5485, allocations: 296.3 kB / 432.7 MB, free: 3.348 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.087e-05/0.5485, allocations: 8 kB / 432.7 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-05/0.5486, allocations: 23.98 kB / 432.7 MB, free: 3.316 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/0.5487, allocations: 12 kB / 432.7 MB, free: 3.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002782/0.549, allocations: 67.47 kB / 432.8 MB, free: 3.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.485e-05/0.549, allocations: 11.98 kB / 432.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000367/0.5494, allocations: 58.38 kB / 432.9 MB, free: 3.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/0.5494, allocations: 19.62 kB / 432.9 MB, free: 3.16 MB / 330.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 () * 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.0001284/0.5496, allocations: 127.9 kB / 433 MB, free: 3.035 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.214e-05/0.5497, allocations: 43.47 kB / 433.1 MB, free: 2.992 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00058/0.5503, allocations: 185.7 kB / 433.2 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.797e-06/0.5503, allocations: 0 / 433.2 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.393e-06/0.5503, allocations: 0 / 433.2 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.395e-06/0.5503, allocations: 3.984 kB / 433.2 MB, free: 2.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004636/0.5508, allocations: 283.9 kB / 433.5 MB, free: 2.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-05/0.5509, allocations: 20.17 kB / 433.5 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.878e-05/0.551, allocations: 19.94 kB / 433.6 MB, free: 2.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.25e-06/0.551, allocations: 3.938 kB / 433.6 MB, free: 2.492 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.906e-05/0.551, allocations: 4 kB / 433.6 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.247e-06/0.551, allocations: 3.984 kB / 433.6 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.176e-06/0.551, allocations: 0 / 433.6 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003879/0.5514, allocations: 230.3 kB / 433.8 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.5516, allocations: 108.6 kB / 433.9 MB, free: 2.133 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.796e-05/0.5516, allocations: 3.953 kB / 433.9 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.5519, allocations: 15.97 kB / 433.9 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.5519, allocations: 11.55 kB / 433.9 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/0.552, allocations: 4 kB / 433.9 MB, free: 2.102 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003611/0.5523, allocations: 260 kB / 434.2 MB, free: 1.898 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.5524, allocations: 0 / 434.2 MB, free: 1.898 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008665/0.5532, allocations: 150.9 kB / 434.3 MB, free: 1.762 MB / 330.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 (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.0006525/0.5539, allocations: 268.3 kB / 434.6 MB, free: 1.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007086/0.5546, allocations: 280.1 kB / 434.9 MB, free: 1.227 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.94e-06/0.5547, allocations: 4 kB / 434.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003733/0.555, allocations: 177.7 kB / 435 MB, free: 1.035 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003484/0.5554, allocations: 35.98 kB / 435.1 MB, free: 1.012 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.5564, allocations: 379 kB / 435.5 MB, free: 0.6289 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.557, allocations: 0.7872 MB / 436.2 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.038e-05/0.5571, allocations: 23.44 kB / 436.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.802e-06/0.5571, allocations: 0 / 436.3 MB, free: 15.79 MB / 346.7 MB Notification: Performance of Templates: time 0.01691/0.574, allocations: 9.848 MB / 446.1 MB, free: 5.977 MB / 346.7 MB