Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime") translateModel(Annex60.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime") [: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.3061/0.3061, allocations: 54.4 MB / 61.67 MB, free: 11.17 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.001187/0.001187, allocations: 190.9 kB / 75.38 MB, free: 1.484 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.49/1.49, allocations: 194.2 MB / 283.2 MB, free: 3.5 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.001764/0.001764, allocations: 117.8 kB / 341.3 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.414e-06/7.624e-06, allocations: 4 kB / 404.9 MB, free: 27.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1213, allocations: 57.64 MB / 462.6 MB, free: 1.984 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2902/0.4115, allocations: 86.49 MB / 0.5362 GB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/0.4118, allocations: 70.89 kB / 0.5363 GB, free: 10.5 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.01238/0.4242, allocations: 3.771 MB / 0.5399 GB, free: 7.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.4242, allocations: 4 kB / 0.54 GB, free: 7.312 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.0007052/0.4249, allocations: 0.5479 MB / 0.5405 GB, free: 6.711 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.425, allocations: 12.72 kB / 0.5405 GB, free: 6.699 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.266e-05/0.4251, allocations: 27.72 kB / 0.5405 GB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.4252, allocations: 187.8 kB / 0.5407 GB, free: 6.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.4252, allocations: 4 kB / 0.5407 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.307e-05/0.4253, allocations: 18.8 kB / 0.5407 GB, free: 6.426 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001026/0.4254, allocations: 41.86 kB / 0.5408 GB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.4256, allocations: 134.9 kB / 0.5409 GB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.493e-06/0.4256, allocations: 0 / 0.5409 GB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.457e-05/0.4256, allocations: 5.75 kB / 0.5409 GB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.4257, allocations: 4 kB / 0.5409 GB, free: 6.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003374/0.426, allocations: 276.2 kB / 0.5412 GB, free: 6.004 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.4262, allocations: 110.1 kB / 0.5413 GB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.847e-05/0.4263, allocations: 55.41 kB / 0.5413 GB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.4263, allocations: 0 / 0.5413 GB, free: 5.871 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002923/0.4266, allocations: 159.7 kB / 0.5415 GB, free: 5.727 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 1.243e-06/0.4266, allocations: 0 / 0.5415 GB, free: 5.727 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.000334/0.427, allocations: 164.1 kB / 0.5416 GB, free: 5.578 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.063e-05/0.427, allocations: 59.41 kB / 0.5417 GB, free: 5.508 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.4272, allocations: 194.9 kB / 0.5419 GB, free: 5.309 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.4272, allocations: 33.69 kB / 0.5419 GB, free: 5.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.519e-05/0.4273, allocations: 100.9 kB / 0.542 GB, free: 5.168 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.917e-05/0.4273, allocations: 47.38 kB / 0.5421 GB, free: 5.121 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.4274, allocations: 4 kB / 0.5421 GB, free: 5.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.043e-05/0.4275, allocations: 322.8 kB / 0.5424 GB, free: 4.793 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001691/0.4277, allocations: 80.2 kB / 0.5424 GB, free: 4.715 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.4279, allocations: 138.2 kB / 0.5426 GB, free: 4.559 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.428, allocations: 68.7 kB / 0.5426 GB, free: 4.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.428, allocations: 3.984 kB / 0.5426 GB, free: 4.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004857/0.4285, allocations: 267.7 kB / 0.5429 GB, free: 4.219 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.629e-06/0.4285, allocations: 4.188 kB / 0.5429 GB, free: 4.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.4286, allocations: 8 kB / 0.5429 GB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4286, allocations: 4 kB / 0.5429 GB, free: 4.203 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/0.4287, allocations: 27.91 kB / 0.5429 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4288, allocations: 0 / 0.5429 GB, free: 4.176 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003628/0.4291, allocations: 51.81 kB / 0.543 GB, free: 4.125 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/0.4292, allocations: 43.98 kB / 0.543 GB, free: 4.082 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.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.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.00012/0.4293, allocations: 128 kB / 0.5432 GB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.4294, allocations: 19.72 kB / 0.5432 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.4294, allocations: 25.58 kB / 0.5432 GB, free: 3.906 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4294, allocations: 4 kB / 0.5432 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4294, allocations: 0 / 0.5432 GB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4295, allocations: 4 kB / 0.5432 GB, free: 3.898 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005994/0.4301, allocations: 467.9 kB / 0.5436 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.4301, allocations: 0 / 0.5436 GB, free: 3.398 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.4301, allocations: 11.98 kB / 0.5437 GB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.4301, allocations: 3.906 kB / 0.5437 GB, free: 3.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.4302, allocations: 11.98 kB / 0.5437 GB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.4302, allocations: 4 kB / 0.5437 GB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4302, allocations: 0 / 0.5437 GB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000277/0.4305, allocations: 264.5 kB / 0.5439 GB, free: 3.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001373/0.4306, allocations: 136.7 kB / 0.5441 GB, free: 2.941 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.4307, allocations: 11.98 kB / 0.5441 GB, free: 2.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.4308, allocations: 8 kB / 0.5441 GB, free: 2.922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.4309, allocations: 19.97 kB / 0.5441 GB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.4309, allocations: 23.89 kB / 0.5441 GB, free: 2.879 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001149/0.4311, allocations: 157.6 kB / 0.5443 GB, free: 2.727 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000296/0.4314, allocations: 44 kB / 0.5443 GB, free: 2.684 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.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.0001339/0.4315, allocations: 113 kB / 0.5444 GB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004023/0.4319, allocations: 251.4 kB / 0.5447 GB, free: 2.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.4319, allocations: 0 / 0.5447 GB, free: 2.305 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001009/0.432, allocations: 65.48 kB / 0.5447 GB, free: 2.242 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.4323, allocations: 16.66 kB / 0.5447 GB, free: 2.227 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.4327, allocations: 225.9 kB / 0.545 GB, free: 1.988 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003901/0.4331, allocations: 0.7707 MB / 0.5457 GB, free: 1.191 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4331, allocations: 0 / 0.5457 GB, free: 1.191 MB / 378.7 MB Notification: Performance of Templates: time 0.006698/0.4398, allocations: 3.948 MB / 0.5496 GB, free: 13.22 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.sim & ./Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Time.Examples.CalendarTime.pipe 2>&1)