Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar.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.Channel.kc_evenGapLaminar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dimlesslength|abscissa.1.|abscissa.2.|abscissa.3.|length|dimlesslength|Pr.1.|Pr.2.|Pr.3.|Re.1.|Re.2.|Re.3.|velocity.1.|velocity.2.|velocity.3.|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.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.|m_flow.1.|m_flow.2.|m_flow.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003827/0.003832, allocations: 363.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 3.847/3.847, allocations: 388.9 MB / 405.6 MB, free: 9.645 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.003739/0.003739, allocations: 233.9 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.5662/0.5662, allocations: 80.03 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004612, allocations: 12 kB / 0.6265 GB, free: 96.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09193/0.09242, allocations: 54.86 MB / 0.6801 GB, free: 41.61 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4566/0.5491, allocations: 88.29 MB / 0.7663 GB, free: 12.92 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003765/0.5495, allocations: 97.86 kB / 0.7664 GB, free: 12.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06104/0.6106, allocations: 14.35 MB / 0.7804 GB, free: 380 kB / 362.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.6107, allocations: 0 / 0.7804 GB, free: 380 kB / 362.7 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.6107, allocations: 8 kB / 0.7804 GB, free: 372 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.001425/0.6121, allocations: 0.637 MB / 0.7811 GB, free: 15.71 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.6122, allocations: 8.031 kB / 0.7811 GB, free: 15.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.6124, allocations: 51.39 kB / 0.7811 GB, free: 15.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005872/0.613, allocations: 299.9 kB / 0.7814 GB, free: 15.33 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.085e-05/0.613, allocations: 38.75 kB / 0.7814 GB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001231/0.6132, allocations: 45.56 kB / 0.7815 GB, free: 15.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001549/0.6147, allocations: 0.635 MB / 0.7821 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.6148, allocations: 0 / 0.7821 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.919e-05/0.6149, allocations: 25.19 kB / 0.7821 GB, free: 14.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.221e-05/0.615, allocations: 33.25 kB / 0.7822 GB, free: 14.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001337/0.6163, allocations: 0.4983 MB / 0.7826 GB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004079/0.6204, allocations: 1.417 MB / 0.784 GB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001319/0.6218, allocations: 447.3 kB / 0.7845 GB, free: 12.68 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004306/0.6223, allocations: 142.4 kB / 0.7846 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.32e-05/0.6224, allocations: 7.953 kB / 0.7846 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.6224, allocations: 42.23 kB / 0.7846 GB, free: 12.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.416e-06/0.6224, allocations: 4 kB / 0.7846 GB, free: 12.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001674/0.6241, allocations: 0.4967 MB / 0.7851 GB, free: 12.05 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.6242, allocations: 51.41 kB / 0.7852 GB, free: 11.99 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.6252, allocations: 0.5392 MB / 0.7857 GB, free: 11.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.072e-05/0.6253, allocations: 33.02 kB / 0.7857 GB, free: 11.52 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.6256, allocations: 225.2 kB / 0.786 GB, free: 11.36 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.6257, allocations: 81.56 kB / 0.786 GB, free: 11.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/0.6258, allocations: 11.25 kB / 0.786 GB, free: 11.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.626, allocations: 356.9 kB / 0.7864 GB, free: 10.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.6265, allocations: 158.9 kB / 0.7865 GB, free: 10.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005756/0.6271, allocations: 250.1 kB / 0.7868 GB, free: 10.55 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/0.6277, allocations: 199.7 kB / 0.787 GB, free: 10.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-06/0.6277, allocations: 3.953 kB / 0.787 GB, free: 10.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001486/0.6292, allocations: 0.4987 MB / 0.7875 GB, free: 9.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.6293, allocations: 7.75 kB / 0.7875 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001502/0.6295, allocations: 43.83 kB / 0.7875 GB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.78e-05/0.6295, allocations: 8 kB / 0.7875 GB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004026/0.6299, allocations: 35.92 kB / 0.7875 GB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.548e-05/0.6299, allocations: 4 kB / 0.7875 GB, free: 9.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005546/0.6305, allocations: 61.95 kB / 0.7876 GB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/0.6306, allocations: 23.56 kB / 0.7876 GB, free: 9.789 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: dimlesslength:VARIABLE(start = 0.01 unit = "m" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (41): * Single equations (assignments): 29 * 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.0005188/0.6311, allocations: 216.4 kB / 0.7878 GB, free: 9.594 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.6313, allocations: 47.39 kB / 0.7879 GB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001761/0.6331, allocations: 0.5404 MB / 0.7884 GB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.029e-05/0.6331, allocations: 11.98 kB / 0.7884 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.6332, allocations: 0 / 0.7884 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.6332, allocations: 0 / 0.7884 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/0.6343, allocations: 424.7 kB / 0.7888 GB, free: 8.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001325/0.6345, allocations: 40.98 kB / 0.7889 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.6349, allocations: 35.88 kB / 0.7889 GB, free: 8.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/0.6349, allocations: 4 kB / 0.7889 GB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.576e-05/0.6349, allocations: 14.5 kB / 0.7889 GB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.635, allocations: 3.938 kB / 0.7889 GB, free: 8.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.758e-06/0.635, allocations: 3.984 kB / 0.7889 GB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.6368, allocations: 0.6991 MB / 0.7896 GB, free: 7.969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002353/0.6371, allocations: 132.5 kB / 0.7897 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.6372, allocations: 11.2 kB / 0.7897 GB, free: 7.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000354/0.6376, allocations: 7.5 kB / 0.7898 GB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.434e-05/0.6377, allocations: 27.78 kB / 0.7898 GB, free: 7.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.196e-05/0.6378, allocations: 15.06 kB / 0.7898 GB, free: 7.773 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007441/0.6385, allocations: 399.5 kB / 0.7902 GB, free: 7.469 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6385, allocations: 0 / 0.7902 GB, free: 7.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008906/0.6394, allocations: 156.3 kB / 0.7903 GB, free: 7.328 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (dimlesslength) * 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 (28): * Single equations (assignments): 16 * 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.0006089/0.6401, allocations: 224.9 kB / 0.7905 GB, free: 7.105 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.6415, allocations: 0.6714 MB / 0.7912 GB, free: 6.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6415, allocations: 0.8125 kB / 0.7912 GB, free: 6.406 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007315/0.6423, allocations: 490.9 kB / 0.7917 GB, free: 5.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008879/0.6432, allocations: 84.23 kB / 0.7917 GB, free: 5.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.6466, allocations: 1.129 MB / 0.7928 GB, free: 4.723 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/0.6473, allocations: 0.8933 MB / 0.7937 GB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005408/0.6479, allocations: 112.2 kB / 0.7938 GB, free: 3.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001593/0.648, allocations: 31.44 kB / 0.7939 GB, free: 3.676 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6481, allocations: 3.938 kB / 0.7939 GB, free: 3.672 MB / 378.7 MB Notification: Performance of Templates: time 0.02436/0.6724, allocations: 8.203 MB / 0.8019 GB, free: 11.55 MB / 394.7 MB "" Variables in the reference:time,dimlesslength,abscissa[1],abscissa[2],abscissa[3],length,dimlesslength,Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],velocity[1],velocity[2],velocity[3],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[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],m_flow[1],m_flow[2],m_flow[3] Variables in the result:L,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],Pr[1],Pr[2],Pr[3],Re[1],Re[2],Re[3],abscissa[1],abscissa[2],abscissa[3],cp[1],cp[2],cp[3],d_hyd,dimlesslength,eta[1],eta[2],eta[3],h,lambda[1],lambda[2],lambda[3],length,m_flow[1],m_flow[2],m_flow[3],m_flow_IN_con_1[1].L,m_flow_IN_con_1[1].h,m_flow_IN_con_1[1].s,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].h,m_flow_IN_con_1[2].s,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].h,m_flow_IN_con_1[3].s,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].h,m_flow_IN_con_2[1].s,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].h,m_flow_IN_con_2[2].s,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].h,m_flow_IN_con_2[3].s,m_flow_IN_con_3[1].L,m_flow_IN_con_3[1].h,m_flow_IN_con_3[1].s,m_flow_IN_con_3[2].L,m_flow_IN_con_3[2].h,m_flow_IN_con_3[2].s,m_flow_IN_con_3[3].L,m_flow_IN_con_3[3].h,m_flow_IN_con_3[3].s,m_flow_IN_con_4[1].L,m_flow_IN_con_4[1].h,m_flow_IN_con_4[1].s,m_flow_IN_con_4[2].L,m_flow_IN_con_4[2].h,m_flow_IN_con_4[2].s,m_flow_IN_con_4[3].L,m_flow_IN_con_4[3].h,m_flow_IN_con_4[3].s,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].m_flow,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].m_flow,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].m_flow,m_flow_IN_var_4[3].rho,n,rho[1],rho[2],rho[3],s,time,velocity[1],velocity[2],velocity[3]