Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0008973/0.0008975, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006218/0.006218, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.468/1.468, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.894/2.894, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003948/0.0003948, allocations: 7.312 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3924/0.3928, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001989/0.3949, allocations: 1.232 MB / 1.075 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001392/0.3963, allocations: 0.5851 MB / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.219e-05/0.3964, allocations: 0 / 1.076 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 9.871e-05/0.3965, allocations: 3.938 kB / 1.076 GB, free: 5.719 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001333/0.3967, allocations: 27.84 kB / 1.076 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009071/0.3976, allocations: 283.5 kB / 1.076 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005844/0.3982, allocations: 459.3 kB / 1.077 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.75e-05/0.3983, allocations: 15.98 kB / 1.077 GB, free: 4.949 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006325/0.3989, allocations: 303 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003783/0.3993, allocations: 159.4 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001103/0.3994, allocations: 12 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.03e-05/0.3995, allocations: 12 kB / 1.077 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.3997, allocations: 123.4 kB / 1.077 GB, free: 4.352 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002589/0.3999, allocations: 208.5 kB / 1.077 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004729/0.4004, allocations: 406.9 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4004, allocations: 0 / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.295e-06/0.4004, allocations: 0 / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.527e-05/0.4005, allocations: 4 kB / 1.078 GB, free: 3.738 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.001274/0.4017, allocations: 0.7536 MB / 1.079 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.4018, allocations: 12.03 kB / 1.079 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001543/0.4019, allocations: 44.56 kB / 1.079 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004025/0.4024, allocations: 310.2 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.873e-05/0.4024, allocations: 16.36 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.468e-05/0.4025, allocations: 36.3 kB / 1.079 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.4036, allocations: 225 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4036, allocations: 4.188 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/0.4036, allocations: 7.875 kB / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.4036, allocations: 0 / 1.079 GB, free: 2.215 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008018/0.4044, allocations: 111.9 kB / 1.079 GB, free: 2.105 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004828/0.4049, allocations: 389.2 kB / 1.08 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001098/0.406, allocations: 186.5 kB / 1.08 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007827/0.4068, allocations: 137.1 kB / 1.08 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.775e-05/0.4069, allocations: 4 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009672/0.4078, allocations: 235 kB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 2.285e-06/0.4079, allocations: 0 / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002698/0.4106, allocations: 0.5067 MB / 1.081 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/0.4106, allocations: 59.41 kB / 1.081 GB, free: 0.5195 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004158/0.411, allocations: 413.8 kB / 1.081 GB, free: 108 kB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.4111, allocations: 41.7 kB / 1.081 GB, free: 60 kB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.4113, allocations: 97.44 kB / 1.081 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.4113, allocations: 39.53 kB / 1.081 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.846e-05/0.4114, allocations: 37.7 kB / 1.081 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.4115, allocations: 322.8 kB / 1.082 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.4118, allocations: 123.9 kB / 1.082 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002921/0.4121, allocations: 169.9 kB / 1.082 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.4125, allocations: 274.6 kB / 1.082 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.4125, allocations: 8 kB / 1.082 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008346/0.4134, allocations: 490.5 kB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.565e-05/0.4135, allocations: 99.3 kB / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.4135, allocations: 0 / 1.083 GB, free: 14.33 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4135, allocations: 7.938 kB / 1.083 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001727/0.4137, allocations: 19.92 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.4137, allocations: 4 kB / 1.083 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005138/0.4142, allocations: 71.98 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.4144, allocations: 63.97 kB / 1.083 GB, free: 14.17 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.0002537/0.4146, allocations: 189.7 kB / 1.083 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.142e-05/0.4147, allocations: 43.47 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.254e-05/0.4148, allocations: 51.73 kB / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.4148, allocations: 0 / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.4148, allocations: 0 / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/0.4148, allocations: 0 / 1.083 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002274/0.4171, allocations: 0.7714 MB / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4171, allocations: 0 / 1.084 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.4172, allocations: 7.984 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.4172, allocations: 4 kB / 1.084 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.4172, allocations: 15.98 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.4172, allocations: 0 / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4172, allocations: 3.938 kB / 1.084 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.419, allocations: 0.4928 MB / 1.084 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002395/0.4193, allocations: 200.5 kB / 1.085 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.123e-05/0.4194, allocations: 19.92 kB / 1.085 GB, free: 12.28 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004954/0.4199, allocations: 31.97 kB / 1.085 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.591e-05/0.4199, allocations: 11.98 kB / 1.085 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/0.42, allocations: 55.97 kB / 1.085 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002929/0.4203, allocations: 295.1 kB / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4203, allocations: 0 / 1.085 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003658/0.4207, allocations: 68 kB / 1.085 GB, free: 11.82 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.0001614/0.4208, allocations: 121.4 kB / 1.085 GB, free: 11.69 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.4222, allocations: 450.5 kB / 1.086 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4222, allocations: 0 / 1.086 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008063/0.423, allocations: 131.8 kB / 1.086 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.4234, allocations: 35.41 kB / 1.086 GB, free: 11.07 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.425, allocations: 0.6717 MB / 1.086 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.4254, allocations: 0.7749 MB / 1.087 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.396e-05/0.4255, allocations: 17.08 kB / 1.087 GB, free: 9.555 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.073e-05/0.4255, allocations: 11.44 kB / 1.087 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.4255, allocations: 0 / 1.087 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of Templates: time 0.009703/0.4353, allocations: 5.01 MB / 1.092 GB, free: 4.434 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)