Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/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.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002637/0.002637, allocations: 362.5 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.088/4.088, allocations: 388.9 MB / 405.6 MB, free: 9.637 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003666/0.003666, allocations: 232.3 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5543/0.5543, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006149/0.0006153, allocations: 8 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1011, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4586/0.5597, allocations: 87.44 MB / 0.7655 GB, free: 13.89 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003834/0.5601, allocations: 96.75 kB / 0.7656 GB, free: 13.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0311/0.5913, allocations: 6.79 MB / 0.7722 GB, free: 8 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5913, allocations: 0 / 0.7722 GB, free: 8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.5913, allocations: 7.938 kB / 0.7722 GB, free: 7.992 MB / 362.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.0007777/0.5921, allocations: 489.4 kB / 0.7727 GB, free: 7.484 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.5922, allocations: 8.031 kB / 0.7727 GB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.315e-05/0.5923, allocations: 27.67 kB / 0.7727 GB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.5926, allocations: 214.2 kB / 0.7729 GB, free: 7.203 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.5926, allocations: 22.19 kB / 0.773 GB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.953e-05/0.5926, allocations: 18.12 kB / 0.773 GB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006202/0.5933, allocations: 226.9 kB / 0.7732 GB, free: 7.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.5933, allocations: 7.922 kB / 0.7732 GB, free: 7.012 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.615e-05/0.5934, allocations: 7.125 kB / 0.7732 GB, free: 7.012 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/0.5934, allocations: 12 kB / 0.7732 GB, free: 7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006989/0.5941, allocations: 260.1 kB / 0.7735 GB, free: 6.824 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.5955, allocations: 0.6145 MB / 0.7741 GB, free: 6.254 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005861/0.5961, allocations: 115.5 kB / 0.7742 GB, free: 6.148 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.5964, allocations: 47.08 kB / 0.7742 GB, free: 6.105 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.522e-05/0.5964, allocations: 4 kB / 0.7742 GB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.5965, allocations: 38.19 kB / 0.7743 GB, free: 6.059 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.705e-06/0.5965, allocations: 0 / 0.7743 GB, free: 6.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008814/0.5974, allocations: 186.4 kB / 0.7744 GB, free: 5.887 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.215e-05/0.5974, allocations: 55.36 kB / 0.7745 GB, free: 5.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004031/0.5978, allocations: 260.1 kB / 0.7747 GB, free: 5.602 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.5979, allocations: 33.64 kB / 0.7748 GB, free: 5.562 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.598, allocations: 175.4 kB / 0.7749 GB, free: 5.418 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.5981, allocations: 34.23 kB / 0.775 GB, free: 5.391 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/0.5981, allocations: 3.625 kB / 0.775 GB, free: 5.391 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5983, allocations: 336.2 kB / 0.7753 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002693/0.5985, allocations: 52.47 kB / 0.7753 GB, free: 5.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003373/0.5989, allocations: 150.5 kB / 0.7755 GB, free: 4.844 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.5992, allocations: 73.72 kB / 0.7756 GB, free: 4.785 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.5992, allocations: 0 / 0.7756 GB, free: 4.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008357/0.6001, allocations: 239.9 kB / 0.7758 GB, free: 4.578 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.6001, allocations: 8 kB / 0.7758 GB, free: 4.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.6002, allocations: 11.98 kB / 0.7758 GB, free: 4.559 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.6002, allocations: 7.938 kB / 0.7758 GB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.6009, allocations: 86.09 kB / 0.7759 GB, free: 4.473 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00091/0.6018, allocations: 1.228 MB / 0.7771 GB, free: 3.219 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003876/0.6022, allocations: 39.61 kB / 0.7771 GB, free: 3.184 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.6023, allocations: 8 kB / 0.7771 GB, free: 3.176 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 (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.0001938/0.6025, allocations: 136.3 kB / 0.7773 GB, free: 3.043 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.278e-05/0.6025, allocations: 24.09 kB / 0.7773 GB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007332/0.6033, allocations: 180.8 kB / 0.7775 GB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.6033, allocations: 7.984 kB / 0.7775 GB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6033, allocations: 0 / 0.7775 GB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.6033, allocations: 0 / 0.7775 GB, free: 2.855 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.6044, allocations: 456.6 kB / 0.7779 GB, free: 2.387 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.573e-06/0.6044, allocations: 8.031 kB / 0.7779 GB, free: 2.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004926/0.6049, allocations: 57.91 kB / 0.778 GB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.568e-06/0.6049, allocations: 4 kB / 0.778 GB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.925e-05/0.605, allocations: 0 / 0.778 GB, free: 2.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008335/0.6058, allocations: 1.219 MB / 0.7792 GB, free: 1.082 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.6058, allocations: 4.734 kB / 0.7792 GB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006327/0.6065, allocations: 249.6 kB / 0.7794 GB, free: 0.8281 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.6066, allocations: 104.7 kB / 0.7795 GB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.065e-05/0.6067, allocations: 3.438 kB / 0.7795 GB, free: 0.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.6069, allocations: 11.98 kB / 0.7795 GB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.55e-05/0.607, allocations: 11.3 kB / 0.7795 GB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.607, allocations: 4 kB / 0.7795 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002493/0.6073, allocations: 190 kB / 0.7797 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6073, allocations: 0 / 0.7797 GB, free: 0.5273 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005835/0.6079, allocations: 66.69 kB / 0.7798 GB, free: 480 kB / 362.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.000415/0.6083, allocations: 186 kB / 0.78 GB, free: 288 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009602/0.6093, allocations: 186 kB / 0.7801 GB, free: 124 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6093, allocations: 3.062 kB / 0.7801 GB, free: 124 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000524/0.6099, allocations: 91.89 kB / 0.7802 GB, free: 40 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.6104, allocations: 28.52 kB / 0.7803 GB, free: 20 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.6115, allocations: 466.7 kB / 0.7807 GB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.6119, allocations: 0.7326 MB / 0.7814 GB, free: 14.78 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001538/0.612, allocations: 25.94 kB / 0.7814 GB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.177e-05/0.6121, allocations: 15.44 kB / 0.7815 GB, free: 14.74 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6121, allocations: 0 / 0.7815 GB, free: 14.74 MB / 378.7 MB Notification: Performance of Templates: time 0.0122/0.6243, allocations: 3.756 MB / 0.7851 GB, free: 11.04 MB / 378.7 MB