Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadModel(ModelicaTest): time 2.058/2.058, allocations: 209.2 MB / 225.4 MB, free: 1.559 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006491/0.0006493, allocations: 11.98 kB / 283.1 MB, free: 9.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.123, allocations: 48.71 MB / 331.8 MB, free: 9.016 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5356/0.6587, allocations: 87.11 MB / 418.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004064/0.6592, allocations: 102.7 kB / 419 MB, free: 14.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05523/0.7144, allocations: 11.15 MB / 430.2 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.7145, allocations: 0 / 430.2 MB, free: 2.836 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.7145, allocations: 4 kB / 430.2 MB, free: 2.832 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.00103/0.7155, allocations: 0.5915 MB / 430.8 MB, free: 2.195 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.7156, allocations: 12.03 kB / 430.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.381e-05/0.7157, allocations: 39.53 kB / 430.8 MB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.7161, allocations: 254.2 kB / 431.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/0.7162, allocations: 25 kB / 431.1 MB, free: 1.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.7162, allocations: 39.94 kB / 431.1 MB, free: 1.789 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.7173, allocations: 0.5726 MB / 431.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.7174, allocations: 3.938 kB / 431.7 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.477e-05/0.7174, allocations: 20 kB / 431.7 MB, free: 1.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.7175, allocations: 16 kB / 431.7 MB, free: 1.047 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009225/0.7184, allocations: 341 kB / 432.1 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003733/0.7221, allocations: 4.055 MB / 436.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006379/0.7228, allocations: 106.5 kB / 436.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.7229, allocations: 4 kB / 436.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.7229, allocations: 42.47 kB / 436.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 2.785e-06/0.723, allocations: 4 kB / 436.3 MB, free: 12.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009007/0.7239, allocations: 177.3 kB / 436.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.7239, allocations: 55.39 kB / 436.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006856/0.7246, allocations: 413.7 kB / 436.9 MB, free: 11.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.7247, allocations: 25.7 kB / 436.9 MB, free: 11.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.7249, allocations: 289.5 kB / 437.2 MB, free: 11.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.73e-05/0.725, allocations: 27.64 kB / 437.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.146e-05/0.725, allocations: 8 kB / 437.3 MB, free: 11.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.7252, allocations: 322.8 kB / 437.6 MB, free: 10.95 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003134/0.7255, allocations: 64.61 kB / 437.6 MB, free: 10.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004617/0.726, allocations: 270.3 kB / 437.9 MB, free: 10.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004148/0.7264, allocations: 99.91 kB / 438 MB, free: 10.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.7265, allocations: 4 kB / 438 MB, free: 10.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001045/0.7275, allocations: 341 kB / 438.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.7276, allocations: 8 kB / 438.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.7276, allocations: 8 kB / 438.4 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.897e-05/0.7276, allocations: 8 kB / 438.4 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/0.7284, allocations: 116.4 kB / 438.5 MB, free: 9.941 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.7294, allocations: 1.219 MB / 439.7 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005173/0.73, allocations: 67.36 kB / 439.8 MB, free: 8.609 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-05/0.73, allocations: 20.19 kB / 439.8 MB, free: 8.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0002633/0.7303, allocations: 149.7 kB / 439.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.44e-05/0.7304, allocations: 35.53 kB / 440 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007769/0.7312, allocations: 180.8 kB / 440.1 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.7312, allocations: 3.984 kB / 440.1 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.7313, allocations: 7.953 kB / 440.2 MB, free: 8.199 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7313, allocations: 4 kB / 440.2 MB, free: 8.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004965/0.7318, allocations: 273.5 kB / 440.4 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.7318, allocations: 0 / 440.4 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.7323, allocations: 55.95 kB / 440.5 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.7323, allocations: 0 / 440.5 MB, free: 7.824 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.7323, allocations: 4 kB / 440.5 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000978/0.7333, allocations: 1.211 MB / 441.7 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7333, allocations: 0 / 441.7 MB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006867/0.734, allocations: 247.1 kB / 441.9 MB, free: 6.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/0.7343, allocations: 108.6 kB / 442 MB, free: 6.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.113e-05/0.7344, allocations: 3.984 kB / 442 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.7346, allocations: 8 kB / 442 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.7347, allocations: 7.984 kB / 442.1 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.91e-05/0.7347, allocations: 4 kB / 442.1 MB, free: 6.156 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004666/0.7352, allocations: 275.1 kB / 442.3 MB, free: 5.891 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.7352, allocations: 3.938 kB / 442.3 MB, free: 5.887 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008809/0.7361, allocations: 123.9 kB / 442.5 MB, free: 5.766 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 (7): * Single equations (assignments): 5 * 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.000725/0.7369, allocations: 248.6 kB / 442.7 MB, free: 5.516 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/0.738, allocations: 213.6 kB / 442.9 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.738, allocations: 4 kB / 442.9 MB, free: 5.305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005556/0.7386, allocations: 87.88 kB / 443 MB, free: 5.219 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004682/0.7391, allocations: 45.83 kB / 443 MB, free: 5.176 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.7404, allocations: 0.6023 MB / 443.6 MB, free: 4.543 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004289/0.7409, allocations: 0.7797 MB / 444.4 MB, free: 3.738 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.741, allocations: 27.44 kB / 444.4 MB, free: 3.715 MB / 362.7 MB Notification: Performance of SimCode: time 1.223e-06/0.741, allocations: 0 / 444.4 MB, free: 3.715 MB / 362.7 MB Notification: Performance of Templates: time 0.01601/0.7571, allocations: 6.977 MB / 451.4 MB, free: 12.75 MB / 378.7 MB