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.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,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.006566/0.006566, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.00126/0.00126, allocations: 197.2 kB / 16.67 MB, free: 5.934 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.523/1.523, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.3923/0.3923, allocations: 39.94 MB / 309.8 MB, free: 9.457 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.00154/0.00154, allocations: 71.91 kB / 435.8 MB, free: 2.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4133/0.4149, allocations: 56.88 MB / 492.7 MB, free: 19.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.003582/0.4185, allocations: 2.002 MB / 494.7 MB, free: 18.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.4206, allocations: 1.128 MB / 495.8 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000107/0.4207, allocations: 1.25 kB / 495.8 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003244/0.421, allocations: 54.7 kB / 495.9 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.4213, allocations: 78.56 kB / 496 MB, free: 17.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000608/0.4219, allocations: 163.5 kB / 496.1 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003798/0.4223, allocations: 323 kB / 496.4 MB, free: 17.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.766e-05/0.4224, allocations: 41.81 kB / 496.5 MB, free: 17.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.4226, allocations: 120 kB / 496.6 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002237/0.4228, allocations: 137.5 kB / 496.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.4229, allocations: 10.94 kB / 496.7 MB, free: 16.93 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004138/0.4233, allocations: 195.5 kB / 496.9 MB, free: 16.87 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.4234, allocations: 73.41 kB / 497 MB, free: 16.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.4236, allocations: 122.1 kB / 497.1 MB, free: 16.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006281/0.4242, allocations: 383.9 kB / 497.5 MB, free: 16.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.4242, allocations: 3.938 kB / 497.5 MB, free: 16.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.4243, allocations: 6.094 kB / 497.5 MB, free: 16.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.4243, allocations: 0 / 497.5 MB, free: 16.61 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.001264/0.4255, allocations: 0.6162 MB / 498.1 MB, free: 16.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.4256, allocations: 9.656 kB / 498.1 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.501e-05/0.4257, allocations: 36.03 kB / 498.2 MB, free: 16.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.426, allocations: 263.6 kB / 498.4 MB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.426, allocations: 23.78 kB / 498.4 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.192e-05/0.4261, allocations: 25.38 kB / 498.5 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.427, allocations: 432.9 kB / 498.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.427, allocations: 0 / 498.9 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.427, allocations: 14.95 kB / 498.9 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/0.4271, allocations: 20.33 kB / 498.9 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008378/0.4279, allocations: 322.5 kB / 499.2 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001637/0.4296, allocations: 1.102 MB / 0.4886 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.4302, allocations: 236.2 kB / 0.4888 GB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002916/0.4305, allocations: 115.6 kB / 0.4889 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.607e-05/0.4305, allocations: 6.109 kB / 0.489 GB, free: 14.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.4306, allocations: 37.19 kB / 0.489 GB, free: 14.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 2.946e-06/0.4306, allocations: 3.984 kB / 0.489 GB, free: 14.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001121/0.4317, allocations: 359 kB / 0.4893 GB, free: 14.55 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.924e-05/0.4318, allocations: 108 kB / 0.4894 GB, free: 14.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004971/0.4323, allocations: 400.9 kB / 0.4898 GB, free: 14.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.4323, allocations: 33.7 kB / 0.4899 GB, free: 14.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.4325, allocations: 184.9 kB / 0.49 GB, free: 14.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.4326, allocations: 54.91 kB / 0.4901 GB, free: 14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.4327, allocations: 64.55 kB / 0.4901 GB, free: 13.96 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4328, allocations: 345 kB / 0.4905 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003515/0.4332, allocations: 113.6 kB / 0.4906 GB, free: 13.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004313/0.4336, allocations: 244.9 kB / 0.4908 GB, free: 13.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007554/0.4344, allocations: 359.6 kB / 0.4912 GB, free: 13.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.4344, allocations: 2.188 kB / 0.4912 GB, free: 13.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000933/0.4353, allocations: 405.6 kB / 0.4915 GB, free: 13.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.4354, allocations: 11.5 kB / 0.4916 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.845e-05/0.4354, allocations: 24.08 kB / 0.4916 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.4355, allocations: 5.5 kB / 0.4916 GB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000273/0.4357, allocations: 46.34 kB / 0.4916 GB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.4358, allocations: 13.94 kB / 0.4916 GB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003399/0.4361, allocations: 55.77 kB / 0.4917 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.4362, allocations: 19.02 kB / 0.4917 GB, free: 13.06 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.000239/0.4364, allocations: 181.7 kB / 0.4919 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.4365, allocations: 28.8 kB / 0.4919 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007899/0.4373, allocations: 283.6 kB / 0.4922 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.4374, allocations: 3.891 kB / 0.4922 GB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.4374, allocations: 5.219 kB / 0.4922 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.014e-06/0.4374, allocations: 1.188 kB / 0.4922 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006528/0.438, allocations: 297 kB / 0.4925 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.621e-05/0.4381, allocations: 20.36 kB / 0.4925 GB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.4383, allocations: 26.75 kB / 0.4925 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.349e-06/0.4383, allocations: 1.375 kB / 0.4925 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.871e-05/0.4383, allocations: 10.81 kB / 0.4925 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.4384, allocations: 5.312 kB / 0.4925 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/0.4384, allocations: 5.219 kB / 0.4925 GB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/0.4393, allocations: 0.4933 MB / 0.493 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.4394, allocations: 115.3 kB / 0.4931 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.052e-05/0.4395, allocations: 2.547 kB / 0.4931 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002972/0.4398, allocations: 19.73 kB / 0.4932 GB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.698e-05/0.4399, allocations: 24.5 kB / 0.4932 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.857e-05/0.4399, allocations: 12.8 kB / 0.4932 GB, free: 12.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004129/0.4403, allocations: 286.6 kB / 0.4935 GB, free: 11.97 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4403, allocations: 1.188 kB / 0.4935 GB, free: 11.97 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000692/0.441, allocations: 98.22 kB / 0.4936 GB, free: 11.95 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.0003978/0.4414, allocations: 149.7 kB / 0.4937 GB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.4425, allocations: 432.3 kB / 0.4941 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.4425, allocations: 0 / 0.4941 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.4429, allocations: 274.9 kB / 0.4944 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006802/0.4436, allocations: 79.95 kB / 0.4945 GB, free: 11.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.4448, allocations: 0.6103 MB / 0.495 GB, free: 10.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.4451, allocations: 0.7981 MB / 0.4958 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.4453, allocations: 63.8 kB / 0.4959 GB, free: 10.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.437e-05/0.4454, allocations: 25.38 kB / 0.4959 GB, free: 10.09 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4454, allocations: 0 / 0.4959 GB, free: 10.09 MB / 382.1 MB Notification: Performance of Templates: time 0.01191/0.4573, allocations: 5.732 MB / 0.5015 GB, free: 7.215 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.pipe 2>&1)