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_roundTube_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_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.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002935/0.00294, allocations: 361.4 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.068/4.068, allocations: 388.9 MB / 405.6 MB, free: 9.664 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.003577/0.003577, allocations: 226.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.5158/0.5158, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004696, allocations: 19.98 kB / 0.6265 GB, free: 96.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 54.87 MB / 0.6801 GB, free: 41.64 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5271/0.6282, allocations: 93.73 MB / 0.7716 GB, free: 7.633 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005843/0.6288, allocations: 102.5 kB / 0.7717 GB, free: 7.574 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06837/0.6972, allocations: 11.26 MB / 0.7827 GB, free: 13.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6973, allocations: 0 / 0.7827 GB, free: 13.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.308e-05/0.6973, allocations: 8 kB / 0.7827 GB, free: 13.71 MB / 378.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.001196/0.6985, allocations: 0.5981 MB / 0.7833 GB, free: 13.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.6986, allocations: 8.031 kB / 0.7833 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.6987, allocations: 39.53 kB / 0.7834 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.6992, allocations: 242 kB / 0.7836 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.619e-05/0.6992, allocations: 28.48 kB / 0.7836 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.6993, allocations: 35.81 kB / 0.7837 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.7004, allocations: 0.5756 MB / 0.7842 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.7004, allocations: 7.938 kB / 0.7842 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.747e-05/0.7005, allocations: 21.06 kB / 0.7843 GB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.7005, allocations: 15.95 kB / 0.7843 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008556/0.7014, allocations: 340.7 kB / 0.7846 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003937/0.7053, allocations: 4.046 MB / 0.7886 GB, free: 7.777 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006167/0.706, allocations: 103.7 kB / 0.7887 GB, free: 7.684 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002379/0.7062, allocations: 48.33 kB / 0.7887 GB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.7063, allocations: 0 / 0.7887 GB, free: 7.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.7063, allocations: 34.12 kB / 0.7887 GB, free: 7.598 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 3.667e-06/0.7064, allocations: 0 / 0.7887 GB, free: 7.598 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009417/0.7073, allocations: 183.3 kB / 0.7889 GB, free: 7.426 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.7074, allocations: 51.41 kB / 0.789 GB, free: 7.363 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00067/0.7081, allocations: 408.1 kB / 0.7893 GB, free: 7.031 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.7081, allocations: 25.7 kB / 0.7894 GB, free: 7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.7083, allocations: 253.6 kB / 0.7896 GB, free: 6.809 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.7084, allocations: 31.27 kB / 0.7896 GB, free: 6.781 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.181e-05/0.7084, allocations: 7.375 kB / 0.7896 GB, free: 6.777 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.7086, allocations: 355.9 kB / 0.79 GB, free: 6.438 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.7089, allocations: 62.98 kB / 0.79 GB, free: 6.383 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/0.7094, allocations: 265.1 kB / 0.7903 GB, free: 6.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.7098, allocations: 105 kB / 0.7904 GB, free: 5.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.7098, allocations: 0 / 0.7904 GB, free: 5.961 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001113/0.7109, allocations: 364 kB / 0.7907 GB, free: 5.645 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.339e-05/0.711, allocations: 8 kB / 0.7908 GB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/0.711, allocations: 8 kB / 0.7908 GB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.725e-05/0.711, allocations: 12 kB / 0.7908 GB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007477/0.7118, allocations: 110 kB / 0.7909 GB, free: 5.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/0.7128, allocations: 1.219 MB / 0.7921 GB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.7134, allocations: 62.84 kB / 0.7921 GB, free: 4.211 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.7134, allocations: 27 kB / 0.7922 GB, free: 4.188 MB / 378.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.0002395/0.7137, allocations: 149 kB / 0.7923 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.26e-05/0.7138, allocations: 42.8 kB / 0.7923 GB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007269/0.7145, allocations: 187.4 kB / 0.7925 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.7145, allocations: 0 / 0.7925 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.7146, allocations: 0 / 0.7925 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.7146, allocations: 0 / 0.7925 GB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004882/0.7151, allocations: 273.5 kB / 0.7928 GB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.7151, allocations: 8 kB / 0.7928 GB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004631/0.7156, allocations: 55.17 kB / 0.7928 GB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/0.7156, allocations: 3.953 kB / 0.7928 GB, free: 3.504 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.7156, allocations: 4 kB / 0.7928 GB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009326/0.7166, allocations: 1.205 MB / 0.794 GB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.7166, allocations: 3.953 kB / 0.794 GB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006219/0.7172, allocations: 241.3 kB / 0.7943 GB, free: 2.023 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.7174, allocations: 108.6 kB / 0.7944 GB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.7175, allocations: 3.688 kB / 0.7944 GB, free: 1.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.7177, allocations: 15.98 kB / 0.7944 GB, free: 1.883 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.7178, allocations: 7.984 kB / 0.7944 GB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.7179, allocations: 11.89 kB / 0.7944 GB, free: 1.863 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004409/0.7183, allocations: 269.6 kB / 0.7947 GB, free: 1.652 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7183, allocations: 0 / 0.7947 GB, free: 1.652 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009248/0.7193, allocations: 129.6 kB / 0.7948 GB, free: 1.535 MB / 378.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.0007137/0.72, allocations: 257.2 kB / 0.795 GB, free: 1.285 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.7211, allocations: 208.5 kB / 0.7952 GB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.7211, allocations: 0 / 0.7952 GB, free: 1.105 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005134/0.7216, allocations: 82.89 kB / 0.7953 GB, free: 1.035 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000573/0.7222, allocations: 45.3 kB / 0.7953 GB, free: 1.004 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.7236, allocations: 0.5752 MB / 0.7959 GB, free: 436 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004734/0.7241, allocations: 0.7758 MB / 0.7967 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002667/0.7244, allocations: 42.83 kB / 0.7967 GB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.852e-05/0.7245, allocations: 26.81 kB / 0.7967 GB, free: 15.55 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7245, allocations: 0 / 0.7967 GB, free: 15.55 MB / 394.7 MB Notification: Performance of Templates: time 0.02073/0.7452, allocations: 6.946 MB / 0.8035 GB, free: 8.664 MB / 394.7 MB