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_laminar_KC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_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.2+maint.om/package.mo): time 0.002732/0.002732, allocations: 183.1 kB / 7.457 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.186/1.186, allocations: 194.2 MB / 202.1 MB, free: 8.652 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001481/0.001481, allocations: 112.1 kB / 247.1 MB, free: 6.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1564/0.1564, allocations: 39.93 MB / 331.9 MB, free: 4.883 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.232e-06/6.262e-06, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08949/0.08951, allocations: 54.87 MB / 447.7 MB, free: 20.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2902/0.3797, allocations: 87.55 MB / 0.5227 GB, free: 8.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.3801, allocations: 92.7 kB / 0.5228 GB, free: 8.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03151/0.4116, allocations: 11.33 MB / 0.5338 GB, free: 2.418 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.4117, allocations: 8 kB / 0.5338 GB, free: 2.41 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0009563/0.4126, allocations: 0.6074 MB / 0.5344 GB, free: 1.781 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.4127, allocations: 8.031 kB / 0.5344 GB, free: 1.773 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001334/0.4128, allocations: 51.34 kB / 0.5345 GB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.4133, allocations: 289.2 kB / 0.5348 GB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.282e-05/0.4133, allocations: 16 kB / 0.5348 GB, free: 1.395 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.172e-05/0.4134, allocations: 28 kB / 0.5348 GB, free: 1.367 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007705/0.4141, allocations: 0.608 MB / 0.5354 GB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000751/0.4149, allocations: 0.5788 MB / 0.536 GB, free: 456 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.4149, allocations: 0 / 0.536 GB, free: 456 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.757e-05/0.415, allocations: 0 / 0.536 GB, free: 456 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.351e-05/0.415, allocations: 45.19 kB / 0.536 GB, free: 408 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002238/0.4173, allocations: 1.235 MB / 0.5372 GB, free: 15.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008669/0.4182, allocations: 0.556 MB / 0.5378 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002625/0.4184, allocations: 174.2 kB / 0.5379 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.086e-05/0.4185, allocations: 11.73 kB / 0.5379 GB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.4186, allocations: 42.22 kB / 0.538 GB, free: 14.58 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 2.976e-06/0.4186, allocations: 0 / 0.538 GB, free: 14.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.0008271/0.4194, allocations: 423.8 kB / 0.5384 GB, free: 14.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.4195, allocations: 59.41 kB / 0.5384 GB, free: 14.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002251/0.4197, allocations: 174.1 kB / 0.5386 GB, free: 13.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.4197, allocations: 25.7 kB / 0.5386 GB, free: 13.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.4199, allocations: 218.2 kB / 0.5388 GB, free: 13.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.4201, allocations: 120.9 kB / 0.5389 GB, free: 13.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.238e-05/0.4201, allocations: 0 / 0.5389 GB, free: 13.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.4203, allocations: 337.4 kB / 0.5393 GB, free: 13.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.4206, allocations: 170.1 kB / 0.5394 GB, free: 13.15 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003814/0.421, allocations: 276.2 kB / 0.5397 GB, free: 12.87 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003282/0.4213, allocations: 217.3 kB / 0.5399 GB, free: 12.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.4213, allocations: 0 / 0.5399 GB, free: 12.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0008496/0.4222, allocations: 0.4991 MB / 0.5404 GB, free: 12.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.4222, allocations: 8 kB / 0.5404 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.4222, allocations: 0 / 0.5404 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.4222, allocations: 8 kB / 0.5404 GB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00112/0.4234, allocations: 206.1 kB / 0.5406 GB, free: 12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005229/0.4286, allocations: 7.401 MB / 0.5478 GB, free: 4.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003681/0.429, allocations: 27.73 kB / 0.5479 GB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-05/0.4291, allocations: 19.98 kB / 0.5479 GB, free: 4.359 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 37 * 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.0002061/0.4293, allocations: 124 kB / 0.548 GB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.746e-05/0.4294, allocations: 27.81 kB / 0.548 GB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001308/0.4307, allocations: 0.621 MB / 0.5486 GB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.78e-05/0.4308, allocations: 11.84 kB / 0.5486 GB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.4308, allocations: 0 / 0.5486 GB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.4308, allocations: 3.984 kB / 0.5486 GB, free: 3.625 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007242/0.4315, allocations: 388 kB / 0.549 GB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4315, allocations: 7.906 kB / 0.549 GB, free: 3.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.4326, allocations: 203.6 kB / 0.5492 GB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.4326, allocations: 0 / 0.5492 GB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.996e-05/0.4327, allocations: 11.11 kB / 0.5492 GB, free: 3.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00429/0.437, allocations: 7.385 MB / 0.5564 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.437, allocations: 288 / 0.5564 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007737/0.4378, allocations: 0.5348 MB / 0.557 GB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.4379, allocations: 96.8 kB / 0.5571 GB, free: 10.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.479e-05/0.438, allocations: 7.906 kB / 0.5571 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000236/0.4382, allocations: 7.984 kB / 0.5571 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.877e-05/0.4383, allocations: 27.89 kB / 0.5571 GB, free: 10.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.659e-05/0.4384, allocations: 19.98 kB / 0.5571 GB, free: 10.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001202/0.4385, allocations: 126.5 kB / 0.5572 GB, free: 10.67 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006639/0.4391, allocations: 146.3 kB / 0.5574 GB, free: 10.53 MB / 378.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.0004202/0.4396, allocations: 189.9 kB / 0.5576 GB, free: 10.34 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.4413, allocations: 0.5804 MB / 0.5581 GB, free: 9.805 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.768e-06/0.4413, allocations: 4 kB / 0.5581 GB, free: 9.801 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001259/0.4426, allocations: 375.6 kB / 0.5585 GB, free: 9.457 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.4429, allocations: 27.58 kB / 0.5585 GB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.4443, allocations: 0.6566 MB / 0.5591 GB, free: 8.797 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006178/0.445, allocations: 0.9325 MB / 0.5601 GB, free: 7.855 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.445, allocations: 0 / 0.5601 GB, free: 7.855 MB / 378.7 MB Notification: Performance of Templates: time 0.01214/0.4571, allocations: 6.053 MB / 0.566 GB, free: 1.844 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC.pipe 2>&1)