Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_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.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.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003983/0.003988, allocations: 347.7 kB / 15.95 MB, free: 6.215 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.543/3.543, 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.004902/0.004902, allocations: 233 kB / 397.9 MB, free: 4.977 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.4887/0.4887, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004596, allocations: 12 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0827/0.08318, allocations: 48.7 MB / 0.6068 GB, free: 4.609 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.002485/0.08572, allocations: 1.805 MB / 0.6085 GB, free: 2.789 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.274/0.3598, allocations: 1.624 MB / 0.6101 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002187/0.3601, allocations: 1.562 kB / 0.6101 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003183/0.3604, allocations: 54.42 kB / 0.6102 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005083/0.3609, allocations: 137.8 kB / 0.6103 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00118/0.3621, allocations: 281.1 kB / 0.6106 GB, free: 88.7 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007069/0.3628, allocations: 0.5369 MB / 0.6111 GB, free: 88.59 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.363, allocations: 61.83 kB / 0.6112 GB, free: 88.58 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00028/0.3633, allocations: 162.7 kB / 0.6113 GB, free: 88.54 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.3637, allocations: 224.3 kB / 0.6115 GB, free: 88.48 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.981e-05/0.3638, allocations: 10.09 kB / 0.6115 GB, free: 88.48 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001517/0.3653, allocations: 0.568 MB / 0.6121 GB, free: 88.45 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001751/0.3655, allocations: 108.3 kB / 0.6122 GB, free: 88.43 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001539/0.3657, allocations: 100.3 kB / 0.6123 GB, free: 88.38 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009015/0.3666, allocations: 468.4 kB / 0.6127 GB, free: 88.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3666, allocations: 0 / 0.6127 GB, free: 88.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3666, allocations: 0 / 0.6127 GB, free: 88.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.685e-06/0.3666, allocations: 1.25 kB / 0.6127 GB, free: 88.32 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001563/0.3682, allocations: 0.7273 MB / 0.6134 GB, free: 87.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.3683, allocations: 8.969 kB / 0.6135 GB, free: 87.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001425/0.3684, allocations: 52.94 kB / 0.6135 GB, free: 87.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004904/0.3689, allocations: 309.3 kB / 0.6138 GB, free: 87.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.369, allocations: 40.41 kB / 0.6138 GB, free: 87.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.3691, allocations: 56.05 kB / 0.6139 GB, free: 87.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.371, allocations: 0.762 MB / 0.6146 GB, free: 87.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.371, allocations: 4.312 kB / 0.6146 GB, free: 87.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.016e-05/0.3711, allocations: 18.64 kB / 0.6147 GB, free: 87.49 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/0.3712, allocations: 55.95 kB / 0.6147 GB, free: 87.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002103/0.3734, allocations: 0.806 MB / 0.6155 GB, free: 87.48 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003536/0.3769, allocations: 1.51 MB / 0.617 GB, free: 87.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.3783, allocations: 457.4 kB / 0.6174 GB, free: 87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000537/0.3789, allocations: 161.9 kB / 0.6176 GB, free: 87 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.348e-05/0.379, allocations: 15.23 kB / 0.6176 GB, free: 87 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.379, allocations: 35.89 kB / 0.6176 GB, free: 86.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.307e-06/0.379, allocations: 1.312 kB / 0.6176 GB, free: 86.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001908/0.3809, allocations: 0.558 MB / 0.6182 GB, free: 86.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.381, allocations: 58.02 kB / 0.6182 GB, free: 86.82 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001075/0.3821, allocations: 0.5791 MB / 0.6188 GB, free: 86.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.046e-05/0.3821, allocations: 33.39 kB / 0.6188 GB, free: 86.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.3824, allocations: 272.7 kB / 0.6191 GB, free: 86.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.3825, allocations: 108.2 kB / 0.6192 GB, free: 86.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.3826, allocations: 7.938 kB / 0.6192 GB, free: 86.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.3827, allocations: 365.2 kB / 0.6195 GB, free: 86.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000653/0.3834, allocations: 191 kB / 0.6197 GB, free: 86.13 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/0.3842, allocations: 436.6 kB / 0.6201 GB, free: 85.83 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007767/0.3849, allocations: 270.8 kB / 0.6204 GB, free: 85.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.385, allocations: 4.281 kB / 0.6204 GB, free: 85.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001988/0.387, allocations: 0.6832 MB / 0.6211 GB, free: 85.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.983e-05/0.387, allocations: 11.91 kB / 0.6211 GB, free: 85.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.387, allocations: 8.281 kB / 0.6211 GB, free: 85.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.698e-05/0.3871, allocations: 13.38 kB / 0.6211 GB, free: 85.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/0.389, allocations: 249.8 kB / 0.6213 GB, free: 85.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003603/0.3926, allocations: 7.317 MB / 0.6285 GB, free: 78.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009182/0.3936, allocations: 92.67 kB / 0.6286 GB, free: 78.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.83e-05/0.3937, allocations: 34.52 kB / 0.6286 GB, free: 78.61 MB / 362.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.0005461/0.3943, allocations: 270.3 kB / 0.6289 GB, free: 78.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.3944, allocations: 44.88 kB / 0.6289 GB, free: 78.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001864/0.3962, allocations: 0.5647 MB / 0.6294 GB, free: 78.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/0.3963, allocations: 3.516 kB / 0.6294 GB, free: 78.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3963, allocations: 4.953 kB / 0.6295 GB, free: 78.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.3965, allocations: 127.2 kB / 0.6296 GB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001455/0.3967, allocations: 5.859 kB / 0.6296 GB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.3971, allocations: 17.88 kB / 0.6296 GB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.3973, allocations: 22.11 kB / 0.6296 GB, free: 78.28 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003239/0.4005, allocations: 0.7958 MB / 0.6304 GB, free: 78.07 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002053/0.4026, allocations: 0.8356 MB / 0.6312 GB, free: 77.82 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005748/0.4032, allocations: 171.2 kB / 0.6314 GB, free: 77.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007883/0.404, allocations: 406.3 kB / 0.6318 GB, free: 77.73 MB / 362.7 MB Notification: Performance of Backend: time 4.91e-07/0.404, allocations: 0 / 0.6318 GB, free: 77.73 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0036/0.4076, allocations: 0.6582 MB / 0.6324 GB, free: 77.63 MB / 362.7 MB Notification: Performance of SimCode: time 0.002713/0.4104, allocations: 1.616 MB / 0.634 GB, free: 76.6 MB / 362.7 MB Notification: Performance of Templates: time 0.0277/0.4381, allocations: 10.65 MB / 0.6444 GB, free: 72.27 MB / 362.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