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/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_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") [: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.002914/0.002914, allocations: 184.4 kB / 7.458 MB, free: 1.965 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.184/1.184, allocations: 194.2 MB / 202.1 MB, free: 13.17 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.001758/0.001758, allocations: 113.1 kB / 247.1 MB, free: 184 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1594/0.1594, allocations: 39.94 MB / 331.9 MB, free: 0.6758 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 8.025e-06/8.286e-06, allocations: 4 kB / 392.8 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2452, allocations: 54.88 MB / 447.7 MB, free: 13.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1391/0.3843, allocations: 93.36 MB / 0.5284 GB, free: 240 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.3846, allocations: 91.94 kB / 0.5284 GB, free: 148 kB / 378.7 MB Notification: Performance of FrontEnd: time 0.2955/0.6802, allocations: 23.53 MB / 0.5514 GB, free: 75.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.6802, allocations: 8 kB / 0.5514 GB, free: 75.39 MB / 378.7 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.001257/0.6815, allocations: 0.7402 MB / 0.5522 GB, free: 74.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.6816, allocations: 11.97 kB / 0.5522 GB, free: 74.59 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001587/0.6817, allocations: 59.25 kB / 0.5522 GB, free: 74.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.6822, allocations: 314.2 kB / 0.5525 GB, free: 74.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.6822, allocations: 16 kB / 0.5525 GB, free: 74.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.286e-05/0.6823, allocations: 32 kB / 0.5526 GB, free: 74.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006304/0.6829, allocations: 470.2 kB / 0.553 GB, free: 73.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007981/0.6837, allocations: 0.6773 MB / 0.5537 GB, free: 72.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.6838, allocations: 0 / 0.5537 GB, free: 72.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.001e-05/0.6838, allocations: 0 / 0.5537 GB, free: 72.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.695e-05/0.6839, allocations: 33.28 kB / 0.5537 GB, free: 72.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.6858, allocations: 1.527 MB / 0.5552 GB, free: 71.37 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003365/0.6862, allocations: 283.7 kB / 0.5555 GB, free: 71.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.6864, allocations: 122.4 kB / 0.5556 GB, free: 70.94 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.933e-05/0.6864, allocations: 19.98 kB / 0.5556 GB, free: 70.92 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.6865, allocations: 30.81 kB / 0.5556 GB, free: 70.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.753e-06/0.6865, allocations: 4 kB / 0.5556 GB, free: 70.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0006031/0.6871, allocations: 313.1 kB / 0.5559 GB, free: 70.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.6871, allocations: 106.8 kB / 0.556 GB, free: 70.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.6874, allocations: 303.3 kB / 0.5563 GB, free: 70.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.6875, allocations: 25.7 kB / 0.5564 GB, free: 70.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001064/0.6876, allocations: 298.5 kB / 0.5566 GB, free: 69.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.981e-05/0.6876, allocations: 71.09 kB / 0.5567 GB, free: 69.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.6876, allocations: 0 / 0.5567 GB, free: 69.73 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.973e-05/0.6877, allocations: 346.8 kB / 0.557 GB, free: 69.38 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/0.6879, allocations: 160.9 kB / 0.5572 GB, free: 69.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002934/0.6882, allocations: 431.7 kB / 0.5576 GB, free: 68.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.6885, allocations: 239.7 kB / 0.5578 GB, free: 68.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.6886, allocations: 4 kB / 0.5578 GB, free: 68.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007724/0.6893, allocations: 0.5746 MB / 0.5584 GB, free: 67.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.6894, allocations: 4 kB / 0.5584 GB, free: 67.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-05/0.6894, allocations: 47.97 kB / 0.5584 GB, free: 67.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.6895, allocations: 15.94 kB / 0.5585 GB, free: 67.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.6898, allocations: 87.97 kB / 0.5585 GB, free: 67.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.6898, allocations: 15.94 kB / 0.5586 GB, free: 67.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003713/0.6902, allocations: 59.56 kB / 0.5586 GB, free: 67.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/0.6902, allocations: 39.98 kB / 0.5587 GB, free: 67.59 MB / 378.7 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].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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.6904, allocations: 147.2 kB / 0.5588 GB, free: 67.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.854e-05/0.6905, allocations: 35.56 kB / 0.5588 GB, free: 67.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008312/0.6913, allocations: 0.5026 MB / 0.5593 GB, free: 66.89 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.6913, allocations: 7.984 kB / 0.5593 GB, free: 66.89 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.6913, allocations: 0 / 0.5593 GB, free: 66.89 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.6914, allocations: 0 / 0.5593 GB, free: 66.89 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000474/0.6918, allocations: 369.9 kB / 0.5597 GB, free: 66.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.399e-05/0.6919, allocations: 43.91 kB / 0.5597 GB, free: 66.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.6921, allocations: 35.97 kB / 0.5598 GB, free: 66.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.6921, allocations: 0 / 0.5598 GB, free: 66.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/0.6921, allocations: 19.89 kB / 0.5598 GB, free: 66.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.6921, allocations: 3.938 kB / 0.5598 GB, free: 66.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6921, allocations: 0 / 0.5598 GB, free: 66.39 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005122/0.6927, allocations: 0.5717 MB / 0.5603 GB, free: 65.79 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.402e-05/0.6927, allocations: 104.7 kB / 0.5604 GB, free: 65.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.409e-05/0.6928, allocations: 3.984 kB / 0.5604 GB, free: 65.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.6931, allocations: 27.98 kB / 0.5605 GB, free: 65.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.6932, allocations: 23.97 kB / 0.5605 GB, free: 65.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.6932, allocations: 11.98 kB / 0.5605 GB, free: 65.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001562/0.6934, allocations: 215.1 kB / 0.5607 GB, free: 65.39 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001066/0.6945, allocations: 215.3 kB / 0.5609 GB, free: 65.18 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007515/0.6952, allocations: 290 kB / 0.5612 GB, free: 64.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006818/0.6959, allocations: 0.6897 MB / 0.5619 GB, free: 64.13 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6959, allocations: 0 / 0.5619 GB, free: 64.13 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.6962, allocations: 456.3 kB / 0.5623 GB, free: 63.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003901/0.6966, allocations: 39.12 kB / 0.5623 GB, free: 63.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00176/0.6984, allocations: 0.6985 MB / 0.563 GB, free: 62.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004765/0.6989, allocations: 0.9428 MB / 0.5639 GB, free: 61.87 MB / 378.7 MB Notification: Performance of SimCode: time 4.2e-07/0.6989, allocations: 0 / 0.5639 GB, free: 61.87 MB / 378.7 MB Notification: Performance of Templates: time 0.01315/0.7121, allocations: 6.837 MB / 0.5706 GB, free: 55.03 MB / 378.7 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)