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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002676/0.002676, allocations: 176.8 kB / 7.452 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.299/1.299, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002003/0.002003, allocations: 107.9 kB / 217.7 MB, free: 8.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1774/0.1774, allocations: 37.97 MB / 294.8 MB, free: 9.617 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.057e-06/9.288e-06, allocations: 1.188 kB / 349.5 MB, free: 37.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 48.71 MB / 398.2 MB, free: 5.66 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4408, allocations: 86.3 MB / 484.5 MB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.4412, allocations: 94.64 kB / 484.6 MB, free: 13.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.05894/0.5001, allocations: 22.93 MB / 0.4957 GB, free: 7.859 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.5002, allocations: 7.5 kB / 0.4957 GB, free: 7.859 MB / 330.7 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.001341/0.5015, allocations: 0.6956 MB / 0.4963 GB, free: 7.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.5016, allocations: 11.38 kB / 0.4964 GB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001722/0.5018, allocations: 53.88 kB / 0.4964 GB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004814/0.5023, allocations: 298.4 kB / 0.4967 GB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.677e-05/0.5023, allocations: 23.36 kB / 0.4967 GB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.249e-05/0.5024, allocations: 35.06 kB / 0.4967 GB, free: 6.988 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008691/0.5032, allocations: 0.7012 MB / 0.4974 GB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008133/0.5041, allocations: 0.6562 MB / 0.4981 GB, free: 6.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.5041, allocations: 3.906 kB / 0.4981 GB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.069e-05/0.5042, allocations: 3.938 kB / 0.4981 GB, free: 6.676 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.285e-05/0.5042, allocations: 50.91 kB / 0.4981 GB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002343/0.5066, allocations: 1.39 MB / 0.4995 GB, free: 6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.5073, allocations: 0.5484 MB / 0.5 GB, free: 5.852 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.5075, allocations: 177.5 kB / 0.5002 GB, free: 5.809 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.5075, allocations: 18.89 kB / 0.5002 GB, free: 5.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.5076, allocations: 37.72 kB / 0.5002 GB, free: 5.758 MB / 330.7 MB Notification: Performance of pre-optimization done (n=37): time 1.894e-06/0.5076, allocations: 0 / 0.5002 GB, free: 5.758 MB / 330.7 MB Notification: Performance of matching and sorting (n=37): time 0.0007047/0.5083, allocations: 438.6 kB / 0.5007 GB, free: 5.617 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.5083, allocations: 59.53 kB / 0.5007 GB, free: 5.551 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002721/0.5086, allocations: 256 kB / 0.501 GB, free: 5.414 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.908e-05/0.5086, allocations: 25.7 kB / 0.501 GB, free: 5.383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.5088, allocations: 272.9 kB / 0.5013 GB, free: 5.164 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.831e-05/0.5089, allocations: 132.5 kB / 0.5014 GB, free: 5.066 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.5089, allocations: 0 / 0.5014 GB, free: 5.066 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.509, allocations: 342.1 kB / 0.5017 GB, free: 4.746 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002575/0.5093, allocations: 213 kB / 0.5019 GB, free: 4.699 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003337/0.5096, allocations: 441.5 kB / 0.5023 GB, free: 4.344 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003417/0.51, allocations: 298.2 kB / 0.5026 GB, free: 4.254 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.51, allocations: 0 / 0.5026 GB, free: 4.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008688/0.5109, allocations: 0.6499 MB / 0.5032 GB, free: 4.043 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.5109, allocations: 11.69 kB / 0.5033 GB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5109, allocations: 7.75 kB / 0.5033 GB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.5109, allocations: 11.62 kB / 0.5033 GB, free: 4.039 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.5122, allocations: 255.2 kB / 0.5035 GB, free: 3.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/0.5161, allocations: 7.41 MB / 0.5108 GB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/0.5167, allocations: 33.97 kB / 0.5108 GB, free: 12.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.5169, allocations: 37.92 kB / 0.5108 GB, free: 12.75 MB / 346.7 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].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002535/0.5171, allocations: 145.5 kB / 0.511 GB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.813e-05/0.5172, allocations: 30.06 kB / 0.511 GB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001447/0.5187, allocations: 0.6615 MB / 0.5116 GB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/0.5187, allocations: 5.094 kB / 0.5116 GB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.5187, allocations: 7.938 kB / 0.5116 GB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.098e-05/0.5188, allocations: 3.984 kB / 0.5117 GB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008212/0.5196, allocations: 420.8 kB / 0.5121 GB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.5196, allocations: 0 / 0.5121 GB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.5208, allocations: 220.6 kB / 0.5123 GB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/0.5208, allocations: 1.25 kB / 0.5123 GB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.122e-05/0.5209, allocations: 9.641 kB / 0.5123 GB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004727/0.5256, allocations: 7.394 MB / 0.5195 GB, free: 4.832 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/0.5256, allocations: 3.984 kB / 0.5195 GB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009174/0.5265, allocations: 0.536 MB / 0.52 GB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001697/0.5267, allocations: 105.2 kB / 0.5201 GB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.07e-05/0.5268, allocations: 1.219 kB / 0.5201 GB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.5271, allocations: 11.05 kB / 0.5201 GB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.5272, allocations: 32.83 kB / 0.5202 GB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/0.5273, allocations: 14.58 kB / 0.5202 GB, free: 4.449 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002224/0.5275, allocations: 178.2 kB / 0.5204 GB, free: 4.355 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001346/0.5288, allocations: 202.5 kB / 0.5205 GB, free: 4.305 MB / 346.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00104/0.5299, allocations: 273.1 kB / 0.5208 GB, free: 4.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002851/0.5328, allocations: 0.6622 MB / 0.5215 GB, free: 3.988 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5328, allocations: 0 / 0.5215 GB, free: 3.988 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001408/0.5342, allocations: 392.7 kB / 0.5218 GB, free: 3.898 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/0.5347, allocations: 21.73 kB / 0.5218 GB, free: 3.895 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002873/0.5376, allocations: 0.7214 MB / 0.5226 GB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009016/0.5385, allocations: 0.9716 MB / 0.5235 GB, free: 2.766 MB / 346.7 MB Notification: Performance of SimCode: time 1.183e-06/0.5385, allocations: 0 / 0.5235 GB, free: 2.766 MB / 346.7 MB Notification: Performance of Templates: time 0.01902/0.5575, allocations: 7.595 MB / 0.5309 GB, free: 15.04 MB / 362.7 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)