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.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,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007524/0.007524, allocations: 102 kB / 15.73 MB, free: 6.043 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.001545/0.001545, allocations: 195 kB / 16.67 MB, free: 5.965 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.573/1.573, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3478/0.3478, allocations: 38 MB / 307.9 MB, free: 10.01 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.001555/0.001555, allocations: 75.89 kB / 433 MB, free: 5.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3185, allocations: 56.48 MB / 489.5 MB, free: 20.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003243/0.3218, allocations: 1.996 MB / 491.5 MB, free: 18.65 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001857/0.3237, allocations: 1.114 MB / 492.6 MB, free: 17.87 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.086e-05/0.3238, allocations: 6.188 kB / 492.6 MB, free: 17.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.3241, allocations: 54.44 kB / 492.7 MB, free: 17.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002064/0.3244, allocations: 83.83 kB / 492.8 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005244/0.3249, allocations: 154.8 kB / 492.9 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004055/0.3253, allocations: 318.8 kB / 493.2 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3254, allocations: 41.67 kB / 493.3 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001849/0.3256, allocations: 125 kB / 493.4 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002134/0.3258, allocations: 133.3 kB / 493.5 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.513e-05/0.3259, allocations: 13.91 kB / 493.5 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003817/0.3263, allocations: 203.7 kB / 493.7 MB, free: 17.39 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3264, allocations: 68.33 kB / 493.8 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.3265, allocations: 123.2 kB / 493.9 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005515/0.3271, allocations: 384.4 kB / 494.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3271, allocations: 0.7031 kB / 494.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3271, allocations: 0 / 494.3 MB, free: 17.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3271, allocations: 0 / 494.3 MB, free: 17.14 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001156/0.3283, allocations: 0.6249 MB / 494.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.3283, allocations: 9.688 kB / 494.9 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.115e-05/0.3284, allocations: 36.25 kB / 495 MB, free: 16.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.3287, allocations: 258.8 kB / 495.2 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.883e-05/0.3288, allocations: 19.81 kB / 495.2 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.3288, allocations: 24.94 kB / 495.3 MB, free: 16.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009144/0.3298, allocations: 438.3 kB / 495.7 MB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3298, allocations: 0 / 495.7 MB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.3298, allocations: 15.28 kB / 495.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.854e-05/0.3299, allocations: 15.7 kB / 495.7 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008302/0.3307, allocations: 326.9 kB / 496 MB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.3323, allocations: 1.097 MB / 497.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005074/0.3328, allocations: 241 kB / 497.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003116/0.3331, allocations: 107.2 kB / 497.5 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.366e-05/0.3332, allocations: 8.797 kB / 497.5 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.3332, allocations: 36.86 kB / 497.5 MB, free: 15.19 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.334e-06/0.3332, allocations: 0 / 497.5 MB, free: 15.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001034/0.3343, allocations: 356.7 kB / 497.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.3343, allocations: 108.8 kB / 498 MB, free: 14.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000425/0.3348, allocations: 403.8 kB / 498.4 MB, free: 14.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.3348, allocations: 30.83 kB / 498.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.3349, allocations: 192.8 kB / 498.6 MB, free: 14.58 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.3349, allocations: 50.62 kB / 498.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.335, allocations: 72.08 kB / 498.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.942e-05/0.3351, allocations: 345.8 kB / 499 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003092/0.3354, allocations: 113.7 kB / 499.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.3358, allocations: 239.7 kB / 499.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/0.3365, allocations: 362.5 kB / 499.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3365, allocations: 1.984 kB / 499.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009112/0.3375, allocations: 397.8 kB / 0.4884 GB, free: 13.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.3375, allocations: 7.297 kB / 0.4884 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-05/0.3376, allocations: 23.22 kB / 0.4884 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/0.3376, allocations: 5.906 kB / 0.4884 GB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.3379, allocations: 48.14 kB / 0.4885 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.3379, allocations: 13.62 kB / 0.4885 GB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002938/0.3382, allocations: 55.62 kB / 0.4886 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.39e-05/0.3382, allocations: 22.19 kB / 0.4886 GB, free: 13.6 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001606/0.3384, allocations: 185.3 kB / 0.4888 GB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.044e-05/0.3385, allocations: 29.25 kB / 0.4888 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006376/0.3391, allocations: 284.1 kB / 0.4891 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.3391, allocations: 3.125 kB / 0.4891 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.3392, allocations: 5.062 kB / 0.4891 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.3392, allocations: 1.844 kB / 0.4891 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004819/0.3397, allocations: 301 kB / 0.4893 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.62e-05/0.3397, allocations: 20.03 kB / 0.4894 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001465/0.3399, allocations: 23.72 kB / 0.4894 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3399, allocations: 5.469 kB / 0.4894 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.09e-05/0.3399, allocations: 14.77 kB / 0.4894 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.3399, allocations: 1.312 kB / 0.4894 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.3399, allocations: 4.734 kB / 0.4894 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000671/0.3406, allocations: 0.4975 MB / 0.4899 GB, free: 12.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.3407, allocations: 116.2 kB / 0.49 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.608e-05/0.3407, allocations: 1.766 kB / 0.49 GB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.341, allocations: 19.38 kB / 0.49 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.345e-05/0.3411, allocations: 20.34 kB / 0.4901 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.3411, allocations: 15.8 kB / 0.4901 GB, free: 12.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002932/0.3414, allocations: 289.8 kB / 0.4903 GB, free: 12.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3414, allocations: 0 / 0.4903 GB, free: 12.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005577/0.342, allocations: 99.25 kB / 0.4904 GB, free: 12.48 MB / 382.1 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002792/0.3423, allocations: 159.2 kB / 0.4906 GB, free: 12.36 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008222/0.3431, allocations: 425 kB / 0.491 GB, free: 12.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.3431, allocations: 4.188 kB / 0.491 GB, free: 12.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003678/0.3435, allocations: 273.9 kB / 0.4913 GB, free: 11.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006137/0.3441, allocations: 75.39 kB / 0.4913 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.3452, allocations: 0.5985 MB / 0.4919 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002642/0.3455, allocations: 0.7995 MB / 0.4927 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.3457, allocations: 67.5 kB / 0.4928 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.3458, allocations: 20.41 kB / 0.4928 GB, free: 10.87 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3458, allocations: 0 / 0.4928 GB, free: 10.87 MB / 382.1 MB Notification: Performance of Templates: time 0.01061/0.3564, allocations: 5.73 MB / 0.4984 GB, free: 8.691 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)