Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar.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.StraightPipe.kc_laminar,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002677/0.002677, allocations: 361.2 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.176/4.176, allocations: 388.9 MB / 405.6 MB, free: 10.24 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.00374/0.00374, allocations: 229.1 kB / 451 MB, free: 145.1 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.5636/0.5636, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004991/0.0004994, allocations: 16 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1113, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.51/0.6214, allocations: 88.75 MB / 0.7668 GB, free: 12.6 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005515/0.622, allocations: 98.88 kB / 0.7669 GB, free: 12.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05576/0.6778, allocations: 12.16 MB / 0.7787 GB, free: 1.879 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.718e-06/0.6779, allocations: 7.984 kB / 0.7788 GB, free: 1.871 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.849e-05/0.6779, allocations: 4 kB / 0.7788 GB, free: 1.867 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001616/0.6795, allocations: 0.6812 MB / 0.7794 GB, free: 1.164 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.6796, allocations: 8.031 kB / 0.7794 GB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001597/0.6797, allocations: 47.42 kB / 0.7795 GB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005435/0.6803, allocations: 297.5 kB / 0.7798 GB, free: 0.793 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.6804, allocations: 34.94 kB / 0.7798 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.6805, allocations: 41.81 kB / 0.7798 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.6822, allocations: 0.6653 MB / 0.7805 GB, free: 220 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.626e-05/0.6823, allocations: 7.938 kB / 0.7805 GB, free: 212 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.992e-05/0.6824, allocations: 23.33 kB / 0.7805 GB, free: 204 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/0.6824, allocations: 25 kB / 0.7805 GB, free: 180 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001684/0.6841, allocations: 0.495 MB / 0.781 GB, free: 15.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003535/0.6877, allocations: 1.499 MB / 0.7825 GB, free: 14.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.6888, allocations: 316.3 kB / 0.7828 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006467/0.6894, allocations: 164.8 kB / 0.7829 GB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.923e-05/0.6895, allocations: 11.48 kB / 0.783 GB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.6896, allocations: 38.5 kB / 0.783 GB, free: 13.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 2.976e-06/0.6896, allocations: 4 kB / 0.783 GB, free: 13.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.00231/0.6919, allocations: 0.5337 MB / 0.7835 GB, free: 13.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.63e-05/0.692, allocations: 106.9 kB / 0.7836 GB, free: 13.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.6931, allocations: 0.5378 MB / 0.7841 GB, free: 12.82 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.848e-05/0.6932, allocations: 29.14 kB / 0.7842 GB, free: 12.79 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.6934, allocations: 230.4 kB / 0.7844 GB, free: 12.64 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.6935, allocations: 70.45 kB / 0.7845 GB, free: 12.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.6936, allocations: 3.812 kB / 0.7845 GB, free: 12.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.6938, allocations: 352.4 kB / 0.7848 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007219/0.6945, allocations: 170.3 kB / 0.785 GB, free: 12.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008149/0.6953, allocations: 286.8 kB / 0.7852 GB, free: 11.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.6961, allocations: 207.6 kB / 0.7854 GB, free: 11.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.6962, allocations: 0 / 0.7854 GB, free: 11.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001889/0.6981, allocations: 0.5217 MB / 0.7859 GB, free: 11.13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.6981, allocations: 4.5 kB / 0.7859 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/0.6983, allocations: 48.3 kB / 0.786 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.6983, allocations: 7.953 kB / 0.786 GB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004079/0.6987, allocations: 47.89 kB / 0.786 GB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.6988, allocations: 8 kB / 0.7861 GB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/0.6994, allocations: 74.28 kB / 0.7861 GB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/0.6995, allocations: 23.48 kB / 0.7861 GB, free: 10.94 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004329/0.7, allocations: 219.4 kB / 0.7864 GB, free: 10.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000161/0.7002, allocations: 35.53 kB / 0.7864 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001636/0.7018, allocations: 462.5 kB / 0.7868 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/0.7019, allocations: 7.953 kB / 0.7868 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.913e-06/0.7019, allocations: 0 / 0.7868 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.7019, allocations: 4 kB / 0.7868 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/0.7029, allocations: 387.4 kB / 0.7872 GB, free: 9.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001274/0.7031, allocations: 36.92 kB / 0.7872 GB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003222/0.7034, allocations: 39.91 kB / 0.7873 GB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/0.7034, allocations: 0 / 0.7873 GB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.105e-05/0.7035, allocations: 11.25 kB / 0.7873 GB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.7035, allocations: 0 / 0.7873 GB, free: 9.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.008e-05/0.7035, allocations: 11.95 kB / 0.7873 GB, free: 9.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/0.7053, allocations: 0.6322 MB / 0.7879 GB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002365/0.7056, allocations: 121.1 kB / 0.788 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001151/0.7057, allocations: 9.859 kB / 0.788 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005365/0.7062, allocations: 22.55 kB / 0.7881 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.7064, allocations: 28.53 kB / 0.7881 GB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.709e-05/0.7065, allocations: 14.25 kB / 0.7881 GB, free: 9.023 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008389/0.7073, allocations: 391.7 kB / 0.7885 GB, free: 8.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7073, allocations: 3.938 kB / 0.7885 GB, free: 8.711 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009817/0.7083, allocations: 146.6 kB / 0.7886 GB, free: 8.578 MB / 378.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0005432/0.7089, allocations: 209.3 kB / 0.7888 GB, free: 8.371 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001867/0.7108, allocations: 0.6817 MB / 0.7895 GB, free: 7.656 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.69e-06/0.7108, allocations: 0.875 kB / 0.7895 GB, free: 7.656 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009845/0.7118, allocations: 497.4 kB / 0.79 GB, free: 7.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.7131, allocations: 112.3 kB / 0.7901 GB, free: 7.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.716, allocations: 0.9923 MB / 0.791 GB, free: 6.062 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/0.7167, allocations: 0.8798 MB / 0.7919 GB, free: 5.172 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000461/0.7172, allocations: 87.3 kB / 0.792 GB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.7173, allocations: 31.42 kB / 0.792 GB, free: 5.055 MB / 378.7 MB Notification: Performance of SimCode: time 9.398e-06/0.7174, allocations: 0 / 0.792 GB, free: 5.055 MB / 378.7 MB Notification: Performance of Templates: time 0.02476/0.7421, allocations: 8.484 MB / 0.8003 GB, free: 12.65 MB / 394.7 MB