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_overall.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_overall,tolerance=1e-05,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_overall") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002764/0.002763, allocations: 357.4 kB / 15.95 MB, free: 6.211 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.192/4.192, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003568/0.003568, allocations: 230.6 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.6467/0.6467, allocations: 80.03 MB / 0.5627 GB, free: 19.83 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.000456, allocations: 8 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1031, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5837/0.6869, allocations: 94.19 MB / 0.7721 GB, free: 7.172 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004122/0.6873, allocations: 102 kB / 0.7722 GB, free: 7.109 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1112/0.7985, allocations: 24.04 MB / 0.7957 GB, free: 2.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7986, allocations: 0 / 0.7957 GB, free: 2.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.219e-05/0.7986, allocations: 8 kB / 0.7957 GB, free: 2.383 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001816/0.8004, allocations: 0.7621 MB / 0.7964 GB, free: 1.609 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.8005, allocations: 8.031 kB / 0.7964 GB, free: 1.602 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.8007, allocations: 55.34 kB / 0.7965 GB, free: 1.547 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005848/0.8013, allocations: 318.2 kB / 0.7968 GB, free: 1.211 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.625e-05/0.8013, allocations: 38.38 kB / 0.7968 GB, free: 1.188 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001106/0.8014, allocations: 55.44 kB / 0.7969 GB, free: 1.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.8034, allocations: 0.7799 MB / 0.7976 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.113e-05/0.8034, allocations: 0 / 0.7976 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.3e-05/0.8035, allocations: 30.38 kB / 0.7977 GB, free: 0.5391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-05/0.8036, allocations: 25.31 kB / 0.7977 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001785/0.8054, allocations: 0.5732 MB / 0.7982 GB, free: 68 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003768/0.8092, allocations: 1.669 MB / 0.7999 GB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.8102, allocations: 311.3 kB / 0.8002 GB, free: 14.26 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006289/0.8109, allocations: 157.3 kB / 0.8003 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.664e-05/0.811, allocations: 23.67 kB / 0.8003 GB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.811, allocations: 34.81 kB / 0.8004 GB, free: 14.05 MB / 394.7 MB Notification: Performance of pre-optimization done (n=20): time 3.396e-06/0.811, allocations: 0 / 0.8004 GB, free: 14.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=20): time 0.002311/0.8134, allocations: 0.5356 MB / 0.8009 GB, free: 13.55 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.936e-05/0.8135, allocations: 106.8 kB / 0.801 GB, free: 13.43 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.8146, allocations: 0.635 MB / 0.8016 GB, free: 12.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/0.8147, allocations: 29.2 kB / 0.8016 GB, free: 12.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002773/0.815, allocations: 289.8 kB / 0.8019 GB, free: 12.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000105/0.8151, allocations: 77.75 kB / 0.802 GB, free: 12.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/0.8152, allocations: 6.688 kB / 0.802 GB, free: 12.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.8154, allocations: 369.8 kB / 0.8024 GB, free: 12.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007672/0.8162, allocations: 196.8 kB / 0.8025 GB, free: 12.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000996/0.8172, allocations: 476.5 kB / 0.803 GB, free: 11.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009423/0.8182, allocations: 288.1 kB / 0.8033 GB, free: 11.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-05/0.8182, allocations: 8 kB / 0.8033 GB, free: 11.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002343/0.8206, allocations: 0.7093 MB / 0.804 GB, free: 10.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.8206, allocations: 8 kB / 0.804 GB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001541/0.8208, allocations: 50.58 kB / 0.804 GB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.599e-05/0.8209, allocations: 16 kB / 0.804 GB, free: 10.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005403/0.8214, allocations: 79.44 kB / 0.8041 GB, free: 10.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.817e-05/0.8215, allocations: 15.94 kB / 0.8041 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007841/0.8223, allocations: 94.06 kB / 0.8042 GB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-05/0.8224, allocations: 35.94 kB / 0.8043 GB, free: 10.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * 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.0004892/0.8229, allocations: 257.7 kB / 0.8045 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.823, allocations: 47.39 kB / 0.8046 GB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.8247, allocations: 491.6 kB / 0.805 GB, free: 9.699 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.8248, allocations: 4 kB / 0.805 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.8248, allocations: 4 kB / 0.805 GB, free: 9.691 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.8248, allocations: 11.97 kB / 0.805 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001018/0.8258, allocations: 401.9 kB / 0.8054 GB, free: 9.293 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001341/0.826, allocations: 38.92 kB / 0.8055 GB, free: 9.262 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000302/0.8263, allocations: 31.97 kB / 0.8055 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.055e-06/0.8263, allocations: 0 / 0.8055 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/0.8264, allocations: 14.64 kB / 0.8055 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.8264, allocations: 4 kB / 0.8055 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.8264, allocations: 4 kB / 0.8055 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001653/0.8281, allocations: 0.6413 MB / 0.8061 GB, free: 8.594 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.8284, allocations: 132.5 kB / 0.8063 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.8285, allocations: 3.312 kB / 0.8063 GB, free: 8.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.829, allocations: 27.67 kB / 0.8063 GB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.8292, allocations: 27.22 kB / 0.8063 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-05/0.8292, allocations: 15.38 kB / 0.8063 GB, free: 8.387 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008303/0.8301, allocations: 442.5 kB / 0.8068 GB, free: 8.043 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8301, allocations: 0 / 0.8068 GB, free: 8.043 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001297/0.8314, allocations: 198.3 kB / 0.8069 GB, free: 7.863 MB / 394.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.0008284/0.8322, allocations: 304.5 kB / 0.8072 GB, free: 7.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002083/0.8343, allocations: 0.7738 MB / 0.808 GB, free: 6.777 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.8344, allocations: 0 / 0.808 GB, free: 6.777 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000969/0.8354, allocations: 493.2 kB / 0.8085 GB, free: 6.242 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.8366, allocations: 120.2 kB / 0.8086 GB, free: 6.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.8398, allocations: 1.098 MB / 0.8096 GB, free: 5.078 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000674/0.8405, allocations: 0.9061 MB / 0.8105 GB, free: 4.16 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006309/0.8411, allocations: 128.5 kB / 0.8107 GB, free: 4.035 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.8413, allocations: 31.44 kB / 0.8107 GB, free: 4.004 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.8413, allocations: 0 / 0.8107 GB, free: 4.004 MB / 394.7 MB Notification: Performance of Templates: time 0.02956/0.8709, allocations: 10.33 MB / 0.8208 GB, free: 9.758 MB / 410.7 MB