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_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.StraightPipe.kc_overall_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|kc_4.1.|kc_4.2.|kc_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004159/0.004159, allocations: 367.1 kB / 15.96 MB, free: 6.18 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.005/4.005, allocations: 388.9 MB / 405.6 MB, free: 9.57 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.003517/0.003516, allocations: 220.1 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.5521/0.5521, allocations: 80.02 MB / 0.5627 GB, free: 19.74 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004705/0.0004707, allocations: 8 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09666/0.09716, allocations: 54.89 MB / 0.6801 GB, free: 41.61 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.002499/0.09972, allocations: 1.795 MB / 0.6819 GB, free: 39.79 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002992/0.1028, allocations: 1.642 MB / 0.6835 GB, free: 38.14 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001517/0.103, allocations: 4 kB / 0.6835 GB, free: 38.14 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.1033, allocations: 55.66 kB / 0.6835 GB, free: 38.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004785/0.1038, allocations: 143.3 kB / 0.6837 GB, free: 37.95 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.1048, allocations: 282 kB / 0.684 GB, free: 37.67 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005799/0.1054, allocations: 0.5288 MB / 0.6845 GB, free: 37.14 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.1055, allocations: 65.31 kB / 0.6845 GB, free: 37.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002171/0.1058, allocations: 155.2 kB / 0.6847 GB, free: 36.92 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003559/0.1061, allocations: 230.9 kB / 0.6849 GB, free: 36.7 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-05/0.1062, allocations: 12 kB / 0.6849 GB, free: 36.68 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001199/0.1074, allocations: 0.5576 MB / 0.6855 GB, free: 36.12 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.1075, allocations: 111.5 kB / 0.6856 GB, free: 36.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.598e-05/0.1077, allocations: 93.45 kB / 0.6857 GB, free: 35.92 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006697/0.1083, allocations: 474.7 kB / 0.6861 GB, free: 35.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1084, allocations: 0 / 0.6861 GB, free: 35.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1084, allocations: 0 / 0.6861 GB, free: 35.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.1084, allocations: 0 / 0.6861 GB, free: 35.45 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001449/0.1098, allocations: 0.7291 MB / 0.6868 GB, free: 34.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.1099, allocations: 8.562 kB / 0.6868 GB, free: 34.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.11, allocations: 51.34 kB / 0.6869 GB, free: 34.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.1105, allocations: 306.2 kB / 0.6872 GB, free: 34.28 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/0.1105, allocations: 45.3 kB / 0.6872 GB, free: 34.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-05/0.1106, allocations: 48 kB / 0.6873 GB, free: 34.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/0.1122, allocations: 0.7598 MB / 0.688 GB, free: 33.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.1122, allocations: 7.953 kB / 0.688 GB, free: 33.42 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.64e-05/0.1123, allocations: 20 kB / 0.688 GB, free: 33.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.747e-05/0.1124, allocations: 53.28 kB / 0.6881 GB, free: 33.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.1143, allocations: 0.8091 MB / 0.6889 GB, free: 32.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003059/0.1174, allocations: 1.508 MB / 0.6903 GB, free: 30.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.1186, allocations: 451.3 kB / 0.6908 GB, free: 30.53 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004706/0.1191, allocations: 173.1 kB / 0.6909 GB, free: 30.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.743e-05/0.1192, allocations: 12.56 kB / 0.6909 GB, free: 30.34 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.1192, allocations: 42.48 kB / 0.691 GB, free: 30.29 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 3.496e-06/0.1192, allocations: 0 / 0.691 GB, free: 30.29 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001697/0.1209, allocations: 0.5571 MB / 0.6915 GB, free: 29.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.121, allocations: 51.41 kB / 0.6916 GB, free: 29.67 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000853/0.1219, allocations: 0.5719 MB / 0.6921 GB, free: 29.09 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.1219, allocations: 33.7 kB / 0.6922 GB, free: 29.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.1221, allocations: 275.4 kB / 0.6924 GB, free: 28.77 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.66e-05/0.1222, allocations: 106.5 kB / 0.6925 GB, free: 28.67 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.1223, allocations: 12 kB / 0.6925 GB, free: 28.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001046/0.1224, allocations: 362.8 kB / 0.6929 GB, free: 28.29 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.1229, allocations: 192.9 kB / 0.6931 GB, free: 28.11 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006619/0.1236, allocations: 433.1 kB / 0.6935 GB, free: 27.57 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006749/0.1243, allocations: 272.6 kB / 0.6937 GB, free: 27.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.435e-06/0.1243, allocations: 4 kB / 0.6938 GB, free: 27.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001708/0.1261, allocations: 0.6878 MB / 0.6944 GB, free: 26.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.1261, allocations: 8 kB / 0.6944 GB, free: 26.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.1261, allocations: 8 kB / 0.6944 GB, free: 26.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.516e-05/0.1262, allocations: 12 kB / 0.6944 GB, free: 26.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001787/0.128, allocations: 256.4 kB / 0.6947 GB, free: 26.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003493/0.1315, allocations: 7.31 MB / 0.7018 GB, free: 18.74 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007404/0.1323, allocations: 99.17 kB / 0.7019 GB, free: 18.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.479e-05/0.1324, allocations: 39.98 kB / 0.702 GB, free: 18.6 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,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 (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004214/0.1328, allocations: 265.4 kB / 0.7022 GB, free: 18.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.627e-05/0.1329, allocations: 43.44 kB / 0.7023 GB, free: 18.29 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.1346, allocations: 0.5643 MB / 0.7028 GB, free: 17.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.1346, allocations: 3.984 kB / 0.7028 GB, free: 17.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1346, allocations: 4 kB / 0.7028 GB, free: 17.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.1348, allocations: 124.5 kB / 0.7029 GB, free: 17.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001361/0.1349, allocations: 8 kB / 0.7029 GB, free: 17.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.1354, allocations: 15.98 kB / 0.703 GB, free: 17.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.901e-05/0.1355, allocations: 27.97 kB / 0.703 GB, free: 17.52 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003055/0.1385, allocations: 0.7953 MB / 0.7038 GB, free: 16.68 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001874/0.1405, allocations: 0.8309 MB / 0.7046 GB, free: 15.83 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004934/0.141, allocations: 167.8 kB / 0.7047 GB, free: 15.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006039/0.1416, allocations: 402.8 kB / 0.7051 GB, free: 15.27 MB / 346.7 MB Notification: Performance of Backend: time 5.62e-07/0.1416, allocations: 4 kB / 0.7051 GB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003243/0.1449, allocations: 0.6725 MB / 0.7058 GB, free: 14.59 MB / 346.7 MB Notification: Performance of SimCode: time 0.002426/0.1474, allocations: 1.621 MB / 0.7074 GB, free: 12.93 MB / 346.7 MB Notification: Performance of Templates: time 0.0255/0.1729, allocations: 10.64 MB / 0.7178 GB, free: 2.355 MB / 346.7 MB "" Variables in the reference: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],Nu[1],Nu[2],Nu[3],m_flow_1[1],m_flow_1[2],m_flow_1[3],m_flow_2[1],m_flow_2[2],m_flow_2[3],m_flow_3[1],m_flow_3[2],m_flow_3[3],m_flow_4[1],m_flow_4[2],m_flow_4[3],kc_1[1],kc_1[2],kc_1[3],kc_2[1],kc_2[2],kc_2[3],kc_3[1],kc_3[2],kc_3[3],kc_4[1],kc_4[2],kc_4[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],Re_3[1],Re_3[2],Re_3[3],Re_4[1],Re_4[2],Re_4[3],input_Nu.y Variables in the result:L,Nu[1],Nu[2],Nu[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],Re_3[1],Re_3[2],Re_3[3],Re_4[1],Re_4[2],Re_4[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc_1[1],kc_1[2],kc_1[3],kc_2[1],kc_2[2],kc_2[3],kc_3[1],kc_3[2],kc_3[3],kc_4[1],kc_4[2],kc_4[3],lambda[1],lambda[2],lambda[3],m_flow_1[1],m_flow_1[2],m_flow_1[3],m_flow_2[1],m_flow_2[2],m_flow_2[3],m_flow_3[1],m_flow_3[2],m_flow_3[3],m_flow_4[1],m_flow_4[2],m_flow_4[3],m_flow_IN_con_1[1].L,m_flow_IN_con_1[1].d_hyd,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].d_hyd,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_3[1].L,m_flow_IN_con_3[1].d_hyd,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].d_hyd,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].d_hyd,m_flow_IN_con_4[1].L,m_flow_IN_con_4[1].d_hyd,m_flow_IN_con_4[2].L,m_flow_IN_con_4[2].d_hyd,m_flow_IN_con_4[3].L,m_flow_IN_con_4[3].d_hyd,m_flow_IN_var_1[1].cp,m_flow_IN_var_1[1].eta,m_flow_IN_var_1[1].lambda,m_flow_IN_var_1[1].rho,m_flow_IN_var_1[2].cp,m_flow_IN_var_1[2].eta,m_flow_IN_var_1[2].lambda,m_flow_IN_var_1[2].rho,m_flow_IN_var_1[3].cp,m_flow_IN_var_1[3].eta,m_flow_IN_var_1[3].lambda,m_flow_IN_var_1[3].rho,m_flow_IN_var_2[1].cp,m_flow_IN_var_2[1].eta,m_flow_IN_var_2[1].lambda,m_flow_IN_var_2[1].rho,m_flow_IN_var_2[2].cp,m_flow_IN_var_2[2].eta,m_flow_IN_var_2[2].lambda,m_flow_IN_var_2[2].rho,m_flow_IN_var_2[3].cp,m_flow_IN_var_2[3].eta,m_flow_IN_var_2[3].lambda,m_flow_IN_var_2[3].rho,m_flow_IN_var_3[1].cp,m_flow_IN_var_3[1].eta,m_flow_IN_var_3[1].lambda,m_flow_IN_var_3[1].rho,m_flow_IN_var_3[2].cp,m_flow_IN_var_3[2].eta,m_flow_IN_var_3[2].lambda,m_flow_IN_var_3[2].rho,m_flow_IN_var_3[3].cp,m_flow_IN_var_3[3].eta,m_flow_IN_var_3[3].lambda,m_flow_IN_var_3[3].rho,m_flow_IN_var_4[1].cp,m_flow_IN_var_4[1].eta,m_flow_IN_var_4[1].lambda,m_flow_IN_var_4[1].rho,m_flow_IN_var_4[2].cp,m_flow_IN_var_4[2].eta,m_flow_IN_var_4[2].lambda,m_flow_IN_var_4[2].rho,m_flow_IN_var_4[3].cp,m_flow_IN_var_4[3].eta,m_flow_IN_var_4[3].lambda,m_flow_IN_var_4[3].rho,n,rho[1],rho[2],rho[3],time