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_overall_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_overall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008586/0.008586, allocations: 102 kB / 15.73 MB, free: 6.484 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.001501/0.001501, allocations: 190.1 kB / 16.67 MB, free: 6.379 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.634/1.634, allocations: 205.1 MB / 222.5 MB, free: 4.504 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.3843/0.3843, allocations: 38 MB / 307.9 MB, free: 10.03 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.001562/0.001562, allocations: 71.84 kB / 433 MB, free: 5.391 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3666, allocations: 56.47 MB / 489.5 MB, free: 20.02 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC): time 0.003588/0.3703, allocations: 2.163 MB / 491.7 MB, free: 18.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.3728, allocations: 1.828 MB / 493.5 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.373, allocations: 1.188 kB / 493.5 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003054/0.3733, allocations: 72.28 kB / 493.6 MB, free: 17.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004646/0.3738, allocations: 151.2 kB / 493.7 MB, free: 17.13 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009/0.3747, allocations: 334.4 kB / 494 MB, free: 16.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006502/0.3753, allocations: 486.8 kB / 494.5 MB, free: 16.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.3754, allocations: 79.42 kB / 494.6 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.3757, allocations: 183.7 kB / 494.8 MB, free: 16.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003529/0.3761, allocations: 225.9 kB / 495 MB, free: 16.57 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.3761, allocations: 13.09 kB / 495 MB, free: 16.57 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.3772, allocations: 0.5871 MB / 495.6 MB, free: 16.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.3774, allocations: 118.1 kB / 495.7 MB, free: 16.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002225/0.3777, allocations: 198.3 kB / 495.9 MB, free: 16.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001192/0.3789, allocations: 0.766 MB / 496.7 MB, free: 15.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.765e-06/0.3789, allocations: 4 kB / 496.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.988e-06/0.3789, allocations: 1.891 kB / 496.7 MB, free: 15.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.3789, allocations: 0 / 496.7 MB, free: 15.88 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001356/0.3803, allocations: 0.8011 MB / 497.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3803, allocations: 9.375 kB / 497.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.3805, allocations: 55.25 kB / 497.5 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.3809, allocations: 314.5 kB / 497.8 MB, free: 15 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.381, allocations: 42.8 kB / 497.9 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.422e-05/0.3811, allocations: 58.59 kB / 497.9 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001416/0.3825, allocations: 0.7578 MB / 498.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.3825, allocations: 1.375 kB / 498.7 MB, free: 14.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.3826, allocations: 20.69 kB / 498.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.3827, allocations: 59.5 kB / 498.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001466/0.3842, allocations: 0.7973 MB / 499.6 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.3867, allocations: 1.526 MB / 0.4894 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008499/0.3876, allocations: 448.5 kB / 0.4898 GB, free: 13.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.3879, allocations: 155.5 kB / 0.4899 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.912e-05/0.3879, allocations: 15.77 kB / 0.49 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.388, allocations: 41.09 kB / 0.49 GB, free: 13.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=28): time 1.724e-06/0.388, allocations: 0 / 0.49 GB, free: 13.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=28): time 0.001163/0.3891, allocations: 0.5403 MB / 0.4905 GB, free: 13.48 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.785e-05/0.3892, allocations: 54.62 kB / 0.4906 GB, free: 13.42 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000694/0.3899, allocations: 0.5807 MB / 0.4911 GB, free: 13.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.598e-05/0.3899, allocations: 30.92 kB / 0.4912 GB, free: 13.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.3901, allocations: 278.2 kB / 0.4914 GB, free: 12.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.241e-05/0.3902, allocations: 105.5 kB / 0.4915 GB, free: 12.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001748/0.3904, allocations: 130.9 kB / 0.4917 GB, free: 12.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.3905, allocations: 359.6 kB / 0.492 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003777/0.3908, allocations: 191.9 kB / 0.4922 GB, free: 12.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000526/0.3914, allocations: 436.4 kB / 0.4926 GB, free: 12.06 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009892/0.3924, allocations: 0.661 MB / 0.4932 GB, free: 11.63 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.3924, allocations: 3.312 kB / 0.4932 GB, free: 11.63 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00132/0.3937, allocations: 0.6814 MB / 0.4939 GB, free: 11.42 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/0.3938, allocations: 9.344 kB / 0.4939 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.3938, allocations: 8.281 kB / 0.4939 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.3938, allocations: 11.84 kB / 0.4939 GB, free: 11.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.3949, allocations: 246.9 kB / 0.4942 GB, free: 11.38 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.3975, allocations: 7.316 MB / 0.5013 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.398, allocations: 91.36 kB / 0.5014 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.3981, allocations: 29.75 kB / 0.5014 GB, free: 4.082 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003731/0.3984, allocations: 273 kB / 0.5017 GB, free: 3.875 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.996e-05/0.3985, allocations: 44.84 kB / 0.5017 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001176/0.3997, allocations: 0.5621 MB / 0.5023 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3997, allocations: 3.016 kB / 0.5023 GB, free: 3.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-06/0.3998, allocations: 3.938 kB / 0.5023 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3998, allocations: 5.516 kB / 0.5023 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006171/0.4004, allocations: 435.2 kB / 0.5027 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4004, allocations: 9.188 kB / 0.5027 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009099/0.4013, allocations: 206.8 kB / 0.5029 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.4013, allocations: 1.031 kB / 0.5029 GB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.829e-05/0.4014, allocations: 18.77 kB / 0.5029 GB, free: 3.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/0.4048, allocations: 7.295 MB / 0.5101 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.4048, allocations: 3.984 kB / 0.5101 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009155/0.4058, allocations: 0.5037 MB / 0.5106 GB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.406, allocations: 130.3 kB / 0.5107 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.474e-05/0.406, allocations: 9.016 kB / 0.5107 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.4063, allocations: 17.41 kB / 0.5107 GB, free: 11.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.4064, allocations: 24.33 kB / 0.5107 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.4064, allocations: 17.67 kB / 0.5108 GB, free: 11.38 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005031/0.4069, allocations: 411.5 kB / 0.5111 GB, free: 11.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4069, allocations: 0 / 0.5111 GB, free: 11.15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008088/0.4077, allocations: 176.1 kB / 0.5113 GB, free: 11.12 MB / 398.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 12 * 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): 12 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005346/0.4083, allocations: 212.5 kB / 0.5115 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.4099, allocations: 0.6138 MB / 0.5121 GB, free: 10.74 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.41, allocations: 8.125 kB / 0.5121 GB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.411, allocations: 348.8 kB / 0.5125 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005855/0.4116, allocations: 114 kB / 0.5126 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.4132, allocations: 0.9704 MB / 0.5135 GB, free: 9.992 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004771/0.4137, allocations: 0.9079 MB / 0.5144 GB, free: 9.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003843/0.4141, allocations: 175 kB / 0.5146 GB, free: 9.109 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000103/0.4142, allocations: 43.16 kB / 0.5146 GB, free: 9.094 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.4142, allocations: 0 / 0.5146 GB, free: 9.094 MB / 398.1 MB Notification: Performance of Templates: time 0.02107/0.4353, allocations: 11.14 MB / 0.5255 GB, free: 1.781 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1)