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_overall.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_overall,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009912/0.009912, allocations: 103.4 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.002141/0.002141, allocations: 194.1 kB / 16.68 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.607/1.607, allocations: 205.1 MB / 222.6 MB, free: 4.379 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.3532/0.3532, allocations: 39.94 MB / 309.8 MB, free: 9.629 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.001539/0.001539, allocations: 75.91 kB / 435.8 MB, free: 2.41 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3927/0.3942, allocations: 56.87 MB / 492.7 MB, free: 19.38 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall): time 0.004741/0.399, allocations: 2.255 MB / 494.9 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003749/0.4028, allocations: 2.091 MB / 497 MB, free: 16.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003723/0.4032, allocations: 2.625 kB / 497 MB, free: 16.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004751/0.4038, allocations: 79.36 kB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005055/0.4043, allocations: 100.8 kB / 497.2 MB, free: 16.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001888/0.4062, allocations: 421 kB / 497.6 MB, free: 16.08 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009667/0.4072, allocations: 0.5179 MB / 498.1 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001703/0.4074, allocations: 71.89 kB / 498.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005254/0.4079, allocations: 179.2 kB / 498.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005932/0.4085, allocations: 213.3 kB / 498.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000119/0.4086, allocations: 13.47 kB / 498.6 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001831/0.4105, allocations: 0.6635 MB / 499.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002276/0.4107, allocations: 107.3 kB / 499.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003929/0.4111, allocations: 217.8 kB / 499.6 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001923/0.413, allocations: 0.8227 MB / 0.4887 GB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4131, allocations: 1.406 kB / 0.4887 GB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4131, allocations: 0 / 0.4887 GB, free: 14.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.963e-05/0.4131, allocations: 0 / 0.4887 GB, free: 14.91 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002206/0.4153, allocations: 0.8421 MB / 0.4895 GB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.4154, allocations: 13.41 kB / 0.4895 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001455/0.4155, allocations: 54.81 kB / 0.4896 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005268/0.4161, allocations: 309.8 kB / 0.4899 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.4161, allocations: 52.61 kB / 0.4899 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.17e-05/0.4162, allocations: 54.84 kB / 0.49 GB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.4175, allocations: 0.7658 MB / 0.4907 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/0.4176, allocations: 1.375 kB / 0.4907 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.524e-05/0.4176, allocations: 24.06 kB / 0.4907 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.006e-05/0.4177, allocations: 30.84 kB / 0.4908 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.4188, allocations: 0.5489 MB / 0.4913 GB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003075/0.4219, allocations: 1.69 MB / 0.493 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006205/0.4226, allocations: 306.2 kB / 0.4933 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003699/0.4229, allocations: 145.7 kB / 0.4934 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.159e-05/0.423, allocations: 12.7 kB / 0.4934 GB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.423, allocations: 36.84 kB / 0.4934 GB, free: 12.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=20): time 2.895e-06/0.4231, allocations: 0 / 0.4934 GB, free: 12.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001347/0.4244, allocations: 0.5045 MB / 0.4939 GB, free: 12.06 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.76e-05/0.4245, allocations: 113.2 kB / 0.494 GB, free: 11.93 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/0.4251, allocations: 0.6378 MB / 0.4947 GB, free: 11.56 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.4251, allocations: 31.27 kB / 0.4947 GB, free: 11.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.4252, allocations: 282.5 kB / 0.495 GB, free: 11.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.4253, allocations: 78.06 kB / 0.495 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.4254, allocations: 125.2 kB / 0.4952 GB, free: 11.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.4255, allocations: 362.1 kB / 0.4955 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003805/0.4259, allocations: 195.6 kB / 0.4957 GB, free: 10.7 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005331/0.4265, allocations: 456.5 kB / 0.4961 GB, free: 10.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.4276, allocations: 0.686 MB / 0.4968 GB, free: 9.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.4276, allocations: 2.406 kB / 0.4968 GB, free: 9.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001415/0.429, allocations: 0.6873 MB / 0.4975 GB, free: 9.379 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4291, allocations: 13 kB / 0.4975 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.641e-05/0.4292, allocations: 50.14 kB / 0.4975 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.529e-05/0.4292, allocations: 11.91 kB / 0.4975 GB, free: 9.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/0.4295, allocations: 67.36 kB / 0.4976 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.467e-05/0.4296, allocations: 20.92 kB / 0.4976 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004632/0.43, allocations: 102.4 kB / 0.4977 GB, free: 9.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.4301, allocations: 44.7 kB / 0.4978 GB, free: 9.254 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002556/0.4304, allocations: 252.9 kB / 0.498 GB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.4305, allocations: 53.33 kB / 0.4981 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009115/0.4314, allocations: 468.5 kB / 0.4985 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.4314, allocations: 8.484 kB / 0.4985 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.4314, allocations: 1.125 kB / 0.4985 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.4315, allocations: 0 / 0.4985 GB, free: 8.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006131/0.4321, allocations: 408.5 kB / 0.4989 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.704e-05/0.4322, allocations: 45.36 kB / 0.4989 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.4323, allocations: 27.5 kB / 0.499 GB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.4323, allocations: 5.5 kB / 0.499 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.4324, allocations: 21.11 kB / 0.499 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.4324, allocations: 1.875 kB / 0.499 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.4324, allocations: 0 / 0.499 GB, free: 8.43 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009405/0.4333, allocations: 0.6117 MB / 0.4996 GB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.4335, allocations: 127.6 kB / 0.4997 GB, free: 7.887 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.4336, allocations: 10.09 kB / 0.4997 GB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.4339, allocations: 18.44 kB / 0.4997 GB, free: 7.871 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.434, allocations: 29.08 kB / 0.4998 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.434, allocations: 15.17 kB / 0.4998 GB, free: 7.852 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005715/0.4346, allocations: 442.6 kB / 0.5002 GB, free: 7.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4346, allocations: 4 kB / 0.5002 GB, free: 7.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001119/0.4357, allocations: 187.3 kB / 0.5004 GB, free: 7.566 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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0006644/0.4364, allocations: 226.8 kB / 0.5006 GB, free: 7.414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001387/0.4378, allocations: 0.7549 MB / 0.5013 GB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.4378, allocations: 0 / 0.5013 GB, free: 6.863 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005431/0.4384, allocations: 485.5 kB / 0.5018 GB, free: 6.422 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008572/0.4392, allocations: 132.5 kB / 0.5019 GB, free: 6.344 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.4414, allocations: 0.997 MB / 0.5029 GB, free: 5.801 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003871/0.4418, allocations: 0.8914 MB / 0.5038 GB, free: 5.012 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003468/0.4421, allocations: 135.3 kB / 0.5039 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.625e-05/0.4422, allocations: 36.38 kB / 0.5039 GB, free: 4.934 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4422, allocations: 0 / 0.5039 GB, free: 4.934 MB / 382.1 MB Notification: Performance of Templates: time 0.01827/0.4605, allocations: 10.63 MB / 0.5143 GB, free: 13.5 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall.pipe 2>&1)