Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadModel(ModelicaTest): time 2.364/2.364, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004372/0.0004373, allocations: 12 kB / 315 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3406/0.3411, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1612/0.5023, allocations: 89.44 MB / 459.3 MB, free: 1.156 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003809/0.5027, allocations: 99.92 kB / 459.4 MB, free: 1.059 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03571/0.5385, allocations: 7.83 MB / 467.2 MB, free: 9.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.511e-06/0.5385, allocations: 4 kB / 467.2 MB, free: 9.195 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.243e-05/0.5385, allocations: 0 / 467.2 MB, free: 9.195 MB / 394.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.0008516/0.5394, allocations: 482.5 kB / 467.7 MB, free: 8.676 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/0.5395, allocations: 16.03 kB / 467.7 MB, free: 8.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.775e-05/0.5395, allocations: 23.67 kB / 467.7 MB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.5398, allocations: 215.2 kB / 467.9 MB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.5399, allocations: 15.94 kB / 467.9 MB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.874e-05/0.5399, allocations: 20 kB / 467.9 MB, free: 8.352 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005876/0.5405, allocations: 206.6 kB / 468.1 MB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.5405, allocations: 0 / 468.1 MB, free: 8.141 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.722e-05/0.5406, allocations: 16 kB / 468.2 MB, free: 8.125 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.065e-05/0.5406, allocations: 11.95 kB / 468.2 MB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005237/0.5411, allocations: 148.2 kB / 468.3 MB, free: 7.969 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001276/0.5424, allocations: 0.5806 MB / 468.9 MB, free: 7.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003168/0.5428, allocations: 66.48 kB / 469 MB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.5428, allocations: 0 / 469 MB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.5429, allocations: 42.62 kB / 469 MB, free: 7.215 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.673e-06/0.5429, allocations: 0 / 469 MB, free: 7.215 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008816/0.5438, allocations: 299.6 kB / 469.3 MB, free: 6.879 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.5438, allocations: 59.36 kB / 469.4 MB, free: 6.809 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003646/0.5442, allocations: 258.6 kB / 469.6 MB, free: 6.539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.5443, allocations: 25.7 kB / 469.6 MB, free: 6.508 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.5444, allocations: 222.1 kB / 469.9 MB, free: 6.289 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.5444, allocations: 19.66 kB / 469.9 MB, free: 6.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.382e-05/0.5445, allocations: 4 kB / 469.9 MB, free: 6.266 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.5446, allocations: 318.8 kB / 470.2 MB, free: 5.945 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.5448, allocations: 43.97 kB / 470.2 MB, free: 5.902 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.5452, allocations: 132.8 kB / 470.4 MB, free: 5.727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/0.5454, allocations: 59.92 kB / 470.4 MB, free: 5.668 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5455, allocations: 0 / 470.4 MB, free: 5.668 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006736/0.5461, allocations: 193.3 kB / 470.6 MB, free: 5.473 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5462, allocations: 8 kB / 470.6 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.862e-05/0.5462, allocations: 12.44 kB / 470.6 MB, free: 5.453 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.5463, allocations: 8 kB / 470.6 MB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002252/0.5465, allocations: 43.86 kB / 470.7 MB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.194e-05/0.5465, allocations: 4 kB / 470.7 MB, free: 5.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002449/0.5468, allocations: 35.59 kB / 470.7 MB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.5468, allocations: 11.98 kB / 470.7 MB, free: 5.352 MB / 394.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.0001593/0.547, allocations: 129.8 kB / 470.9 MB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.253e-05/0.5471, allocations: 15.81 kB / 470.9 MB, free: 5.199 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006944/0.5478, allocations: 158.7 kB / 471 MB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.5478, allocations: 0 / 471 MB, free: 5.039 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.5478, allocations: 7.953 kB / 471 MB, free: 5.031 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.5478, allocations: 3.938 kB / 471 MB, free: 5.027 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003371/0.5482, allocations: 217.5 kB / 471.2 MB, free: 4.766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.207e-05/0.5482, allocations: 15.98 kB / 471.3 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.69e-05/0.5483, allocations: 8.172 kB / 471.3 MB, free: 4.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.5483, allocations: 8 kB / 471.3 MB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.5484, allocations: 4 kB / 471.3 MB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.5484, allocations: 0 / 471.3 MB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5484, allocations: 0 / 471.3 MB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000533/0.5489, allocations: 215.3 kB / 471.5 MB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/0.549, allocations: 96.81 kB / 471.6 MB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.5491, allocations: 0 / 471.6 MB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.5493, allocations: 11.98 kB / 471.6 MB, free: 4.379 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.5493, allocations: 4 kB / 471.6 MB, free: 4.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.5494, allocations: 0 / 471.6 MB, free: 4.375 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002342/0.5496, allocations: 182 kB / 471.8 MB, free: 4.199 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5496, allocations: 0 / 471.8 MB, free: 4.199 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005871/0.5502, allocations: 87.89 kB / 471.9 MB, free: 4.113 MB / 394.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.0005024/0.5507, allocations: 216.6 kB / 472.1 MB, free: 3.898 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007608/0.5515, allocations: 171.9 kB / 472.2 MB, free: 3.719 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5515, allocations: 0 / 472.2 MB, free: 3.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003492/0.5519, allocations: 115.5 kB / 472.4 MB, free: 3.594 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.5522, allocations: 21.77 kB / 472.4 MB, free: 3.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000986/0.5532, allocations: 446.9 kB / 472.8 MB, free: 3.102 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.5536, allocations: 0.7323 MB / 473.5 MB, free: 2.344 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.191e-05/0.5536, allocations: 15.44 kB / 473.6 MB, free: 2.328 MB / 394.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5536, allocations: 0 / 473.6 MB, free: 2.328 MB / 394.7 MB Notification: Performance of Templates: time 0.2972/0.8509, allocations: 4.544 MB / 478.1 MB, free: 96.41 MB / 394.7 MB