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_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadModel(ModelicaTest): time 1.901/1.901, allocations: 209.3 MB / 224.8 MB, free: 288 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004277/0.0004279, allocations: 8 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3251/0.3255, allocations: 48.71 MB / 331.2 MB, free: 6.492 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC): time 0.002399/0.328, allocations: 1.747 MB / 333 MB, free: 5.516 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.3296, allocations: 0.963 MB / 333.9 MB, free: 4.84 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.3298, allocations: 5.094 kB / 333.9 MB, free: 4.836 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.3301, allocations: 78.45 kB / 334 MB, free: 4.793 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.3304, allocations: 80.69 kB / 334.1 MB, free: 4.738 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003052/0.3307, allocations: 92.38 kB / 334.2 MB, free: 4.703 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001822/0.3309, allocations: 137.9 kB / 334.3 MB, free: 4.629 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.543e-05/0.331, allocations: 30.67 kB / 334.3 MB, free: 4.609 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001442/0.3312, allocations: 67.72 kB / 334.4 MB, free: 4.578 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00013/0.3313, allocations: 77.78 kB / 334.5 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.3313, allocations: 5.438 kB / 334.5 MB, free: 4.543 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005072/0.3319, allocations: 262.8 kB / 334.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.864e-05/0.3319, allocations: 31.08 kB / 334.8 MB, free: 4.445 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.006e-05/0.332, allocations: 55.36 kB / 334.8 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.3323, allocations: 180.1 kB / 335 MB, free: 4.332 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.604e-06/0.3323, allocations: 0 / 335 MB, free: 4.332 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.918e-06/0.3323, allocations: 4 kB / 335 MB, free: 4.328 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.929e-06/0.3324, allocations: 0.9688 kB / 335 MB, free: 4.328 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0005551/0.3329, allocations: 467.7 kB / 335.5 MB, free: 3.902 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.333, allocations: 8.812 kB / 335.5 MB, free: 3.902 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.103e-05/0.333, allocations: 26.81 kB / 335.5 MB, free: 3.887 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.3332, allocations: 216 kB / 335.7 MB, free: 3.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.425e-05/0.3333, allocations: 17.12 kB / 335.7 MB, free: 3.652 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.676e-05/0.3333, allocations: 24.66 kB / 335.7 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004892/0.3338, allocations: 230.4 kB / 336 MB, free: 3.539 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3339, allocations: 3.938 kB / 336 MB, free: 3.535 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.4e-05/0.3339, allocations: 6.281 kB / 336 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.3339, allocations: 4.5 kB / 336 MB, free: 3.531 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000571/0.3345, allocations: 262.1 kB / 336.2 MB, free: 3.441 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.3356, allocations: 0.62 MB / 336.9 MB, free: 3.016 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003515/0.336, allocations: 104.8 kB / 337 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.336, allocations: 0.7031 kB / 337 MB, free: 2.973 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.3361, allocations: 36.09 kB / 337 MB, free: 2.93 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 2.583e-06/0.3361, allocations: 0 / 337 MB, free: 2.93 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006732/0.3368, allocations: 181.7 kB / 337.2 MB, free: 2.863 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.3368, allocations: 57.34 kB / 337.2 MB, free: 2.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.3371, allocations: 269.1 kB / 337.5 MB, free: 2.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.3372, allocations: 30.55 kB / 337.5 MB, free: 2.59 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.792e-05/0.3373, allocations: 226.3 kB / 337.7 MB, free: 2.375 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.3373, allocations: 35.86 kB / 337.8 MB, free: 2.344 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.3373, allocations: 0.7812 kB / 337.8 MB, free: 2.344 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.3374, allocations: 325.5 kB / 338.1 MB, free: 2.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002009/0.3376, allocations: 53.66 kB / 338.2 MB, free: 2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000239/0.3379, allocations: 143.6 kB / 338.3 MB, free: 1.855 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.3381, allocations: 81.72 kB / 338.4 MB, free: 1.816 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.865e-06/0.3381, allocations: 5.062 kB / 338.4 MB, free: 1.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006004/0.3387, allocations: 235.5 kB / 338.6 MB, free: 1.691 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/0.3388, allocations: 6.156 kB / 338.6 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.179e-06/0.3388, allocations: 3.344 kB / 338.6 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.3388, allocations: 6.094 kB / 338.6 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.3393, allocations: 86.05 kB / 338.7 MB, free: 1.672 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005898/0.3399, allocations: 1.219 MB / 339.9 MB, free: 468 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.3402, allocations: 43.08 kB / 340 MB, free: 440 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.785e-05/0.3402, allocations: 9.656 kB / 340 MB, free: 440 kB / 266.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.3404, allocations: 138.9 kB / 340.1 MB, free: 300 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.207e-05/0.3405, allocations: 22.81 kB / 340.1 MB, free: 288 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005582/0.341, allocations: 185.4 kB / 340.3 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.377e-06/0.3411, allocations: 1.406 kB / 340.3 MB, free: 176 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.617e-06/0.3411, allocations: 4 kB / 340.3 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.395e-06/0.3411, allocations: 0 / 340.3 MB, free: 172 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008619/0.342, allocations: 464.2 kB / 340.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.624e-06/0.342, allocations: 1.562 kB / 340.8 MB, free: 15.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003479/0.3423, allocations: 61.42 kB / 340.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.565e-06/0.3424, allocations: 2.344 kB / 340.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.3424, allocations: 1.906 kB / 340.8 MB, free: 15.74 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009993/0.3434, allocations: 1.212 MB / 342.1 MB, free: 14.53 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.92e-06/0.3434, allocations: 5.406 kB / 342.1 MB, free: 14.52 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005284/0.344, allocations: 267.2 kB / 342.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.344e-05/0.3441, allocations: 90.39 kB / 342.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.971e-05/0.3441, allocations: 7.141 kB / 342.4 MB, free: 14.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.3443, allocations: 10 kB / 342.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.3444, allocations: 13.41 kB / 342.4 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.3445, allocations: 7.062 kB / 342.4 MB, free: 14.19 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002455/0.3447, allocations: 184.7 kB / 342.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.3447, allocations: 0 / 342.6 MB, free: 14.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005358/0.3453, allocations: 77.72 kB / 342.7 MB, free: 14.04 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003073/0.3456, allocations: 143.6 kB / 342.8 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007499/0.3464, allocations: 180.5 kB / 343 MB, free: 13.88 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3464, allocations: 4.062 kB / 343 MB, free: 13.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.3468, allocations: 85.7 kB / 343.1 MB, free: 13.85 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003368/0.3472, allocations: 26.09 kB / 343.1 MB, free: 13.83 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.3482, allocations: 499.2 kB / 343.6 MB, free: 13.44 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004405/0.3487, allocations: 0.7324 MB / 344.3 MB, free: 12.72 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.006e-05/0.3488, allocations: 25.7 kB / 344.4 MB, free: 12.71 MB / 282.7 MB Notification: Performance of SimCode: time 1.436e-06/0.3488, allocations: 5.125 kB / 344.4 MB, free: 12.7 MB / 282.7 MB Notification: Performance of Templates: time 0.00843/0.3572, allocations: 4.207 MB / 348.6 MB, free: 10.54 MB / 282.7 MB