Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 293 MB / 309 MB, free: 4.797 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000965/0.0009654, allocations: 183.5 kB / 378.7 MB, free: 1.012 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.547/1.547, allocations: 205.4 MB / 0.6383 GB, free: 8.195 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007384/0.0007384, allocations: 96.67 kB / 0.7527 GB, free: 62.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004286/0.0004287, allocations: 12 kB / 0.8768 GB, free: 10.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2894, allocations: 116.4 MB / 0.9904 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.674/0.9634, allocations: 140.9 MB / 1.128 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.9637, allocations: 67.86 kB / 1.128 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01179/0.9755, allocations: 4.466 MB / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9756, allocations: 0 / 1.132 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.016e-05/0.9756, allocations: 4 kB / 1.132 GB, free: 30.15 MB / 0.7292 GB 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.001021/0.9766, allocations: 0.6266 MB / 1.133 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.9767, allocations: 8.031 kB / 1.133 GB, free: 29.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.9768, allocations: 33.28 kB / 1.133 GB, free: 29.44 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003086/0.9771, allocations: 254.3 kB / 1.133 GB, free: 29.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.469e-05/0.9772, allocations: 15.94 kB / 1.133 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.9773, allocations: 21.55 kB / 1.133 GB, free: 29.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.9775, allocations: 142.9 kB / 1.134 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.9776, allocations: 192 / 1.134 GB, free: 29.04 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.9776, allocations: 11.94 kB / 1.134 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.9776, allocations: 0.625 kB / 1.134 GB, free: 29.03 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.9777, allocations: 47.08 kB / 1.134 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003363/0.9781, allocations: 330.3 kB / 1.134 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002412/0.9783, allocations: 132.8 kB / 1.134 GB, free: 28.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.9784, allocations: 52.69 kB / 1.134 GB, free: 28.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.9785, allocations: 8.562 kB / 1.134 GB, free: 28.51 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004032/0.9789, allocations: 213.9 kB / 1.134 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=18): time 2.174e-06/0.9789, allocations: 0 / 1.134 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18): time 0.0005473/0.9794, allocations: 280.8 kB / 1.135 GB, free: 28.1 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.367e-05/0.9795, allocations: 57.23 kB / 1.135 GB, free: 28.04 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002672/0.9798, allocations: 287.1 kB / 1.135 GB, free: 27.78 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.239e-05/0.9798, allocations: 40.08 kB / 1.135 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.85e-05/0.9799, allocations: 90.41 kB / 1.135 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.685e-05/0.9799, allocations: 47.62 kB / 1.135 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.98, allocations: 8.609 kB / 1.135 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.198e-05/0.98, allocations: 323 kB / 1.135 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.9803, allocations: 108.4 kB / 1.135 GB, free: 27.18 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.9806, allocations: 155 kB / 1.136 GB, free: 27.03 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002984/0.9809, allocations: 241.5 kB / 1.136 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9809, allocations: 0 / 1.136 GB, free: 26.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007017/0.9816, allocations: 427.3 kB / 1.136 GB, free: 26.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.572e-05/0.9817, allocations: 72.84 kB / 1.136 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.9817, allocations: 4.188 kB / 1.136 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.9817, allocations: 4.844 kB / 1.136 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.9819, allocations: 42.05 kB / 1.136 GB, free: 26.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.9819, allocations: 0.7969 kB / 1.136 GB, free: 26.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003272/0.9822, allocations: 46.94 kB / 1.136 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-05/0.9823, allocations: 49.02 kB / 1.136 GB, free: 26.18 MB / 0.7292 GB 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 () * Number of clocked 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.000187/0.9825, allocations: 185.7 kB / 1.137 GB, free: 26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.929e-05/0.9826, allocations: 24.47 kB / 1.137 GB, free: 25.98 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.773e-05/0.9826, allocations: 30.2 kB / 1.137 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.9826, allocations: 7.938 kB / 1.137 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-06/0.9826, allocations: 1.359 kB / 1.137 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.9827, allocations: 1.391 kB / 1.137 GB, free: 25.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007067/0.9834, allocations: 0.5526 MB / 1.137 GB, free: 25.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.9834, allocations: 4.781 kB / 1.137 GB, free: 25.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.9834, allocations: 14.22 kB / 1.137 GB, free: 25.39 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9834, allocations: 0 / 1.137 GB, free: 25.39 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.791e-05/0.9835, allocations: 13.11 kB / 1.137 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.9835, allocations: 9.766 kB / 1.137 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9835, allocations: 0.6875 kB / 1.137 GB, free: 25.38 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003565/0.9839, allocations: 318.7 kB / 1.138 GB, free: 25.08 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001565/0.984, allocations: 156.2 kB / 1.138 GB, free: 24.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.126e-05/0.9841, allocations: 9.406 kB / 1.138 GB, free: 24.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.9842, allocations: 14.39 kB / 1.138 GB, free: 24.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.9843, allocations: 15.69 kB / 1.138 GB, free: 24.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.9844, allocations: 30.42 kB / 1.138 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001839/0.9845, allocations: 208.5 kB / 1.138 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9846, allocations: 0 / 1.138 GB, free: 24.7 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003458/0.9849, allocations: 57.83 kB / 1.138 GB, free: 24.65 MB / 0.7292 GB 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) * Number of clocked states: 0 () * 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.0001378/0.9851, allocations: 115.4 kB / 1.138 GB, free: 24.53 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005397/0.9856, allocations: 359.1 kB / 1.138 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.9856, allocations: 0 / 1.138 GB, free: 24.19 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.9858, allocations: 78.3 kB / 1.139 GB, free: 24.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.9861, allocations: 27.53 kB / 1.139 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006458/0.9868, allocations: 443.7 kB / 1.139 GB, free: 23.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.987, allocations: 0.7421 MB / 1.14 GB, free: 22.94 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001446/0.9871, allocations: 39.44 kB / 1.14 GB, free: 22.9 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.9872, allocations: 31.94 kB / 1.14 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of SimCode: time 3.91e-07/0.9872, allocations: 0 / 1.14 GB, free: 22.88 MB / 0.7292 GB Notification: Performance of Templates: time 0.008808/0.9961, allocations: 4.382 MB / 1.144 GB, free: 20.34 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)