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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007682/0.007682, allocations: 103.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001351/0.00135, allocations: 196.8 kB / 16.68 MB, free: 5.961 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.552/1.552, allocations: 205.1 MB / 222.5 MB, free: 4.391 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3172/0.3172, allocations: 38 MB / 307.9 MB, free: 10.35 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001756/0.001756, allocations: 71.91 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3477/0.3495, allocations: 56.46 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.00381/0.3534, allocations: 1.863 MB / 491.4 MB, free: 18.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.3554, allocations: 0.842 MB / 492.2 MB, free: 18.14 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001806/0.3556, allocations: 5.062 kB / 492.2 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004537/0.3561, allocations: 55.02 kB / 492.3 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004811/0.3566, allocations: 77.44 kB / 492.3 MB, free: 18.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.3571, allocations: 78.75 kB / 492.4 MB, free: 18.03 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005757/0.3577, allocations: 262.7 kB / 492.7 MB, free: 17.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3578, allocations: 39.45 kB / 492.7 MB, free: 17.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003665/0.3582, allocations: 95.16 kB / 492.8 MB, free: 17.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003461/0.3585, allocations: 120 kB / 492.9 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.821e-05/0.3586, allocations: 6.812 kB / 492.9 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004171/0.359, allocations: 122.9 kB / 493 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001614/0.3592, allocations: 62.83 kB / 493.1 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002128/0.3594, allocations: 100.9 kB / 493.2 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007033/0.3601, allocations: 310.2 kB / 493.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.3601, allocations: 1 kB / 493.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3601, allocations: 0 / 493.5 MB, free: 17.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.3602, allocations: 0.5625 kB / 493.5 MB, free: 17.55 MB / 382.1 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.001215/0.3614, allocations: 0.5486 MB / 494.1 MB, free: 17.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.3614, allocations: 17.95 kB / 494.1 MB, free: 17.08 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.3615, allocations: 26.33 kB / 494.1 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.3619, allocations: 251.1 kB / 494.3 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.3619, allocations: 18.78 kB / 494.4 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.827e-05/0.362, allocations: 28.3 kB / 494.4 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008042/0.3628, allocations: 372.9 kB / 494.7 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/0.3628, allocations: 0.7031 kB / 494.7 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.929e-05/0.3629, allocations: 10.91 kB / 494.8 MB, free: 16.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.3629, allocations: 27.56 kB / 494.8 MB, free: 16.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007497/0.3637, allocations: 372.2 kB / 495.2 MB, free: 16.58 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.3654, allocations: 0.8468 MB / 496 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005649/0.366, allocations: 262.1 kB / 496.3 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.3662, allocations: 96.73 kB / 496.3 MB, free: 16.03 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.391e-05/0.3663, allocations: 11.34 kB / 496.4 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.3663, allocations: 31.72 kB / 496.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.3663, allocations: 0 / 496.4 MB, free: 15.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.000838/0.3672, allocations: 336.1 kB / 496.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.3672, allocations: 54.52 kB / 496.8 MB, free: 15.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003594/0.3676, allocations: 338.8 kB / 497.1 MB, free: 15.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.89e-05/0.3676, allocations: 27.08 kB / 497.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.3677, allocations: 172.2 kB / 497.3 MB, free: 15.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.278e-05/0.3678, allocations: 58.95 kB / 497.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.166e-05/0.3679, allocations: 58.36 kB / 497.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.834e-05/0.3679, allocations: 339.9 kB / 497.7 MB, free: 15.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002244/0.3682, allocations: 100.4 kB / 497.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.3685, allocations: 182.3 kB / 498 MB, free: 14.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005137/0.369, allocations: 300.8 kB / 498.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.369, allocations: 1.438 kB / 498.3 MB, free: 14.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006531/0.3696, allocations: 355.2 kB / 498.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.3697, allocations: 5.469 kB / 498.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.3697, allocations: 5.047 kB / 498.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.3697, allocations: 4.031 kB / 498.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.3703, allocations: 123.2 kB / 498.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.3717, allocations: 3.644 MB / 0.4907 GB, free: 11.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000246/0.372, allocations: 49.2 kB / 0.4907 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/0.372, allocations: 19.14 kB / 0.4907 GB, free: 11.04 MB / 382.1 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 () * Number of clocked 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 (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003022/0.3723, allocations: 185.9 kB / 0.4909 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.3724, allocations: 28.38 kB / 0.4909 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007656/0.3732, allocations: 321.1 kB / 0.4912 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3732, allocations: 5.984 kB / 0.4912 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.3732, allocations: 0 / 0.4912 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.3732, allocations: 2.719 kB / 0.4912 GB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003896/0.3736, allocations: 303.5 kB / 0.4915 GB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3736, allocations: 4 kB / 0.4915 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004641/0.3741, allocations: 111.4 kB / 0.4916 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-06/0.3741, allocations: 1.219 kB / 0.4916 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.3742, allocations: 4.422 kB / 0.4917 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.3758, allocations: 3.644 MB / 0.4952 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.3758, allocations: 7.875 kB / 0.4952 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005927/0.3764, allocations: 347.9 kB / 0.4956 GB, free: 6.758 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/0.3765, allocations: 108.5 kB / 0.4957 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.3766, allocations: 1.953 kB / 0.4957 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.3767, allocations: 18.98 kB / 0.4957 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.281e-05/0.3768, allocations: 11.39 kB / 0.4957 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.3768, allocations: 11.56 kB / 0.4957 GB, free: 6.629 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002644/0.3771, allocations: 245.1 kB / 0.4959 GB, free: 6.516 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3771, allocations: 4 kB / 0.4959 GB, free: 6.512 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004318/0.3776, allocations: 66.83 kB / 0.496 GB, free: 6.508 MB / 382.1 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 6 systems {1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000266/0.3778, allocations: 138.9 kB / 0.4961 GB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009371/0.3788, allocations: 316.9 kB / 0.4964 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3788, allocations: 0 / 0.4964 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005814/0.3794, allocations: 185.9 kB / 0.4966 GB, free: 6.324 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.3798, allocations: 76.16 kB / 0.4967 GB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.381, allocations: 0.5735 MB / 0.4972 GB, free: 5.992 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.3813, allocations: 0.788 MB / 0.498 GB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002517/0.3816, allocations: 84.33 kB / 0.4981 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.815e-05/0.3817, allocations: 22.62 kB / 0.4981 GB, free: 5.27 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.3817, allocations: 0 / 0.4981 GB, free: 5.27 MB / 382.1 MB Notification: Performance of Templates: time 0.01184/0.3935, allocations: 5.564 MB / 0.5035 GB, free: 3.152 MB / 382.1 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)