Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) 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) 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) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths") [: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/Annex60 1.0.0/package.mo): time 0.2861/0.2861, allocations: 54.4 MB / 61.68 MB, free: 11.18 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001083/0.001083, allocations: 182.6 kB / 75.38 MB, free: 1.539 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.456/1.456, allocations: 194.2 MB / 283.2 MB, free: 3.523 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001781/0.001781, allocations: 111.4 kB / 341.3 MB, free: 9.395 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.122e-06/6.312e-06, allocations: 0 / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1185, allocations: 57.64 MB / 462.6 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3475/0.4661, allocations: 86.47 MB / 0.5362 GB, free: 10.59 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4664, allocations: 69.09 kB / 0.5363 GB, free: 10.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01361/0.48, allocations: 3.76 MB / 0.5399 GB, free: 7.367 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.4801, allocations: 7.938 kB / 0.5399 GB, free: 7.359 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0009214/0.481, allocations: 0.5402 MB / 0.5405 GB, free: 6.766 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.4811, allocations: 11.97 kB / 0.5405 GB, free: 6.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.4812, allocations: 31.7 kB / 0.5405 GB, free: 6.723 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/0.4814, allocations: 191.9 kB / 0.5407 GB, free: 6.492 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.4814, allocations: 7.984 kB / 0.5407 GB, free: 6.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.079e-05/0.4815, allocations: 15.94 kB / 0.5407 GB, free: 6.469 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001205/0.4816, allocations: 41.36 kB / 0.5407 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002223/0.4818, allocations: 133.5 kB / 0.5409 GB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.4819, allocations: 0 / 0.5409 GB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.778e-05/0.4819, allocations: 7.234 kB / 0.5409 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4819, allocations: 0 / 0.5409 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003492/0.4823, allocations: 276.5 kB / 0.5411 GB, free: 6.055 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001846/0.4824, allocations: 112.4 kB / 0.5413 GB, free: 5.961 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.802e-05/0.4826, allocations: 47.22 kB / 0.5413 GB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.581e-05/0.4826, allocations: 4 kB / 0.5413 GB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000306/0.4829, allocations: 161.7 kB / 0.5415 GB, free: 5.777 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.433e-06/0.4829, allocations: 0 / 0.5415 GB, free: 5.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.000364/0.4833, allocations: 159.1 kB / 0.5416 GB, free: 5.617 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.4833, allocations: 59.39 kB / 0.5417 GB, free: 5.547 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001947/0.4835, allocations: 202.9 kB / 0.5419 GB, free: 5.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.4836, allocations: 33.64 kB / 0.5419 GB, free: 5.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.4837, allocations: 96.84 kB / 0.542 GB, free: 5.203 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.368e-05/0.4838, allocations: 47.44 kB / 0.542 GB, free: 5.156 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.372e-05/0.4838, allocations: 7.938 kB / 0.542 GB, free: 5.148 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.4839, allocations: 322.8 kB / 0.5423 GB, free: 4.824 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.4841, allocations: 76.22 kB / 0.5424 GB, free: 4.75 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.4844, allocations: 142.2 kB / 0.5425 GB, free: 4.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.4845, allocations: 68.7 kB / 0.5426 GB, free: 4.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.4845, allocations: 0 / 0.5426 GB, free: 4.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005178/0.4851, allocations: 279.6 kB / 0.5429 GB, free: 4.242 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.4851, allocations: 4 kB / 0.5429 GB, free: 4.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.4851, allocations: 4 kB / 0.5429 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4851, allocations: 0 / 0.5429 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.4853, allocations: 27.91 kB / 0.5429 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.4853, allocations: 7.984 kB / 0.5429 GB, free: 4.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.4857, allocations: 52 kB / 0.543 GB, free: 4.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.4858, allocations: 39.98 kB / 0.543 GB, free: 4.109 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calTim.firstHourSampling,calTim.firstHourSampling,$PRE.calTim.firstDaySampling,calTim.firstDaySampling,$whenCondition1,calTim.daySampleTrigger,$whenCondition2,calTim.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calTim.year,calTim.year,$PRE.calTim.month,calTim.month,$PRE.calTim.day,calTim.day,$PRE.calTim.hour,calTim.hour,$PRE.calTim.weekDay,calTim.weekDay,$PRE.calTim.daysSinceEpoch,calTim.daysSinceEpoch,$PRE.calTim.yearIndex,calTim.yearIndex,$PRE.calTim.epochLastMonth,calTim.epochLastMonth) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0001505/0.486, allocations: 127.5 kB / 0.5431 GB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.599e-05/0.486, allocations: 19.72 kB / 0.5432 GB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/0.4861, allocations: 25.59 kB / 0.5432 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.4861, allocations: 0 / 0.5432 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/0.4861, allocations: 3.984 kB / 0.5432 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.4861, allocations: 4 kB / 0.5432 GB, free: 3.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006866/0.4868, allocations: 463.8 kB / 0.5436 GB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4868, allocations: 0 / 0.5436 GB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.641e-05/0.4869, allocations: 8 kB / 0.5436 GB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.363e-06/0.4869, allocations: 7.906 kB / 0.5436 GB, free: 3.414 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.4869, allocations: 19.97 kB / 0.5437 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.4869, allocations: 0 / 0.5437 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.4869, allocations: 4 kB / 0.5437 GB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003255/0.4873, allocations: 260.7 kB / 0.5439 GB, free: 3.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.4874, allocations: 136.7 kB / 0.544 GB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.846e-05/0.4875, allocations: 8 kB / 0.544 GB, free: 2.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.4877, allocations: 11.98 kB / 0.5441 GB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.4878, allocations: 19.97 kB / 0.5441 GB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.918e-05/0.4878, allocations: 27.89 kB / 0.5441 GB, free: 2.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001361/0.488, allocations: 157.6 kB / 0.5443 GB, free: 2.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003295/0.4883, allocations: 40 kB / 0.5443 GB, free: 2.711 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: 16 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.firstHourSampling,calTim.hour,calTim.yearIndex,calTim.epochLastMonth,calTim.month,calTim.year) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0001644/0.4885, allocations: 111.2 kB / 0.5444 GB, free: 2.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004473/0.4889, allocations: 251.7 kB / 0.5446 GB, free: 2.332 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4889, allocations: 4.062 kB / 0.5446 GB, free: 2.328 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.4891, allocations: 64.86 kB / 0.5447 GB, free: 2.266 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.4893, allocations: 24.55 kB / 0.5447 GB, free: 2.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005216/0.4898, allocations: 224.1 kB / 0.5449 GB, free: 2.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004604/0.4903, allocations: 0.7746 MB / 0.5457 GB, free: 1.203 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4903, allocations: 0 / 0.5457 GB, free: 1.203 MB / 378.7 MB Notification: Performance of Templates: time 0.007864/0.4982, allocations: 3.908 MB / 0.5495 GB, free: 13.28 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1)