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.001809/0.001809, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002266/0.002265, allocations: 197.9 kB / 16.14 MB, free: 6.688 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: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.946/2.946, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 57.06 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3531/0.3546, allocations: 159.9 MB / 1.068 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002655/0.3573, allocations: 1.563 MB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001276/0.3586, allocations: 0.6006 MB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.3587, allocations: 3.938 kB / 1.07 GB, free: 8.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.3588, allocations: 3.984 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.3589, allocations: 31.84 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006936/0.3596, allocations: 282.9 kB / 1.07 GB, free: 8.457 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000441/0.36, allocations: 451.4 kB / 1.07 GB, free: 8.016 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.452e-05/0.3601, allocations: 11.97 kB / 1.07 GB, free: 8.004 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003785/0.3605, allocations: 307 kB / 1.071 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.3608, allocations: 155.4 kB / 1.071 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 8.69e-05/0.3608, allocations: 16 kB / 1.071 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.313e-05/0.3609, allocations: 16 kB / 1.071 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.3611, allocations: 115.5 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002188/0.3613, allocations: 182.8 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004826/0.3618, allocations: 414.9 kB / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3618, allocations: 0 / 1.072 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of FrontEnd: time 8.22e-07/0.3618, allocations: 4 kB / 1.072 GB, free: 6.816 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.3618, allocations: 0 / 1.072 GB, free: 6.816 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.001238/0.3631, allocations: 0.8722 MB / 1.072 GB, free: 5.855 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.3631, allocations: 8.031 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.3633, allocations: 56.47 kB / 1.072 GB, free: 5.793 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003794/0.3636, allocations: 314.2 kB / 1.073 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.3637, allocations: 20.36 kB / 1.073 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.577e-05/0.3638, allocations: 28.31 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.3649, allocations: 210 kB / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.3649, allocations: 192 / 1.073 GB, free: 5.191 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.365, allocations: 7.938 kB / 1.073 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.365, allocations: 4 kB / 1.073 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008609/0.3658, allocations: 95.92 kB / 1.073 GB, free: 5.086 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.3663, allocations: 393.2 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.3675, allocations: 182.4 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008558/0.3683, allocations: 105.2 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.3684, allocations: 4 kB / 1.074 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.3695, allocations: 232.8 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3695, allocations: 0 / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of matching and sorting (n=16): time 0.002838/0.3723, allocations: 486.9 kB / 1.074 GB, free: 3.637 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.564e-05/0.3724, allocations: 67.39 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004065/0.3728, allocations: 401.9 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.3729, allocations: 41.69 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 9.31e-05/0.373, allocations: 101.4 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 5.862e-05/0.3731, allocations: 43.45 kB / 1.075 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002083/0.3733, allocations: 129.3 kB / 1.075 GB, free: 2.832 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3734, allocations: 322.8 kB / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002814/0.3737, allocations: 119.9 kB / 1.076 GB, free: 2.391 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003143/0.374, allocations: 169.9 kB / 1.076 GB, free: 2.203 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/0.3744, allocations: 277.2 kB / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3745, allocations: 0 / 1.076 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009159/0.3754, allocations: 498.5 kB / 1.076 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-05/0.3755, allocations: 91.31 kB / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3755, allocations: 0 / 1.077 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.3755, allocations: 4 kB / 1.077 GB, free: 1.289 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.3757, allocations: 31.91 kB / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.3757, allocations: 0 / 1.077 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005562/0.3763, allocations: 59.98 kB / 1.077 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.786e-05/0.3764, allocations: 59.98 kB / 1.077 GB, free: 1.141 MB / 0.8262 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.0002582/0.3767, allocations: 197.7 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.439e-05/0.3767, allocations: 43.45 kB / 1.077 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.3768, allocations: 39.75 kB / 1.077 GB, free: 0.8555 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3768, allocations: 4 kB / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.3768, allocations: 0 / 1.077 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.3768, allocations: 4 kB / 1.077 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002397/0.3792, allocations: 0.748 MB / 1.078 GB, free: 44 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3793, allocations: 0 / 1.078 GB, free: 44 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-05/0.3793, allocations: 8 kB / 1.078 GB, free: 36 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.3793, allocations: 4 kB / 1.078 GB, free: 32 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.045e-05/0.3794, allocations: 19.97 kB / 1.078 GB, free: 12 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.3794, allocations: 3.938 kB / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.3794, allocations: 0 / 1.078 GB, free: 8 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001907/0.3813, allocations: 480.6 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002575/0.3816, allocations: 200.5 kB / 1.078 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.031e-05/0.3817, allocations: 12 kB / 1.078 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005169/0.3822, allocations: 35.89 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.136e-05/0.3822, allocations: 8 kB / 1.078 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/0.3823, allocations: 55.97 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003035/0.3826, allocations: 303.1 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3826, allocations: 0 / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003868/0.383, allocations: 63.98 kB / 1.079 GB, free: 14.84 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.0001519/0.3832, allocations: 123.4 kB / 1.079 GB, free: 14.71 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001369/0.3845, allocations: 434.7 kB / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.3846, allocations: 0 / 1.079 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0008358/0.3854, allocations: 123.8 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.3858, allocations: 34.72 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.3874, allocations: 0.657 MB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.3878, allocations: 0.7826 MB / 1.081 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.87e-05/0.3879, allocations: 13.08 kB / 1.081 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.494e-05/0.388, allocations: 15.44 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of SimCode: time 4.01e-07/0.388, allocations: 0 / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.01223/0.4002, allocations: 5.041 MB / 1.086 GB, free: 7.445 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)