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_KC.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_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_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00273/0.002737, allocations: 347.3 kB / 15.94 MB, free: 6.219 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.788/3.788, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003512/0.003512, allocations: 221.3 kB / 397.9 MB, free: 4.973 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.56/0.56, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007171/0.0007176, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1239/0.1247, allocations: 48.7 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4614/0.5861, allocations: 87.12 MB / 0.6918 GB, free: 25.62 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003469/0.5865, allocations: 102.6 kB / 0.6919 GB, free: 25.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04889/0.6354, allocations: 11.15 MB / 0.7028 GB, free: 14.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.6355, allocations: 3.984 kB / 0.7028 GB, free: 14.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.58e-05/0.6355, allocations: 8 kB / 0.7028 GB, free: 14.59 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.0008616/0.6364, allocations: 0.5937 MB / 0.7034 GB, free: 13.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.6364, allocations: 12.03 kB / 0.7034 GB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.6365, allocations: 35.53 kB / 0.7034 GB, free: 13.9 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.6368, allocations: 254.4 kB / 0.7037 GB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.6369, allocations: 29 kB / 0.7037 GB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.347e-05/0.6369, allocations: 32 kB / 0.7037 GB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008357/0.6378, allocations: 0.5779 MB / 0.7043 GB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/0.6378, allocations: 11.94 kB / 0.7043 GB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.116e-05/0.6379, allocations: 16 kB / 0.7043 GB, free: 12.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.6379, allocations: 12 kB / 0.7044 GB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007385/0.6386, allocations: 341 kB / 0.7047 GB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002506/0.6412, allocations: 4.043 MB / 0.7086 GB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005409/0.6418, allocations: 102.5 kB / 0.7087 GB, free: 8.129 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000212/0.642, allocations: 52.84 kB / 0.7088 GB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.119e-05/0.6421, allocations: 0 / 0.7088 GB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.077e-05/0.6421, allocations: 34.56 kB / 0.7088 GB, free: 8.031 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.6421, allocations: 4 kB / 0.7088 GB, free: 8.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008016/0.6429, allocations: 177.1 kB / 0.709 GB, free: 7.848 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.643, allocations: 59.41 kB / 0.709 GB, free: 7.777 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.6435, allocations: 401.7 kB / 0.7094 GB, free: 7.379 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.6435, allocations: 33.7 kB / 0.7095 GB, free: 7.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.6437, allocations: 243 kB / 0.7097 GB, free: 7.098 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.744e-05/0.6438, allocations: 39.62 kB / 0.7097 GB, free: 7.059 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.797e-05/0.6438, allocations: 4 kB / 0.7097 GB, free: 7.055 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.6439, allocations: 346.8 kB / 0.7101 GB, free: 6.707 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.6442, allocations: 60.61 kB / 0.7101 GB, free: 6.645 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/0.6445, allocations: 268.4 kB / 0.7104 GB, free: 6.281 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/0.6449, allocations: 103.3 kB / 0.7105 GB, free: 6.184 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.6449, allocations: 7.938 kB / 0.7105 GB, free: 6.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009289/0.6458, allocations: 361.2 kB / 0.7108 GB, free: 5.816 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.6459, allocations: 8 kB / 0.7108 GB, free: 5.809 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.6459, allocations: 9.5 kB / 0.7108 GB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.009e-05/0.6459, allocations: 12 kB / 0.7108 GB, free: 5.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006867/0.6466, allocations: 107.8 kB / 0.711 GB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006492/0.6473, allocations: 1.227 MB / 0.7121 GB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.6478, allocations: 63.28 kB / 0.7122 GB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.815e-05/0.6479, allocations: 23.98 kB / 0.7122 GB, free: 4.324 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.0001893/0.6481, allocations: 149.7 kB / 0.7124 GB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.6481, allocations: 39.72 kB / 0.7124 GB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006654/0.6488, allocations: 179.4 kB / 0.7126 GB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6488, allocations: 0 / 0.7126 GB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.6489, allocations: 0 / 0.7126 GB, free: 3.953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.6489, allocations: 3.953 kB / 0.7126 GB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003895/0.6493, allocations: 277.5 kB / 0.7129 GB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6493, allocations: 0 / 0.7129 GB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004334/0.6497, allocations: 54.23 kB / 0.7129 GB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.543e-06/0.6497, allocations: 4 kB / 0.7129 GB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.6498, allocations: 7.984 kB / 0.7129 GB, free: 3.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005767/0.6504, allocations: 1.203 MB / 0.7141 GB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6504, allocations: 0 / 0.7141 GB, free: 2.316 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005292/0.6509, allocations: 251.1 kB / 0.7143 GB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.651, allocations: 104.6 kB / 0.7144 GB, free: 1.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.004e-05/0.6511, allocations: 10.52 kB / 0.7144 GB, free: 1.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.6514, allocations: 8 kB / 0.7144 GB, free: 1.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.6515, allocations: 11.98 kB / 0.7145 GB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.717e-05/0.6515, allocations: 4 kB / 0.7145 GB, free: 1.902 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003928/0.6519, allocations: 267.1 kB / 0.7147 GB, free: 1.645 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6519, allocations: 0 / 0.7147 GB, free: 1.645 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000838/0.6528, allocations: 127.9 kB / 0.7148 GB, free: 1.52 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.0006067/0.6534, allocations: 247.1 kB / 0.7151 GB, free: 1.273 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.6545, allocations: 213.1 kB / 0.7153 GB, free: 1.066 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6545, allocations: 0 / 0.7153 GB, free: 1.066 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004749/0.655, allocations: 88.38 kB / 0.7154 GB, free: 0.9805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005897/0.6556, allocations: 41.91 kB / 0.7154 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.6569, allocations: 0.5879 MB / 0.716 GB, free: 348 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.6573, allocations: 0.7774 MB / 0.7167 GB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002815/0.6576, allocations: 40.77 kB / 0.7168 GB, free: 15.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.215e-05/0.6577, allocations: 23.44 kB / 0.7168 GB, free: 15.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.223e-06/0.6578, allocations: 0 / 0.7168 GB, free: 15.48 MB / 378.7 MB Notification: Performance of Templates: time 0.02125/0.679, allocations: 6.865 MB / 0.7235 GB, free: 8.754 MB / 378.7 MB