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.973/1.973, allocations: 209.3 MB / 224.9 MB, free: 348 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004332/0.0004333, allocations: 8 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2848, allocations: 48.7 MB / 331.3 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1215/0.4064, allocations: 83.14 MB / 414.4 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/0.4067, allocations: 99.94 kB / 414.5 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03235/0.4391, allocations: 7.822 MB / 422.4 MB, free: 3.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4391, allocations: 0 / 422.4 MB, free: 3.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.715e-05/0.4392, allocations: 4 kB / 422.4 MB, free: 3.316 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.0007222/0.4399, allocations: 482.5 kB / 422.8 MB, free: 2.797 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4399, allocations: 8.031 kB / 422.8 MB, free: 2.789 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.674e-05/0.44, allocations: 23.72 kB / 422.9 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.4403, allocations: 218.6 kB / 423.1 MB, free: 2.512 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.4403, allocations: 8 kB / 423.1 MB, free: 2.504 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.4404, allocations: 20 kB / 423.1 MB, free: 2.484 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.4409, allocations: 210.7 kB / 423.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4409, allocations: 0 / 423.3 MB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/0.4409, allocations: 8 kB / 423.3 MB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.441, allocations: 4 kB / 423.3 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.4414, allocations: 160.2 kB / 423.5 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.4425, allocations: 0.5767 MB / 424.1 MB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002521/0.4428, allocations: 66.55 kB / 424.1 MB, free: 1.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.4428, allocations: 4 kB / 424.1 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.4429, allocations: 38.56 kB / 424.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 2.584e-06/0.4429, allocations: 0 / 424.2 MB, free: 1.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006978/0.4436, allocations: 307.7 kB / 424.5 MB, free: 1.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.4437, allocations: 55.41 kB / 424.5 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.444, allocations: 225.8 kB / 424.7 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.4441, allocations: 25.7 kB / 424.8 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.4442, allocations: 222.1 kB / 425 MB, free: 480 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.4443, allocations: 19.73 kB / 425 MB, free: 460 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.4443, allocations: 8 kB / 425 MB, free: 452 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4445, allocations: 314.8 kB / 425.3 MB, free: 128 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.4446, allocations: 39.97 kB / 425.4 MB, free: 88 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002742/0.4449, allocations: 141.7 kB / 425.5 MB, free: 15.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.4452, allocations: 63.97 kB / 425.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.295e-06/0.4452, allocations: 4 kB / 425.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005607/0.4457, allocations: 193.4 kB / 425.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.4458, allocations: 8 kB / 425.8 MB, free: 15.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-05/0.4458, allocations: 15.98 kB / 425.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.4459, allocations: 4 kB / 425.8 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.446, allocations: 31.92 kB / 425.8 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.676e-05/0.4461, allocations: 7.938 kB / 425.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.4463, allocations: 39.89 kB / 425.8 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.4463, allocations: 12 kB / 425.9 MB, free: 15.52 MB / 362.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.0001623/0.4465, allocations: 125.8 kB / 426 MB, free: 15.39 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.252e-05/0.4466, allocations: 19.81 kB / 426 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005428/0.4471, allocations: 158.6 kB / 426.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.378e-06/0.4472, allocations: 144 / 426.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4472, allocations: 0 / 426.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.509e-06/0.4472, allocations: 3.984 kB / 426.2 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003481/0.4475, allocations: 233.5 kB / 426.4 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.718e-05/0.4476, allocations: 8 kB / 426.4 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.611e-05/0.4477, allocations: 11.98 kB / 426.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.122e-06/0.4477, allocations: 0 / 426.4 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.4477, allocations: 7.938 kB / 426.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.4477, allocations: 0 / 426.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.692e-06/0.4478, allocations: 0 / 426.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.4482, allocations: 219.2 kB / 426.6 MB, free: 14.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.044e-05/0.4483, allocations: 96.88 kB / 426.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.08e-05/0.4484, allocations: 7.984 kB / 426.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001526/0.4485, allocations: 4 kB / 426.7 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.324e-05/0.4486, allocations: 11.98 kB / 426.7 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.381e-05/0.4486, allocations: 4 kB / 426.8 MB, free: 14.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002284/0.4489, allocations: 178 kB / 426.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.54e-07/0.4489, allocations: 0 / 426.9 MB, free: 14.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005851/0.4495, allocations: 83.92 kB / 427 MB, free: 14.27 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 (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.0004408/0.4499, allocations: 201.7 kB / 427.2 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005866/0.4505, allocations: 176.1 kB / 427.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.4505, allocations: 4 kB / 427.4 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.4508, allocations: 107.3 kB / 427.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.4512, allocations: 24.81 kB / 427.5 MB, free: 13.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009124/0.4521, allocations: 445.3 kB / 427.9 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.4526, allocations: 0.7401 MB / 428.7 MB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.432e-05/0.4526, allocations: 15.44 kB / 428.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of SimCode: time 1.514e-06/0.4526, allocations: 0 / 428.7 MB, free: 12.49 MB / 362.7 MB Notification: Performance of Templates: time 0.008917/0.4616, allocations: 4.55 MB / 433.3 MB, free: 7.938 MB / 362.7 MB