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.006229/0.006229, allocations: 100.8 kB / 15.73 MB, free: 6.062 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.001095/0.001095, allocations: 195.7 kB / 16.68 MB, free: 5.977 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.478/1.478, 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.3165/0.3165, allocations: 37.99 MB / 307.9 MB, free: 10.12 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.001429/0.001429, allocations: 63.91 kB / 433 MB, free: 5.398 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3517, allocations: 56.47 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003086/0.3548, allocations: 1.873 MB / 491.4 MB, free: 18.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.3562, allocations: 0.8373 MB / 492.2 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.415e-05/0.3563, allocations: 1.469 kB / 492.2 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.3565, allocations: 57.27 kB / 492.3 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002912/0.3568, allocations: 82.14 kB / 492.3 MB, free: 18.04 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002729/0.3571, allocations: 83.25 kB / 492.4 MB, free: 18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.3575, allocations: 258.6 kB / 492.7 MB, free: 17.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.152e-05/0.3575, allocations: 35.59 kB / 492.7 MB, free: 17.88 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.3577, allocations: 98.81 kB / 492.8 MB, free: 17.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.3579, allocations: 123.6 kB / 492.9 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.3579, allocations: 10.28 kB / 492.9 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002726/0.3582, allocations: 115.7 kB / 493 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3583, allocations: 63.3 kB / 493.1 MB, free: 17.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001264/0.3584, allocations: 104.8 kB / 493.2 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004795/0.3589, allocations: 302.5 kB / 493.5 MB, free: 17.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3589, allocations: 0 / 493.5 MB, free: 17.53 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.359, allocations: 0 / 493.5 MB, free: 17.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.359, allocations: 0.7812 kB / 493.5 MB, free: 17.53 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.0008801/0.3599, allocations: 0.5485 MB / 494.1 MB, free: 17.06 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.3599, allocations: 13.64 kB / 494.1 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.865e-05/0.36, allocations: 25.5 kB / 494.1 MB, free: 17.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002536/0.3602, allocations: 252.8 kB / 494.3 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.21e-05/0.3603, allocations: 19.48 kB / 494.4 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.652e-05/0.3603, allocations: 31.94 kB / 494.4 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007016/0.361, allocations: 380.1 kB / 494.8 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.361, allocations: 0 / 494.8 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.909e-05/0.3611, allocations: 14.67 kB / 494.8 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.955e-05/0.3611, allocations: 24.69 kB / 494.8 MB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006931/0.3618, allocations: 371.3 kB / 495.2 MB, free: 16.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.3633, allocations: 0.8397 MB / 496 MB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.3639, allocations: 262.5 kB / 496.3 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002377/0.3642, allocations: 103.6 kB / 496.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.69e-05/0.3642, allocations: 7.516 kB / 496.4 MB, free: 15.99 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.3642, allocations: 33.52 kB / 496.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.673e-06/0.3642, allocations: 0 / 496.4 MB, free: 15.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0007865/0.365, allocations: 331.4 kB / 496.7 MB, free: 15.86 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.3651, allocations: 58.09 kB / 496.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.3654, allocations: 338.8 kB / 497.1 MB, free: 15.63 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.999e-05/0.3655, allocations: 30.83 kB / 497.1 MB, free: 15.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.067e-05/0.3656, allocations: 172.3 kB / 497.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.372e-05/0.3656, allocations: 55.61 kB / 497.4 MB, free: 15.4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.3657, allocations: 56.97 kB / 497.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.678e-05/0.3658, allocations: 344.5 kB / 497.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.366, allocations: 96.84 kB / 497.8 MB, free: 15.03 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002741/0.3663, allocations: 185.8 kB / 498 MB, free: 14.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/0.3668, allocations: 303.9 kB / 498.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3668, allocations: 5.406 kB / 498.3 MB, free: 14.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006173/0.3674, allocations: 341.8 kB / 498.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.3675, allocations: 6.875 kB / 498.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.3675, allocations: 3.969 kB / 498.7 MB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.3675, allocations: 8.125 kB / 498.7 MB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006015/0.3681, allocations: 123 kB / 498.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.3694, allocations: 3.656 MB / 0.4907 GB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.3697, allocations: 44.47 kB / 0.4907 GB, free: 11.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.3697, allocations: 12.67 kB / 0.4907 GB, free: 11.01 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.0002628/0.37, allocations: 181.6 kB / 0.4909 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.954e-05/0.3701, allocations: 26.83 kB / 0.4909 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007408/0.3708, allocations: 327.8 kB / 0.4912 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.3708, allocations: 3.75 kB / 0.4913 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3708, allocations: 0 / 0.4913 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3708, allocations: 0.7031 kB / 0.4913 GB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003797/0.3712, allocations: 300.4 kB / 0.4915 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3712, allocations: 0 / 0.4915 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004776/0.3717, allocations: 108.1 kB / 0.4916 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.3717, allocations: 1.078 kB / 0.4916 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.06e-05/0.3718, allocations: 8.375 kB / 0.4917 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001395/0.3732, allocations: 3.644 MB / 0.4952 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.3732, allocations: 8.906 kB / 0.4952 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006051/0.3738, allocations: 347.9 kB / 0.4956 GB, free: 6.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.564e-05/0.3739, allocations: 113.1 kB / 0.4957 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.374, allocations: 0 / 0.4957 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.3741, allocations: 15.66 kB / 0.4957 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/0.3742, allocations: 16.14 kB / 0.4957 GB, free: 6.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.3743, allocations: 5.938 kB / 0.4957 GB, free: 6.605 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003103/0.3746, allocations: 250.2 kB / 0.4959 GB, free: 6.488 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3746, allocations: 0 / 0.4959 GB, free: 6.488 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000493/0.3751, allocations: 67.44 kB / 0.496 GB, free: 6.484 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.0003264/0.3754, allocations: 145.1 kB / 0.4961 GB, free: 6.367 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.3765, allocations: 314 kB / 0.4964 GB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.3765, allocations: 0.75 kB / 0.4964 GB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006301/0.3771, allocations: 189.3 kB / 0.4966 GB, free: 6.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004889/0.3776, allocations: 62.64 kB / 0.4967 GB, free: 6.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.3788, allocations: 0.5776 MB / 0.4972 GB, free: 5.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.3791, allocations: 0.7886 MB / 0.498 GB, free: 5.266 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002351/0.3794, allocations: 83.58 kB / 0.4981 GB, free: 5.254 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.933e-05/0.3795, allocations: 28.22 kB / 0.4981 GB, free: 5.242 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3795, allocations: 0 / 0.4981 GB, free: 5.242 MB / 382.1 MB Notification: Performance of Templates: time 0.01202/0.3915, allocations: 5.426 MB / 0.5034 GB, free: 3.258 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)