Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008089/0.000809, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005386/0.005386, allocations: 169.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.862/2.862, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005034, allocations: 8.875 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4403, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001918/0.4423, allocations: 1.232 MB / 1.075 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001435/0.4437, allocations: 0.5901 MB / 1.076 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.4438, allocations: 0 / 1.076 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.82e-05/0.4439, allocations: 3.938 kB / 1.076 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000137/0.4441, allocations: 31.84 kB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008505/0.4449, allocations: 283 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005417/0.4455, allocations: 455.3 kB / 1.077 GB, free: 4.941 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.231e-05/0.4456, allocations: 15.97 kB / 1.077 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005738/0.4462, allocations: 307 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/0.4465, allocations: 155.4 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.917e-05/0.4466, allocations: 16 kB / 1.077 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.4467, allocations: 12 kB / 1.077 GB, free: 4.445 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.4469, allocations: 123.4 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002696/0.4472, allocations: 212.5 kB / 1.077 GB, free: 4.109 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005293/0.4477, allocations: 406.9 kB / 1.078 GB, free: 3.711 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.4477, allocations: 4 kB / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.013e-06/0.4477, allocations: 0 / 1.078 GB, free: 3.707 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.492e-05/0.4477, allocations: 0 / 1.078 GB, free: 3.707 MB / 0.8262 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.00125/0.449, allocations: 0.7498 MB / 1.079 GB, free: 2.867 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.4491, allocations: 8.031 kB / 1.079 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/0.4492, allocations: 48.56 kB / 1.079 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.4497, allocations: 314.2 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.205e-05/0.4497, allocations: 24.3 kB / 1.079 GB, free: 2.445 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.363e-05/0.4498, allocations: 32.36 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.4509, allocations: 218 kB / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.4509, allocations: 192 / 1.079 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.81e-05/0.451, allocations: 15.92 kB / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.451, allocations: 0 / 1.079 GB, free: 2.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008044/0.4518, allocations: 107.9 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.4523, allocations: 385.2 kB / 1.08 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/0.4534, allocations: 198.4 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007758/0.4542, allocations: 121.1 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.4542, allocations: 4 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000995/0.4552, allocations: 235 kB / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.144e-06/0.4552, allocations: 0 / 1.08 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002856/0.4581, allocations: 0.5086 MB / 1.081 GB, free: 0.5625 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.4582, allocations: 63.34 kB / 1.081 GB, free: 500 kB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.4587, allocations: 413.9 kB / 1.081 GB, free: 76 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001483/0.4588, allocations: 37.7 kB / 1.081 GB, free: 32 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001227/0.459, allocations: 97.44 kB / 1.081 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.459, allocations: 35.53 kB / 1.081 GB, free: 15.9 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.352e-05/0.4591, allocations: 41.7 kB / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.4592, allocations: 322.8 kB / 1.082 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.4595, allocations: 119.9 kB / 1.082 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002994/0.4598, allocations: 170.6 kB / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.4602, allocations: 278.8 kB / 1.082 GB, free: 14.92 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.4602, allocations: 4 kB / 1.082 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008558/0.4611, allocations: 492.5 kB / 1.083 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 8.771e-05/0.4612, allocations: 91.31 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.4612, allocations: 4 kB / 1.083 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.4612, allocations: 4 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.4614, allocations: 28.05 kB / 1.083 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.4614, allocations: 8 kB / 1.083 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/0.462, allocations: 59.8 kB / 1.083 GB, free: 14.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.323e-05/0.4621, allocations: 71.91 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002568/0.4623, allocations: 197.7 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.776e-05/0.4624, allocations: 39.47 kB / 1.083 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.666e-05/0.4625, allocations: 43.73 kB / 1.083 GB, free: 13.86 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.4625, allocations: 4 kB / 1.083 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.4625, allocations: 0 / 1.083 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.4625, allocations: 0 / 1.083 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.4648, allocations: 0.7775 MB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4648, allocations: 4 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.984e-05/0.4649, allocations: 7.984 kB / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4649, allocations: 0 / 1.084 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.424e-05/0.4649, allocations: 15.98 kB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.465, allocations: 0 / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.465, allocations: 3.984 kB / 1.084 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.4668, allocations: 0.4909 MB / 1.084 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.4671, allocations: 196.5 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.207e-05/0.4672, allocations: 15.98 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.4677, allocations: 43.41 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.4677, allocations: 7.984 kB / 1.085 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-05/0.4678, allocations: 55.97 kB / 1.085 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003321/0.4681, allocations: 303.1 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4681, allocations: 0 / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004083/0.4685, allocations: 64 kB / 1.085 GB, free: 11.79 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$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.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001694/0.4687, allocations: 113.5 kB / 1.085 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00144/0.4702, allocations: 456 kB / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4702, allocations: 0 / 1.086 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008406/0.471, allocations: 132.2 kB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.4715, allocations: 29.48 kB / 1.086 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001683/0.4731, allocations: 0.6717 MB / 1.086 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000384/0.4735, allocations: 0.7788 MB / 1.087 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.98e-05/0.4736, allocations: 13.08 kB / 1.087 GB, free: 9.531 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.4737, allocations: 11.44 kB / 1.087 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of SimCode: time 4.91e-07/0.4737, allocations: 0 / 1.087 GB, free: 9.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.009795/0.4835, allocations: 5.018 MB / 1.092 GB, free: 4.402 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_3.0.0_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)