Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.2.|Nu.3.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002533/0.002538, allocations: 350.6 kB / 15.94 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.516/3.516, allocations: 341.5 MB / 358.2 MB, free: 12.61 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.004818/0.004818, allocations: 214.1 kB / 397.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5527/0.5527, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004794/0.0004794, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08761/0.08811, allocations: 48.71 MB / 0.6068 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4102/0.4984, allocations: 89.53 MB / 0.6942 GB, free: 23.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003716/0.4988, allocations: 99.92 kB / 0.6943 GB, free: 23.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05262/0.5515, allocations: 12.23 MB / 0.7062 GB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.5515, allocations: 4 kB / 0.7062 GB, free: 11.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.5515, allocations: 4 kB / 0.7062 GB, free: 11.07 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0009588/0.5525, allocations: 0.6076 MB / 0.7068 GB, free: 10.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.5526, allocations: 8.031 kB / 0.7068 GB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.447e-05/0.5527, allocations: 39.53 kB / 0.7069 GB, free: 10.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.553, allocations: 234.5 kB / 0.7071 GB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.553, allocations: 29 kB / 0.7071 GB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.396e-05/0.5531, allocations: 32 kB / 0.7071 GB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007237/0.5538, allocations: 370.5 kB / 0.7075 GB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.5539, allocations: 0 / 0.7075 GB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.5539, allocations: 16 kB / 0.7075 GB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.5539, allocations: 8 kB / 0.7075 GB, free: 9.652 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006127/0.5546, allocations: 275.8 kB / 0.7078 GB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.5561, allocations: 0.8841 MB / 0.7087 GB, free: 8.449 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.5564, allocations: 106.5 kB / 0.7088 GB, free: 8.336 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.5567, allocations: 48.89 kB / 0.7088 GB, free: 8.285 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.961e-05/0.5567, allocations: 3.984 kB / 0.7088 GB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.003e-05/0.5567, allocations: 38.56 kB / 0.7088 GB, free: 8.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.054e-06/0.5568, allocations: 0 / 0.7088 GB, free: 8.234 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0008511/0.5576, allocations: 205.9 kB / 0.709 GB, free: 8.031 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.5577, allocations: 59.41 kB / 0.7091 GB, free: 7.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004569/0.5581, allocations: 397.8 kB / 0.7095 GB, free: 7.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.5582, allocations: 25.7 kB / 0.7095 GB, free: 7.539 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.5583, allocations: 243 kB / 0.7097 GB, free: 7.293 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.9e-05/0.5584, allocations: 39.55 kB / 0.7098 GB, free: 7.254 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.819e-05/0.5584, allocations: 4 kB / 0.7098 GB, free: 7.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.812e-05/0.5585, allocations: 346.8 kB / 0.7101 GB, free: 6.902 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002582/0.5588, allocations: 64.23 kB / 0.7102 GB, free: 6.836 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.5591, allocations: 254.3 kB / 0.7104 GB, free: 6.496 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003141/0.5594, allocations: 103.9 kB / 0.7105 GB, free: 6.395 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.5595, allocations: 4 kB / 0.7105 GB, free: 6.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0008511/0.5603, allocations: 349.3 kB / 0.7108 GB, free: 6.043 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.5604, allocations: 4 kB / 0.7108 GB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-05/0.5604, allocations: 31.98 kB / 0.7109 GB, free: 6.008 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.5605, allocations: 12 kB / 0.7109 GB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003033/0.5608, allocations: 59.84 kB / 0.7109 GB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.483e-05/0.5608, allocations: 11.94 kB / 0.711 GB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003844/0.5612, allocations: 67.2 kB / 0.711 GB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/0.5613, allocations: 31.81 kB / 0.711 GB, free: 5.832 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0001596/0.5614, allocations: 147.7 kB / 0.7112 GB, free: 5.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.5615, allocations: 35.53 kB / 0.7112 GB, free: 5.645 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007597/0.5623, allocations: 218 kB / 0.7114 GB, free: 5.434 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/0.5623, allocations: 6.484 kB / 0.7114 GB, free: 5.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5623, allocations: 4 kB / 0.7114 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5623, allocations: 0 / 0.7114 GB, free: 5.426 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003676/0.5627, allocations: 281.4 kB / 0.7117 GB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.702e-05/0.5628, allocations: 23.95 kB / 0.7117 GB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.145e-05/0.5629, allocations: 17.23 kB / 0.7118 GB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.5629, allocations: 0 / 0.7118 GB, free: 5.066 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.5629, allocations: 4 kB / 0.7118 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.5629, allocations: 0 / 0.7118 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.5629, allocations: 0 / 0.7118 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005451/0.5635, allocations: 263.1 kB / 0.712 GB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.426e-05/0.5636, allocations: 116.5 kB / 0.7121 GB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.5637, allocations: 0 / 0.7121 GB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.5639, allocations: 12 kB / 0.7121 GB, free: 4.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.564, allocations: 7.984 kB / 0.7121 GB, free: 4.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.564, allocations: 8 kB / 0.7121 GB, free: 4.629 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003128/0.5643, allocations: 267.1 kB / 0.7124 GB, free: 4.371 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.353e-06/0.5643, allocations: 0 / 0.7124 GB, free: 4.371 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008409/0.5652, allocations: 143.8 kB / 0.7125 GB, free: 4.23 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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0006536/0.5659, allocations: 266.4 kB / 0.7128 GB, free: 3.965 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009291/0.5668, allocations: 319.3 kB / 0.7131 GB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5668, allocations: 0 / 0.7131 GB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000449/0.5673, allocations: 197 kB / 0.7133 GB, free: 3.418 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.5678, allocations: 34.11 kB / 0.7133 GB, free: 3.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.5691, allocations: 0.6179 MB / 0.7139 GB, free: 2.746 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.5694, allocations: 0.7872 MB / 0.7147 GB, free: 1.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001702/0.5696, allocations: 40.27 kB / 0.7147 GB, free: 1.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.5696, allocations: 19.44 kB / 0.7147 GB, free: 1.879 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.5696, allocations: 0 / 0.7147 GB, free: 1.879 MB / 362.7 MB Notification: Performance of Templates: time 0.02308/0.5927, allocations: 8.539 MB / 0.7231 GB, free: 9.477 MB / 378.7 MB