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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2618/0.2618, allocations: 54.33 MB / 66.89 MB, free: 6.086 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.001034/0.001034, allocations: 182.8 kB / 80.71 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.388/1.388, allocations: 194.2 MB / 288.6 MB, free: 14.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001596/0.001596, allocations: 123.9 kB / 346.9 MB, free: 4.707 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.784e-05, allocations: 4 kB / 412.4 MB, free: 21.47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09916/0.09921, allocations: 57.64 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3584/0.4577, allocations: 87.22 MB / 0.5442 GB, free: 3.207 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002051/0.4579, allocations: 71.95 kB / 0.5442 GB, free: 3.137 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01184/0.4698, allocations: 4.115 MB / 0.5483 GB, free: 15.03 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.376e-06/0.4698, allocations: 0 / 0.5483 GB, free: 15.03 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.4698, allocations: 7.938 kB / 0.5483 GB, free: 15.02 MB / 394.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.0007101/0.4706, allocations: 0.5366 MB / 0.5488 GB, free: 14.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.4706, allocations: 12.03 kB / 0.5488 GB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.4707, allocations: 23.81 kB / 0.5488 GB, free: 14.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001395/0.4708, allocations: 195.8 kB / 0.549 GB, free: 14.15 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.4709, allocations: 11.98 kB / 0.549 GB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.471, allocations: 20 kB / 0.549 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002402/0.4712, allocations: 137.5 kB / 0.5492 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.4712, allocations: 0 / 0.5492 GB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.82e-05/0.4713, allocations: 11.98 kB / 0.5492 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.4713, allocations: 4 kB / 0.5492 GB, free: 13.96 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.4714, allocations: 43.98 kB / 0.5492 GB, free: 13.92 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.4717, allocations: 305.3 kB / 0.5495 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002217/0.4719, allocations: 126.7 kB / 0.5496 GB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.546e-05/0.472, allocations: 49.84 kB / 0.5497 GB, free: 13.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.4721, allocations: 8 kB / 0.5497 GB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.4724, allocations: 200.1 kB / 0.5499 GB, free: 13.17 MB / 394.7 MB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.4724, allocations: 0 / 0.5499 GB, free: 13.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004123/0.4728, allocations: 213.3 kB / 0.5501 GB, free: 12.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.4729, allocations: 59.31 kB / 0.5502 GB, free: 12.89 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.4731, allocations: 195 kB / 0.5503 GB, free: 12.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.33e-05/0.4732, allocations: 41.69 kB / 0.5504 GB, free: 12.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.4732, allocations: 88.86 kB / 0.5505 GB, free: 12.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.95e-05/0.4733, allocations: 51.44 kB / 0.5505 GB, free: 12.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.763e-05/0.4733, allocations: 4 kB / 0.5505 GB, free: 12.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4734, allocations: 330.8 kB / 0.5508 GB, free: 12.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001998/0.4736, allocations: 92.2 kB / 0.5509 GB, free: 12.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002197/0.4739, allocations: 159.6 kB / 0.5511 GB, free: 11.9 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.4741, allocations: 144.1 kB / 0.5512 GB, free: 11.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4741, allocations: 0 / 0.5512 GB, free: 11.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006269/0.4747, allocations: 396.2 kB / 0.5516 GB, free: 11.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.687e-05/0.4748, allocations: 75.39 kB / 0.5517 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.4748, allocations: 0 / 0.5517 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.4748, allocations: 7.953 kB / 0.5517 GB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.475, allocations: 32.09 kB / 0.5517 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.475, allocations: 4 kB / 0.5517 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.4753, allocations: 43.91 kB / 0.5517 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/0.4754, allocations: 43.98 kB / 0.5518 GB, free: 11.12 MB / 394.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.0001137/0.4755, allocations: 132 kB / 0.5519 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.345e-05/0.4756, allocations: 27.7 kB / 0.5519 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.742e-05/0.4756, allocations: 21.66 kB / 0.552 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4756, allocations: 4 kB / 0.552 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/0.4757, allocations: 7.891 kB / 0.552 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4757, allocations: 3.984 kB / 0.552 GB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006983/0.4764, allocations: 0.5307 MB / 0.5525 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4764, allocations: 0 / 0.5525 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.4764, allocations: 4 kB / 0.5525 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.4764, allocations: 11.89 kB / 0.5525 GB, free: 10.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.786e-05/0.4765, allocations: 19.97 kB / 0.5525 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4765, allocations: 0 / 0.5525 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.4765, allocations: 4 kB / 0.5525 GB, free: 10.3 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003587/0.4769, allocations: 305.2 kB / 0.5528 GB, free: 9.992 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.477, allocations: 132.8 kB / 0.5529 GB, free: 9.844 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.4771, allocations: 15.94 kB / 0.553 GB, free: 9.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.4772, allocations: 8 kB / 0.553 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.4773, allocations: 19.97 kB / 0.553 GB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/0.4773, allocations: 27.98 kB / 0.553 GB, free: 9.773 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.4775, allocations: 161.6 kB / 0.5532 GB, free: 9.617 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4775, allocations: 0 / 0.5532 GB, free: 9.617 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000276/0.4777, allocations: 44 kB / 0.5532 GB, free: 9.574 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: 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.0001361/0.4779, allocations: 117.3 kB / 0.5533 GB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004784/0.4784, allocations: 343 kB / 0.5537 GB, free: 9.094 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4784, allocations: 8.062 kB / 0.5537 GB, free: 9.086 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.4785, allocations: 63.98 kB / 0.5537 GB, free: 9.023 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001983/0.4787, allocations: 20.52 kB / 0.5537 GB, free: 9.004 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003988/0.4791, allocations: 217.7 kB / 0.5539 GB, free: 8.77 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.4794, allocations: 0.7359 MB / 0.5547 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.4795, allocations: 29.2 kB / 0.5547 GB, free: 7.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.477e-05/0.4796, allocations: 35.42 kB / 0.5547 GB, free: 7.945 MB / 394.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4796, allocations: 0 / 0.5547 GB, free: 7.945 MB / 394.7 MB Notification: Performance of Templates: time 0.007253/0.4869, allocations: 3.96 MB / 0.5586 GB, free: 3.965 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)