Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus") [: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.2697/0.2697, allocations: 54.4 MB / 61.68 MB, free: 11.16 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.00111/0.00111, allocations: 186.6 kB / 75.37 MB, free: 1.523 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.493/1.493, allocations: 194.2 MB / 283.2 MB, free: 3.559 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.001881/0.001881, allocations: 121.2 kB / 341.3 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.461e-06/5.481e-06, allocations: 0 / 404.9 MB, free: 27.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1181, allocations: 57.65 MB / 462.6 MB, free: 1.996 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3457/0.4638, allocations: 86.53 MB / 0.5362 GB, free: 10.51 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001769/0.464, allocations: 64.66 kB / 0.5363 GB, free: 10.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.013/0.477, allocations: 3.779 MB / 0.54 GB, free: 7.277 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.326e-05/0.4771, allocations: 4 kB / 0.54 GB, free: 7.273 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.0008643/0.4779, allocations: 0.5405 MB / 0.5405 GB, free: 6.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.2e-05/0.478, allocations: 11.97 kB / 0.5405 GB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.4781, allocations: 27.72 kB / 0.5406 GB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.4784, allocations: 199.8 kB / 0.5408 GB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.4784, allocations: 4 kB / 0.5408 GB, free: 6.398 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.94e-05/0.4785, allocations: 12 kB / 0.5408 GB, free: 6.387 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001477/0.4786, allocations: 40.98 kB / 0.5408 GB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00025/0.4789, allocations: 132.7 kB / 0.5409 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.4789, allocations: 0 / 0.5409 GB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.479, allocations: 4 kB / 0.5409 GB, free: 6.242 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.479, allocations: 4 kB / 0.5409 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.4794, allocations: 281.6 kB / 0.5412 GB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002442/0.4796, allocations: 107.7 kB / 0.5413 GB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.582e-05/0.4797, allocations: 52.34 kB / 0.5414 GB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.4798, allocations: 0 / 0.5414 GB, free: 5.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003062/0.4801, allocations: 159.2 kB / 0.5415 GB, free: 5.695 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.282e-06/0.4801, allocations: 0 / 0.5415 GB, free: 5.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003826/0.4805, allocations: 166.6 kB / 0.5417 GB, free: 5.551 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.221e-05/0.4805, allocations: 71.27 kB / 0.5417 GB, free: 5.469 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.4807, allocations: 190.9 kB / 0.5419 GB, free: 5.273 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.23e-05/0.4808, allocations: 37.7 kB / 0.542 GB, free: 5.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.121e-05/0.4809, allocations: 88.91 kB / 0.542 GB, free: 5.141 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/0.4809, allocations: 47.39 kB / 0.5421 GB, free: 5.094 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.481, allocations: 0 / 0.5421 GB, free: 5.094 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.4811, allocations: 322.8 kB / 0.5424 GB, free: 4.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001783/0.4813, allocations: 88.22 kB / 0.5425 GB, free: 4.684 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.4815, allocations: 138.2 kB / 0.5426 GB, free: 4.527 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.4817, allocations: 64.7 kB / 0.5427 GB, free: 4.461 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4817, allocations: 8 kB / 0.5427 GB, free: 4.453 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005209/0.4822, allocations: 276.7 kB / 0.5429 GB, free: 4.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.4822, allocations: 4 kB / 0.5429 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4822, allocations: 0 / 0.5429 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/0.4823, allocations: 7.984 kB / 0.543 GB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.4825, allocations: 27.91 kB / 0.543 GB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.4825, allocations: 4 kB / 0.543 GB, free: 4.137 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.4829, allocations: 48 kB / 0.543 GB, free: 4.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/0.4829, allocations: 43.98 kB / 0.5431 GB, free: 4.047 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.0001344/0.4831, allocations: 123.5 kB / 0.5432 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.804e-05/0.4831, allocations: 27.7 kB / 0.5432 GB, free: 3.891 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.979e-05/0.4832, allocations: 17.59 kB / 0.5432 GB, free: 3.875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.4832, allocations: 4 kB / 0.5432 GB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4832, allocations: 0 / 0.5432 GB, free: 3.871 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.4832, allocations: 7.984 kB / 0.5432 GB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007675/0.484, allocations: 467.8 kB / 0.5437 GB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.484, allocations: 4 kB / 0.5437 GB, free: 3.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.676e-05/0.4841, allocations: 4 kB / 0.5437 GB, free: 3.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.4841, allocations: 3.906 kB / 0.5437 GB, free: 3.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.4841, allocations: 19.97 kB / 0.5437 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.4841, allocations: 0 / 0.5437 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.4841, allocations: 0 / 0.5437 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003349/0.4845, allocations: 256.5 kB / 0.544 GB, free: 3.066 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001662/0.4847, allocations: 140.7 kB / 0.5441 GB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.849e-05/0.4847, allocations: 8 kB / 0.5441 GB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.4849, allocations: 11.98 kB / 0.5441 GB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.485, allocations: 15.98 kB / 0.5441 GB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.665e-05/0.485, allocations: 31.88 kB / 0.5442 GB, free: 2.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001442/0.4852, allocations: 153.6 kB / 0.5443 GB, free: 2.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003238/0.4855, allocations: 44 kB / 0.5444 GB, free: 2.652 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.0002097/0.4857, allocations: 115.2 kB / 0.5445 GB, free: 2.527 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004562/0.4862, allocations: 247.5 kB / 0.5447 GB, free: 2.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4862, allocations: 3.938 kB / 0.5447 GB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.4863, allocations: 67.92 kB / 0.5448 GB, free: 2.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.4866, allocations: 18.02 kB / 0.5448 GB, free: 2.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005732/0.4872, allocations: 230.5 kB / 0.545 GB, free: 1.945 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005256/0.4877, allocations: 0.7707 MB / 0.5458 GB, free: 1.148 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4877, allocations: 0 / 0.5458 GB, free: 1.148 MB / 378.7 MB Notification: Performance of Templates: time 0.006905/0.4946, allocations: 3.921 MB / 0.5496 GB, free: 13.21 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1)