Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001488/0.001488, allocations: 165.8 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.351/1.351, allocations: 170.7 MB / 178.7 MB, free: 15.59 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001591/0.001592, allocations: 110.1 kB / 218 MB, free: 8.367 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1823/0.1823, allocations: 37.98 MB / 295.1 MB, free: 9.504 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.176e-05/2.178e-05, allocations: 2.812 kB / 350 MB, free: 37.02 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 48.72 MB / 398.8 MB, free: 5.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4034/0.5118, allocations: 78.56 MB / 477.3 MB, free: 17.9 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.5121, allocations: 95.27 kB / 477.4 MB, free: 17.9 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03013/0.5423, allocations: 11.73 MB / 489.1 MB, free: 32.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.5423, allocations: 0 / 489.1 MB, free: 32.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.395e-05/0.5423, allocations: 3.938 kB / 489.1 MB, free: 32.64 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0006004/0.5429, allocations: 0.4964 MB / 489.6 MB, free: 32.21 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.543, allocations: 7.781 kB / 489.6 MB, free: 32.21 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.5431, allocations: 26.94 kB / 489.7 MB, free: 32.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.5433, allocations: 248.7 kB / 489.9 MB, free: 31.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.5433, allocations: 11.47 kB / 489.9 MB, free: 31.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.975e-05/0.5433, allocations: 15.5 kB / 489.9 MB, free: 31.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003873/0.5437, allocations: 311.2 kB / 490.2 MB, free: 31.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004196/0.5442, allocations: 312.1 kB / 490.5 MB, free: 31.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.5442, allocations: 3.875 kB / 490.6 MB, free: 31.94 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.5442, allocations: 0 / 490.6 MB, free: 31.94 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-05/0.5443, allocations: 19.55 kB / 490.6 MB, free: 31.94 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00119/0.5455, allocations: 0.7521 MB / 491.3 MB, free: 31.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.5458, allocations: 235.6 kB / 491.6 MB, free: 31.61 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.5459, allocations: 74.55 kB / 491.6 MB, free: 31.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.045e-05/0.5459, allocations: 3.844 kB / 491.6 MB, free: 31.6 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.546, allocations: 30.56 kB / 491.7 MB, free: 31.56 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.546, allocations: 4 kB / 491.7 MB, free: 31.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003691/0.5464, allocations: 200.9 kB / 491.9 MB, free: 31.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.5464, allocations: 55.28 kB / 491.9 MB, free: 31.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.5465, allocations: 174 kB / 492.1 MB, free: 31.35 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.5466, allocations: 29.64 kB / 492.1 MB, free: 31.31 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.034e-05/0.5466, allocations: 178.4 kB / 492.3 MB, free: 31.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.5467, allocations: 51.23 kB / 492.3 MB, free: 31.15 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.5467, allocations: 0 / 492.3 MB, free: 31.15 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.5468, allocations: 330.5 kB / 492.7 MB, free: 30.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.5469, allocations: 77.83 kB / 492.7 MB, free: 30.83 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.547, allocations: 169.7 kB / 492.9 MB, free: 30.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.5472, allocations: 115.6 kB / 493 MB, free: 30.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5472, allocations: 3.938 kB / 493 MB, free: 30.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003493/0.5475, allocations: 278 kB / 493.3 MB, free: 30.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.5476, allocations: 7.781 kB / 493.3 MB, free: 30.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.5476, allocations: 3.984 kB / 493.3 MB, free: 30.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.5476, allocations: 7.906 kB / 493.3 MB, free: 30.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/0.5482, allocations: 119.4 kB / 493.4 MB, free: 30.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001177/0.5493, allocations: 3.667 MB / 497.1 MB, free: 27.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001665/0.5495, allocations: 26.98 kB / 497.1 MB, free: 27.1 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.5496, allocations: 19.17 kB / 497.1 MB, free: 27.09 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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.5497, allocations: 119.6 kB / 497.3 MB, free: 26.98 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.5497, allocations: 15.5 kB / 497.3 MB, free: 26.97 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004618/0.5502, allocations: 268.2 kB / 497.5 MB, free: 26.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.5502, allocations: 15.23 kB / 497.5 MB, free: 26.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.5502, allocations: 3.953 kB / 497.5 MB, free: 26.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-06/0.5502, allocations: 0 / 497.5 MB, free: 26.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002646/0.5505, allocations: 258 kB / 497.8 MB, free: 26.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5505, allocations: 0 / 497.8 MB, free: 26.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004507/0.551, allocations: 104.4 kB / 497.9 MB, free: 26.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.551, allocations: 0 / 497.9 MB, free: 26.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.551, allocations: 7.781 kB / 497.9 MB, free: 26.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/0.5528, allocations: 3.668 MB / 0.4898 GB, free: 23.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.5528, allocations: 3.875 kB / 0.4898 GB, free: 23.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.5531, allocations: 305.8 kB / 0.4901 GB, free: 23.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.5532, allocations: 92.67 kB / 0.4902 GB, free: 22.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.993e-05/0.5532, allocations: 0 / 0.4902 GB, free: 22.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001385/0.5534, allocations: 7.359 kB / 0.4902 GB, free: 22.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.5534, allocations: 22.22 kB / 0.4902 GB, free: 22.96 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.5534, allocations: 7.75 kB / 0.4902 GB, free: 22.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.004e-05/0.5535, allocations: 135.2 kB / 0.4904 GB, free: 22.88 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5535, allocations: 3.938 kB / 0.4904 GB, free: 22.87 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004152/0.554, allocations: 78.16 kB / 0.4904 GB, free: 22.86 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002656/0.5542, allocations: 147 kB / 0.4906 GB, free: 22.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005857/0.5548, allocations: 253 kB / 0.4908 GB, free: 22.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5548, allocations: 0 / 0.4908 GB, free: 22.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003825/0.5552, allocations: 147.2 kB / 0.491 GB, free: 22.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.5555, allocations: 23.64 kB / 0.491 GB, free: 22.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005848/0.5561, allocations: 354.3 kB / 0.4913 GB, free: 22.6 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003652/0.5564, allocations: 0.8013 MB / 0.4921 GB, free: 21.89 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001426/0.5566, allocations: 59.73 kB / 0.4922 GB, free: 21.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.003e-05/0.5566, allocations: 18.98 kB / 0.4922 GB, free: 21.88 MB / 346.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5566, allocations: 0 / 0.4922 GB, free: 21.88 MB / 346.7 MB Notification: Performance of Templates: time 0.005746/0.5624, allocations: 3.159 MB / 0.4953 GB, free: 21.58 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1)