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_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_overall_KC,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.2_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.2+maint.om/package.mo): time 0.002579/0.002579, allocations: 186.8 kB / 7.464 MB, free: 2.504 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.143/1.143, allocations: 194.2 MB / 202.1 MB, free: 8.645 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.001751/0.001751, allocations: 120 kB / 247.1 MB, free: 6.348 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.1734/0.1734, allocations: 39.95 MB / 331.9 MB, free: 4.879 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.482e-06/6.512e-06, allocations: 0 / 392.8 MB, free: 75.86 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1054, allocations: 54.86 MB / 447.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3406/0.4461, allocations: 92.72 MB / 0.5277 GB, free: 7.695 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.4464, allocations: 96.58 kB / 0.5278 GB, free: 7.676 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.06327/0.5097, allocations: 22.94 MB / 0.5502 GB, free: 4.594 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.341e-05/0.5098, allocations: 8 kB / 0.5502 GB, free: 4.586 MB / 362.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.001445/0.5113, allocations: 0.6897 MB / 0.5509 GB, free: 3.883 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/0.5113, allocations: 8.031 kB / 0.5509 GB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001878/0.5115, allocations: 55.25 kB / 0.551 GB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.5121, allocations: 312.9 kB / 0.5513 GB, free: 3.488 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.692e-05/0.5121, allocations: 28 kB / 0.5513 GB, free: 3.461 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.747e-05/0.5122, allocations: 32 kB / 0.5513 GB, free: 3.43 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001025/0.5132, allocations: 0.6957 MB / 0.552 GB, free: 2.926 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000982/0.5142, allocations: 0.6582 MB / 0.5526 GB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.5142, allocations: 0 / 0.5526 GB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/0.5143, allocations: 0 / 0.5526 GB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.23e-05/0.5144, allocations: 49.72 kB / 0.5527 GB, free: 2.352 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.517, allocations: 1.403 MB / 0.5541 GB, free: 1.109 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007447/0.5178, allocations: 0.5477 MB / 0.5546 GB, free: 0.6094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002492/0.518, allocations: 173.4 kB / 0.5548 GB, free: 468 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.972e-05/0.5181, allocations: 11.97 kB / 0.5548 GB, free: 456 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.5181, allocations: 37.62 kB / 0.5548 GB, free: 412 kB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.5181, allocations: 0 / 0.5548 GB, free: 412 kB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.0008208/0.519, allocations: 444.7 kB / 0.5552 GB, free: 0 / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.317e-05/0.519, allocations: 55.41 kB / 0.5553 GB, free: 15.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002782/0.5193, allocations: 253.9 kB / 0.5555 GB, free: 15.71 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.5193, allocations: 25.7 kB / 0.5555 GB, free: 15.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.5195, allocations: 275.1 kB / 0.5558 GB, free: 15.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000122/0.5197, allocations: 127 kB / 0.5559 GB, free: 15.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.518e-05/0.5197, allocations: 0 / 0.5559 GB, free: 15.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5198, allocations: 348.5 kB / 0.5563 GB, free: 14.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.5202, allocations: 205.2 kB / 0.5565 GB, free: 14.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/0.5207, allocations: 448.2 kB / 0.5569 GB, free: 14.31 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.5212, allocations: 293.9 kB / 0.5572 GB, free: 14.05 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.5212, allocations: 0 / 0.5572 GB, free: 14.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001191/0.5224, allocations: 0.6633 MB / 0.5578 GB, free: 13.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/0.5224, allocations: 4 kB / 0.5578 GB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/0.5224, allocations: 8 kB / 0.5578 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.996e-05/0.5225, allocations: 12 kB / 0.5578 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.5237, allocations: 251.3 kB / 0.5581 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00474/0.5285, allocations: 7.407 MB / 0.5653 GB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004658/0.529, allocations: 43.58 kB / 0.5653 GB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.012e-05/0.5291, allocations: 35.61 kB / 0.5654 GB, free: 5.504 MB / 378.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.0002245/0.5293, allocations: 139.5 kB / 0.5655 GB, free: 5.363 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001012/0.5294, allocations: 31.62 kB / 0.5655 GB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.5306, allocations: 0.6723 MB / 0.5662 GB, free: 4.715 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.5306, allocations: 4 kB / 0.5662 GB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5306, allocations: 3.938 kB / 0.5662 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.5307, allocations: 0 / 0.5662 GB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006213/0.5313, allocations: 415.2 kB / 0.5666 GB, free: 4.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.5313, allocations: 4 kB / 0.5666 GB, free: 4.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.5323, allocations: 211.8 kB / 0.5668 GB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.5324, allocations: 7.938 kB / 0.5668 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.5324, allocations: 11.48 kB / 0.5668 GB, free: 4.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004291/0.5367, allocations: 7.399 MB / 0.5741 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5367, allocations: 0 / 0.5741 GB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007328/0.5375, allocations: 0.5331 MB / 0.5746 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.5376, allocations: 112.7 kB / 0.5747 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.5377, allocations: 0 / 0.5747 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002471/0.5379, allocations: 16.08 kB / 0.5747 GB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.164e-05/0.538, allocations: 23.22 kB / 0.5747 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.5381, allocations: 19.98 kB / 0.5747 GB, free: 11.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001887/0.5383, allocations: 177.8 kB / 0.5749 GB, free: 11.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009327/0.5392, allocations: 202.7 kB / 0.5751 GB, free: 11.45 MB / 394.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.0006531/0.5399, allocations: 275 kB / 0.5754 GB, free: 11.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00183/0.5417, allocations: 0.66 MB / 0.576 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.5417, allocations: 0 / 0.576 GB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.543, allocations: 391.2 kB / 0.5764 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.5434, allocations: 34.17 kB / 0.5764 GB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001918/0.5453, allocations: 0.7234 MB / 0.5771 GB, free: 9.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006818/0.546, allocations: 0.972 MB / 0.5781 GB, free: 8.496 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/0.546, allocations: 0 / 0.5781 GB, free: 8.496 MB / 394.7 MB Notification: Performance of Templates: time 0.01574/0.5617, allocations: 7.586 MB / 0.5855 GB, free: 0.9336 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC.pipe 2>&1)