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.002655/0.002654, allocations: 360 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 4.098/4.098, allocations: 388.9 MB / 405.6 MB, free: 9.637 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.003507/0.003507, allocations: 235.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.5054/0.5054, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004663/0.0004665, allocations: 19.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1038, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5488/0.6527, allocations: 88.38 MB / 0.7664 GB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004813/0.6532, allocations: 98.94 kB / 0.7665 GB, free: 12.94 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06127/0.7145, allocations: 11.73 MB / 0.778 GB, free: 2.785 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7146, allocations: 0 / 0.778 GB, free: 2.785 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.356e-05/0.7146, allocations: 8 kB / 0.778 GB, free: 2.777 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001525/0.7161, allocations: 0.6199 MB / 0.7786 GB, free: 2.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.7162, allocations: 16.03 kB / 0.7786 GB, free: 2.117 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001552/0.7164, allocations: 47.39 kB / 0.7786 GB, free: 2.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005159/0.7169, allocations: 288.8 kB / 0.7789 GB, free: 1.758 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.463e-05/0.717, allocations: 40.86 kB / 0.779 GB, free: 1.734 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.7171, allocations: 42.12 kB / 0.779 GB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001671/0.7188, allocations: 0.6456 MB / 0.7796 GB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.293e-05/0.7188, allocations: 0 / 0.7796 GB, free: 1.207 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.723e-05/0.7189, allocations: 24.95 kB / 0.7796 GB, free: 1.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.325e-05/0.719, allocations: 44.72 kB / 0.7797 GB, free: 1.156 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.7209, allocations: 0.6964 MB / 0.7804 GB, free: 0.6211 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003446/0.7244, allocations: 1.351 MB / 0.7817 GB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001317/0.7258, allocations: 448.6 kB / 0.7821 GB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005296/0.7263, allocations: 158.4 kB / 0.7823 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.301e-05/0.7264, allocations: 15.98 kB / 0.7823 GB, free: 14.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.7265, allocations: 46.72 kB / 0.7823 GB, free: 14.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 6.262e-06/0.7265, allocations: 3.984 kB / 0.7823 GB, free: 14.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001896/0.7284, allocations: 0.5326 MB / 0.7829 GB, free: 14.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.959e-05/0.7285, allocations: 59.41 kB / 0.7829 GB, free: 14.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.7294, allocations: 492 kB / 0.7834 GB, free: 13.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.713e-05/0.7295, allocations: 28.7 kB / 0.7834 GB, free: 13.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.7297, allocations: 219.1 kB / 0.7836 GB, free: 13.66 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.7298, allocations: 98.22 kB / 0.7837 GB, free: 13.58 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.7299, allocations: 7.188 kB / 0.7837 GB, free: 13.58 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.7301, allocations: 352.1 kB / 0.7841 GB, free: 13.24 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000605/0.7307, allocations: 157.8 kB / 0.7842 GB, free: 13.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006334/0.7314, allocations: 255.5 kB / 0.7844 GB, free: 12.84 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006394/0.732, allocations: 186.5 kB / 0.7846 GB, free: 12.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.732, allocations: 0 / 0.7846 GB, free: 12.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001514/0.7336, allocations: 0.4996 MB / 0.7851 GB, free: 12.24 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.7336, allocations: 7.953 kB / 0.7851 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/0.7336, allocations: 4 kB / 0.7851 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/0.7337, allocations: 4 kB / 0.7851 GB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/0.7355, allocations: 212.2 kB / 0.7853 GB, free: 12.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/0.7411, allocations: 7.304 MB / 0.7925 GB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006222/0.7418, allocations: 55.41 kB / 0.7925 GB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-05/0.7419, allocations: 19.73 kB / 0.7925 GB, free: 4.488 MB / 378.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.0004323/0.7423, allocations: 227.1 kB / 0.7928 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/0.7424, allocations: 39.48 kB / 0.7928 GB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.7442, allocations: 0.5336 MB / 0.7933 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.045e-05/0.7443, allocations: 4 kB / 0.7933 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.7443, allocations: 0 / 0.7933 GB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.7443, allocations: 3.984 kB / 0.7933 GB, free: 3.785 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008833/0.7452, allocations: 409.7 kB / 0.7937 GB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.7452, allocations: 0 / 0.7937 GB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001662/0.7469, allocations: 200.2 kB / 0.7939 GB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.34e-05/0.7469, allocations: 11.95 kB / 0.7939 GB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.309e-05/0.747, allocations: 7.75 kB / 0.7939 GB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005245/0.7522, allocations: 7.288 MB / 0.801 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.7523, allocations: 4.031 kB / 0.801 GB, free: 11.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.7537, allocations: 0.5015 MB / 0.8015 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000197/0.7539, allocations: 128.5 kB / 0.8017 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.903e-05/0.754, allocations: 7.422 kB / 0.8017 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003986/0.7544, allocations: 11.56 kB / 0.8017 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/0.7545, allocations: 26.78 kB / 0.8017 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.343e-05/0.7546, allocations: 15.8 kB / 0.8017 GB, free: 11.06 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006474/0.7552, allocations: 354 kB / 0.802 GB, free: 10.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7553, allocations: 0 / 0.802 GB, free: 10.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007409/0.756, allocations: 134.2 kB / 0.8022 GB, free: 10.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (28): * Single equations (assignments): 16 * 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 Backend phase and start with SimCode phase: time 0.0004576/0.7565, allocations: 185.3 kB / 0.8024 GB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002642/0.7591, allocations: 0.5313 MB / 0.8029 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.7592, allocations: 0.5625 kB / 0.8029 GB, free: 10.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001916/0.7611, allocations: 346 kB / 0.8032 GB, free: 9.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009916/0.7621, allocations: 109.9 kB / 0.8033 GB, free: 9.633 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002618/0.7648, allocations: 1.006 MB / 0.8043 GB, free: 8.648 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006211/0.7654, allocations: 0.8864 MB / 0.8052 GB, free: 7.75 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005829/0.766, allocations: 132.1 kB / 0.8053 GB, free: 7.617 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.7662, allocations: 35.42 kB / 0.8053 GB, free: 7.582 MB / 394.7 MB Notification: Performance of SimCode: time 1.342e-06/0.7662, allocations: 0 / 0.8053 GB, free: 7.582 MB / 394.7 MB Notification: Performance of Templates: time 0.02534/0.7916, allocations: 8.723 MB / 0.8138 GB, free: 14.95 MB / 410.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