Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.2_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.2_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.006513/0.006513, allocations: 105.3 kB / 15.74 MB, free: 6.441 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.001172/0.001172, allocations: 192.6 kB / 16.67 MB, free: 6.355 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.526/1.526, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3517/0.3517, allocations: 39.95 MB / 309.8 MB, free: 9.5 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.2. 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.001543/0.001544, allocations: 67.91 kB / 435.8 MB, free: 2.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3857, allocations: 56.88 MB / 492.7 MB, free: 19.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.003405/0.3892, allocations: 1.869 MB / 494.6 MB, free: 18.24 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.3907, allocations: 0.8444 MB / 495.4 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.094e-05/0.3908, allocations: 1.156 kB / 495.4 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002789/0.3911, allocations: 47.66 kB / 495.4 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002998/0.3914, allocations: 81.72 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.3917, allocations: 82.09 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003556/0.392, allocations: 259.1 kB / 495.9 MB, free: 17.44 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.572e-05/0.3921, allocations: 38.73 kB / 495.9 MB, free: 17.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.3923, allocations: 111.5 kB / 496 MB, free: 17.36 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.3925, allocations: 119.6 kB / 496.1 MB, free: 17.31 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/0.3925, allocations: 6.531 kB / 496.1 MB, free: 17.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002702/0.3928, allocations: 115.3 kB / 496.2 MB, free: 17.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001182/0.3929, allocations: 67.19 kB / 496.3 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001309/0.3931, allocations: 101.3 kB / 496.4 MB, free: 17.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004717/0.3936, allocations: 302.1 kB / 496.7 MB, free: 17.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3936, allocations: 0 / 496.7 MB, free: 17.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3936, allocations: 1.562 kB / 496.7 MB, free: 17.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.3936, allocations: 4 kB / 496.7 MB, free: 17.07 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.0008504/0.3945, allocations: 0.5482 MB / 497.3 MB, free: 16.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3945, allocations: 13.05 kB / 497.3 MB, free: 16.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.668e-05/0.3946, allocations: 33.56 kB / 497.3 MB, free: 16.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000258/0.3949, allocations: 249.5 kB / 497.5 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.549e-05/0.3949, allocations: 18.78 kB / 497.6 MB, free: 16.33 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.529e-05/0.3949, allocations: 28.53 kB / 497.6 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007287/0.3957, allocations: 376.3 kB / 498 MB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3957, allocations: 0 / 498 MB, free: 16.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.877e-05/0.3957, allocations: 14.38 kB / 498 MB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.3958, allocations: 28.39 kB / 498 MB, free: 16.17 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007001/0.3965, allocations: 375 kB / 498.4 MB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.398, allocations: 0.8402 MB / 499.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005405/0.3985, allocations: 253.8 kB / 499.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.3987, allocations: 92.36 kB / 499.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.954e-05/0.3988, allocations: 12.53 kB / 499.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.3988, allocations: 31.66 kB / 499.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.475e-06/0.3988, allocations: 4 kB / 499.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.0008887/0.3997, allocations: 339 kB / 499.9 MB, free: 15.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.3998, allocations: 53.09 kB / 500 MB, free: 15.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003411/0.4001, allocations: 334.8 kB / 0.4886 GB, free: 15.17 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.4001, allocations: 30.98 kB / 0.4886 GB, free: 15.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.565e-05/0.4002, allocations: 169.6 kB / 0.4888 GB, free: 14.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.4003, allocations: 55.91 kB / 0.4888 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.964e-05/0.4004, allocations: 64.7 kB / 0.4889 GB, free: 14.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.36e-05/0.4005, allocations: 338 kB / 0.4892 GB, free: 14.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.4007, allocations: 97.2 kB / 0.4893 GB, free: 14.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000315/0.401, allocations: 187.1 kB / 0.4895 GB, free: 14.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/0.4016, allocations: 305.4 kB / 0.4898 GB, free: 14.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.4016, allocations: 1.156 kB / 0.4898 GB, free: 14.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007554/0.4024, allocations: 346.4 kB / 0.4901 GB, free: 14.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.4024, allocations: 7.375 kB / 0.4901 GB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4024, allocations: 7.328 kB / 0.4901 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.4025, allocations: 4.125 kB / 0.4901 GB, free: 14.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.4031, allocations: 119.5 kB / 0.4902 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.4044, allocations: 3.653 MB / 0.4938 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.4046, allocations: 43.72 kB / 0.4938 GB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.4047, allocations: 12.45 kB / 0.4939 GB, free: 10.55 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.0001808/0.4048, allocations: 185.1 kB / 0.494 GB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.4049, allocations: 26.7 kB / 0.4941 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007166/0.4056, allocations: 335 kB / 0.4944 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.4056, allocations: 1.438 kB / 0.4944 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.4056, allocations: 1 kB / 0.4944 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.4057, allocations: 1.312 kB / 0.4944 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003543/0.406, allocations: 303.4 kB / 0.4947 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.406, allocations: 5.062 kB / 0.4947 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004885/0.4065, allocations: 103.2 kB / 0.4948 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4065, allocations: 1.375 kB / 0.4948 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.4066, allocations: 13.27 kB / 0.4948 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.4078, allocations: 3.643 MB / 0.4983 GB, free: 6.449 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4078, allocations: 9.094 kB / 0.4984 GB, free: 6.441 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005515/0.4083, allocations: 341.4 kB / 0.4987 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.4084, allocations: 104.4 kB / 0.4988 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.108e-05/0.4085, allocations: 6.891 kB / 0.4988 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.4087, allocations: 13.67 kB / 0.4988 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.685e-05/0.4087, allocations: 21.67 kB / 0.4988 GB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.4087, allocations: 5.922 kB / 0.4988 GB, free: 6.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002502/0.409, allocations: 244.8 kB / 0.4991 GB, free: 6.023 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.409, allocations: 3.938 kB / 0.4991 GB, free: 6.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004304/0.4094, allocations: 75.67 kB / 0.4991 GB, free: 6.008 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.0002445/0.4097, allocations: 133 kB / 0.4993 GB, free: 5.902 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009347/0.4106, allocations: 317.2 kB / 0.4996 GB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4107, allocations: 0 / 0.4996 GB, free: 5.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005745/0.4112, allocations: 194.5 kB / 0.4997 GB, free: 5.754 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004566/0.4117, allocations: 58.28 kB / 0.4998 GB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009594/0.4127, allocations: 0.5761 MB / 0.5004 GB, free: 5.352 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.4129, allocations: 0.7902 MB / 0.5011 GB, free: 4.605 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002004/0.4131, allocations: 91.66 kB / 0.5012 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.412e-05/0.4132, allocations: 21.62 kB / 0.5012 GB, free: 4.555 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4132, allocations: 0 / 0.5012 GB, free: 4.555 MB / 382.1 MB Notification: Performance of Templates: time 0.009602/0.4228, allocations: 5.424 MB / 0.5065 GB, free: 1.883 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC.pipe 2>&1)