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.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,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002567/0.002567, allocations: 345.5 kB / 15.94 MB, free: 6.219 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.856/3.856, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003436/0.003436, allocations: 222.1 kB / 397.9 MB, free: 4.965 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.5212/0.5212, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004801/0.0004803, allocations: 12 kB / 0.5592 GB, free: 53.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09175/0.09226, allocations: 48.7 MB / 0.6068 GB, free: 4.621 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4148/0.5071, allocations: 87.83 MB / 0.6925 GB, free: 24.84 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003866/0.5076, allocations: 95.94 kB / 0.6926 GB, free: 24.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1007/0.6083, allocations: 24.04 MB / 0.7161 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.707e-06/0.6084, allocations: 0 / 0.7161 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.715e-05/0.6084, allocations: 8 kB / 0.7161 GB, free: 0.9805 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002566/0.611, allocations: 0.7675 MB / 0.7169 GB, free: 168 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/0.6111, allocations: 8.031 kB / 0.7169 GB, free: 160 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.6114, allocations: 55.34 kB / 0.7169 GB, free: 104 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007913/0.6122, allocations: 310.2 kB / 0.7172 GB, free: 15.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.651e-05/0.6123, allocations: 49.23 kB / 0.7173 GB, free: 15.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.6124, allocations: 52 kB / 0.7173 GB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.6145, allocations: 0.7768 MB / 0.7181 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.369e-05/0.6146, allocations: 0 / 0.7181 GB, free: 14.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.864e-05/0.6147, allocations: 31.98 kB / 0.7181 GB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.343e-05/0.6147, allocations: 25.31 kB / 0.7181 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00188/0.6166, allocations: 0.571 MB / 0.7187 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003993/0.6207, allocations: 1.665 MB / 0.7203 GB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.6218, allocations: 322.3 kB / 0.7206 GB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006404/0.6225, allocations: 158.5 kB / 0.7208 GB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.045e-05/0.6226, allocations: 11.98 kB / 0.7208 GB, free: 12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.6226, allocations: 38.81 kB / 0.7208 GB, free: 11.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 3.577e-06/0.6226, allocations: 0 / 0.7208 GB, free: 11.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.002318/0.625, allocations: 0.54 MB / 0.7213 GB, free: 11.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.6251, allocations: 106.9 kB / 0.7214 GB, free: 11.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.6263, allocations: 0.639 MB / 0.7221 GB, free: 10.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.437e-05/0.6264, allocations: 29.7 kB / 0.7221 GB, free: 10.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/0.6267, allocations: 287.5 kB / 0.7224 GB, free: 10.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.6269, allocations: 74.98 kB / 0.7224 GB, free: 10.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.6269, allocations: 11.94 kB / 0.7224 GB, free: 10.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.6271, allocations: 362.8 kB / 0.7228 GB, free: 9.859 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008133/0.628, allocations: 204.9 kB / 0.723 GB, free: 9.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/0.6291, allocations: 483.5 kB / 0.7235 GB, free: 9.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000939/0.63, allocations: 279 kB / 0.7237 GB, free: 8.797 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/0.6301, allocations: 0 / 0.7237 GB, free: 8.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002308/0.6324, allocations: 0.7073 MB / 0.7244 GB, free: 8.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.045e-05/0.6325, allocations: 8.719 kB / 0.7244 GB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001548/0.6326, allocations: 51.98 kB / 0.7245 GB, free: 8.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.36e-05/0.6327, allocations: 16 kB / 0.7245 GB, free: 8.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.6332, allocations: 75.81 kB / 0.7246 GB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-05/0.6333, allocations: 19.94 kB / 0.7246 GB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/0.634, allocations: 95.14 kB / 0.7247 GB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.468e-05/0.6342, allocations: 40 kB / 0.7247 GB, free: 7.781 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * 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.0004716/0.6346, allocations: 257.5 kB / 0.7249 GB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001619/0.6348, allocations: 47.34 kB / 0.725 GB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001649/0.6365, allocations: 479.8 kB / 0.7255 GB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.6365, allocations: 4 kB / 0.7255 GB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.6365, allocations: 4 kB / 0.7255 GB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.6365, allocations: 3.984 kB / 0.7255 GB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001033/0.6376, allocations: 417.2 kB / 0.7259 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001378/0.6377, allocations: 43.98 kB / 0.7259 GB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.6381, allocations: 31.91 kB / 0.7259 GB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.6381, allocations: 4 kB / 0.7259 GB, free: 6.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.6381, allocations: 12 kB / 0.7259 GB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.6381, allocations: 3.984 kB / 0.726 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.6382, allocations: 0 / 0.726 GB, free: 6.465 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.6398, allocations: 0.6383 MB / 0.7266 GB, free: 5.809 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003667/0.6402, allocations: 164.5 kB / 0.7267 GB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.6403, allocations: 9.328 kB / 0.7267 GB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005766/0.6409, allocations: 27.98 kB / 0.7268 GB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.6411, allocations: 31.91 kB / 0.7268 GB, free: 5.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.563e-05/0.6411, allocations: 12 kB / 0.7268 GB, free: 5.551 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008684/0.642, allocations: 446.7 kB / 0.7272 GB, free: 5.117 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.642, allocations: 0 / 0.7272 GB, free: 5.117 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001258/0.6433, allocations: 199.7 kB / 0.7274 GB, free: 4.922 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (17): * Single equations (assignments): 5 * 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.0008019/0.6441, allocations: 300.4 kB / 0.7277 GB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00213/0.6463, allocations: 0.7677 MB / 0.7285 GB, free: 3.789 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.6463, allocations: 4.062 kB / 0.7285 GB, free: 3.785 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00097/0.6473, allocations: 492.9 kB / 0.7289 GB, free: 3.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001291/0.6486, allocations: 125.7 kB / 0.7291 GB, free: 3.109 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.6518, allocations: 1.1 MB / 0.7301 GB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000679/0.6525, allocations: 0.9052 MB / 0.731 GB, free: 1.051 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006711/0.6532, allocations: 128.8 kB / 0.7311 GB, free: 0.9297 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.6534, allocations: 35.42 kB / 0.7312 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/0.6534, allocations: 0 / 0.7312 GB, free: 0.8945 MB / 378.7 MB Notification: Performance of Templates: time 0.03003/0.6834, allocations: 10.32 MB / 0.7413 GB, free: 6.711 MB / 394.7 MB