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_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_laminar_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_laminar_KC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004272/0.004271, allocations: 366.6 kB / 15.96 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 3.833/3.833, allocations: 388.9 MB / 405.6 MB, free: 47.87 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003557/0.003557, allocations: 224.7 kB / 451 MB, free: 2.344 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.878/0.878, allocations: 80.02 MB / 0.5627 GB, free: 35.64 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004799/0.0004803, allocations: 8 kB / 0.6265 GB, free: 2.184 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4592/0.4597, allocations: 54.86 MB / 0.6801 GB, free: 41.21 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC): time 0.002875/0.4627, allocations: 1.761 MB / 0.6818 GB, free: 40.41 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.4646, allocations: 0.8301 MB / 0.6826 GB, free: 40.02 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.4648, allocations: 0 / 0.6826 GB, free: 40.02 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002794/0.4651, allocations: 47.94 kB / 0.6827 GB, free: 40 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004777/0.4656, allocations: 136.3 kB / 0.6828 GB, free: 39.95 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.4659, allocations: 80.28 kB / 0.6829 GB, free: 39.93 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005769/0.4665, allocations: 0.5069 MB / 0.6834 GB, free: 39.74 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.4667, allocations: 50.09 kB / 0.6834 GB, free: 39.74 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.4669, allocations: 148.6 kB / 0.6836 GB, free: 39.68 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003557/0.4673, allocations: 219.4 kB / 0.6838 GB, free: 39.62 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.323e-05/0.4674, allocations: 8.875 kB / 0.6838 GB, free: 39.62 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005661/0.468, allocations: 248.4 kB / 0.684 GB, free: 39.54 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000127/0.4681, allocations: 106.3 kB / 0.6841 GB, free: 39.5 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.742e-05/0.4682, allocations: 89.73 kB / 0.6842 GB, free: 39.44 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004983/0.4687, allocations: 331 kB / 0.6845 GB, free: 39.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4687, allocations: 0.6875 kB / 0.6845 GB, free: 39.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.4688, allocations: 4.781 kB / 0.6845 GB, free: 39.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.4688, allocations: 0 / 0.6845 GB, free: 39.36 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001449/0.4702, allocations: 0.6463 MB / 0.6852 GB, free: 38.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.487e-05/0.4703, allocations: 9.078 kB / 0.6852 GB, free: 38.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.4704, allocations: 46.09 kB / 0.6852 GB, free: 38.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.4709, allocations: 298.3 kB / 0.6855 GB, free: 38.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.471, allocations: 36.22 kB / 0.6856 GB, free: 38.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.4711, allocations: 40.58 kB / 0.6856 GB, free: 38.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.4727, allocations: 0.6641 MB / 0.6862 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.4728, allocations: 3.953 kB / 0.6862 GB, free: 38.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.4729, allocations: 19.33 kB / 0.6863 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.473, allocations: 49.92 kB / 0.6863 GB, free: 38.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001978/0.475, allocations: 0.7073 MB / 0.687 GB, free: 38.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.4783, allocations: 1.339 MB / 0.6883 GB, free: 37.52 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.4797, allocations: 462.7 kB / 0.6887 GB, free: 37.44 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004926/0.4802, allocations: 167.2 kB / 0.6889 GB, free: 37.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-05/0.4803, allocations: 10.77 kB / 0.6889 GB, free: 37.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.4803, allocations: 39.06 kB / 0.689 GB, free: 37.36 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 3.396e-06/0.4803, allocations: 3 kB / 0.689 GB, free: 37.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001839/0.4822, allocations: 0.5456 MB / 0.6895 GB, free: 37.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.4822, allocations: 54.91 kB / 0.6895 GB, free: 37.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008042/0.4831, allocations: 488.4 kB / 0.69 GB, free: 36.97 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.335e-05/0.4831, allocations: 29.7 kB / 0.69 GB, free: 36.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.4833, allocations: 215.4 kB / 0.6902 GB, free: 36.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.4835, allocations: 105 kB / 0.6903 GB, free: 36.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.414e-05/0.4835, allocations: 6.094 kB / 0.6903 GB, free: 36.68 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.4836, allocations: 355.1 kB / 0.6907 GB, free: 36.35 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005604/0.4842, allocations: 159.5 kB / 0.6908 GB, free: 36.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005943/0.4848, allocations: 250.3 kB / 0.6911 GB, free: 36.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005769/0.4854, allocations: 199.1 kB / 0.6913 GB, free: 36.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.4854, allocations: 4 kB / 0.6913 GB, free: 36.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001433/0.4869, allocations: 0.491 MB / 0.6917 GB, free: 36.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.409e-05/0.4869, allocations: 5.188 kB / 0.6918 GB, free: 36.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4869, allocations: 4.312 kB / 0.6918 GB, free: 36.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.487, allocations: 9.438 kB / 0.6918 GB, free: 36.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.4887, allocations: 207.9 kB / 0.692 GB, free: 35.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/0.4924, allocations: 7.295 MB / 0.6991 GB, free: 28.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/0.4931, allocations: 71.47 kB / 0.6992 GB, free: 28.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.4931, allocations: 20.67 kB / 0.6992 GB, free: 28.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (40): * Single equations (assignments): 28 * 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.0004336/0.4936, allocations: 223.5 kB / 0.6994 GB, free: 28.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.882e-05/0.4937, allocations: 41.48 kB / 0.6994 GB, free: 28.62 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001775/0.4955, allocations: 0.5392 MB / 0.7 GB, free: 28.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.4955, allocations: 1.969 kB / 0.7 GB, free: 28.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.4956, allocations: 7.938 kB / 0.7 GB, free: 28.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002145/0.4958, allocations: 130.4 kB / 0.7001 GB, free: 28.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.4959, allocations: 1.922 kB / 0.7001 GB, free: 28.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004313/0.4964, allocations: 15.55 kB / 0.7001 GB, free: 28.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.4965, allocations: 24.2 kB / 0.7001 GB, free: 28.33 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003291/0.4998, allocations: 0.7854 MB / 0.7009 GB, free: 28.03 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003114/0.503, allocations: 0.8245 MB / 0.7017 GB, free: 27.69 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000575/0.5036, allocations: 165.6 kB / 0.7019 GB, free: 27.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006227/0.5042, allocations: 348.2 kB / 0.7022 GB, free: 27.52 MB / 346.7 MB Notification: Performance of Backend: time 9.72e-07/0.5042, allocations: 4 kB / 0.7022 GB, free: 27.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002916/0.5072, allocations: 0.4987 MB / 0.7027 GB, free: 27.37 MB / 346.7 MB Notification: Performance of SimCode: time 0.002391/0.5096, allocations: 1.492 MB / 0.7041 GB, free: 26.39 MB / 346.7 MB Notification: Performance of Templates: time 0.0252/0.5348, allocations: 8.693 MB / 0.7126 GB, free: 25.1 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