Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00104/0.00104, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001248/0.001248, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.724/1.724, allocations: 252 MB / 0.5102 GB, free: 4.805 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005237/0.0005237, allocations: 12 kB / 0.6243 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5218/0.5223, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001652/0.5241, allocations: 1.191 MB / 0.7293 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0008065/0.5249, allocations: 411.1 kB / 0.7297 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.5249, allocations: 0 / 0.7297 GB, free: 9.828 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 8.435e-05/0.525, allocations: 3.938 kB / 0.7297 GB, free: 9.824 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.561e-05/0.5251, allocations: 19.92 kB / 0.7297 GB, free: 9.805 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.5257, allocations: 210.9 kB / 0.7299 GB, free: 9.602 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.526, allocations: 243.5 kB / 0.7301 GB, free: 9.363 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.515e-05/0.5261, allocations: 7.984 kB / 0.7301 GB, free: 9.355 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003439/0.5264, allocations: 211.7 kB / 0.7303 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.5267, allocations: 131.7 kB / 0.7305 GB, free: 9.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.999e-05/0.5267, allocations: 12 kB / 0.7305 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 4.478e-05/0.5268, allocations: 8 kB / 0.7305 GB, free: 9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.5269, allocations: 83.77 kB / 0.7306 GB, free: 8.918 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.651e-05/0.527, allocations: 73.58 kB / 0.7306 GB, free: 8.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.5272, allocations: 209.5 kB / 0.7308 GB, free: 8.637 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.5273, allocations: 0 / 0.7308 GB, free: 8.637 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.533e-06/0.5273, allocations: 0 / 0.7308 GB, free: 8.637 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5273, allocations: 0 / 0.7308 GB, free: 8.637 MB / 0.545 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.001055/0.5283, allocations: 0.6064 MB / 0.7314 GB, free: 7.957 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5284, allocations: 8.031 kB / 0.7314 GB, free: 7.949 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.958e-05/0.5285, allocations: 43.61 kB / 0.7315 GB, free: 7.906 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.5288, allocations: 250.5 kB / 0.7317 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.739e-05/0.5288, allocations: 15.98 kB / 0.7317 GB, free: 7.609 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.404e-05/0.5289, allocations: 16 kB / 0.7317 GB, free: 7.594 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002948/0.5292, allocations: 145.5 kB / 0.7319 GB, free: 7.445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.5292, allocations: 3.938 kB / 0.7319 GB, free: 7.441 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.669e-05/0.5292, allocations: 8 kB / 0.7319 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.5293, allocations: 0 / 0.7319 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.5294, allocations: 47.95 kB / 0.7319 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.5298, allocations: 317.3 kB / 0.7322 GB, free: 7.027 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.53, allocations: 130.6 kB / 0.7324 GB, free: 6.891 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001268/0.5302, allocations: 56.83 kB / 0.7324 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.5302, allocations: 0 / 0.7324 GB, free: 6.832 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004713/0.5307, allocations: 216.2 kB / 0.7326 GB, free: 6.609 MB / 0.545 GB Notification: Performance of pre-optimization done (n=18): time 3.066e-06/0.5307, allocations: 0 / 0.7326 GB, free: 6.609 MB / 0.545 GB Notification: Performance of matching and sorting (n=18): time 0.0006261/0.5313, allocations: 279.4 kB / 0.7329 GB, free: 6.332 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.502e-05/0.5314, allocations: 63.41 kB / 0.733 GB, free: 6.258 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003072/0.5317, allocations: 291 kB / 0.7332 GB, free: 5.961 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.454e-05/0.5318, allocations: 37.7 kB / 0.7333 GB, free: 5.918 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.392e-05/0.5319, allocations: 89.14 kB / 0.7334 GB, free: 5.828 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-05/0.5319, allocations: 47.44 kB / 0.7334 GB, free: 5.781 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.532, allocations: 11.98 kB / 0.7334 GB, free: 5.77 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5321, allocations: 322.8 kB / 0.7337 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.5323, allocations: 92.17 kB / 0.7338 GB, free: 5.352 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.5326, allocations: 147.8 kB / 0.7339 GB, free: 5.188 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.5329, allocations: 154.7 kB / 0.7341 GB, free: 5.023 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5329, allocations: 4 kB / 0.7341 GB, free: 5.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007025/0.5336, allocations: 415.1 kB / 0.7345 GB, free: 4.598 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.999e-05/0.5337, allocations: 75.39 kB / 0.7346 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.5337, allocations: 0 / 0.7346 GB, free: 4.512 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.5337, allocations: 4 kB / 0.7346 GB, free: 4.508 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.5339, allocations: 27.91 kB / 0.7346 GB, free: 4.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.234e-05/0.5339, allocations: 4 kB / 0.7346 GB, free: 4.477 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/0.5344, allocations: 68.05 kB / 0.7347 GB, free: 4.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.759e-05/0.5345, allocations: 55.98 kB / 0.7347 GB, free: 4.355 MB / 0.545 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.0002546/0.5347, allocations: 185.6 kB / 0.7349 GB, free: 4.164 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.9e-05/0.5348, allocations: 23.72 kB / 0.7349 GB, free: 4.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.71e-05/0.5349, allocations: 26.25 kB / 0.7349 GB, free: 4.117 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.5349, allocations: 8 kB / 0.735 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5349, allocations: 0 / 0.735 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5349, allocations: 0 / 0.735 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009806/0.5359, allocations: 0.5627 MB / 0.7355 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5359, allocations: 0 / 0.7355 GB, free: 3.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.094e-05/0.5359, allocations: 8 kB / 0.7355 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.536, allocations: 0 / 0.7355 GB, free: 3.484 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.408e-05/0.536, allocations: 19.97 kB / 0.7355 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.536, allocations: 0 / 0.7355 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.536, allocations: 0 / 0.7355 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004468/0.5365, allocations: 327 kB / 0.7358 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000185/0.5367, allocations: 156.6 kB / 0.736 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.5367, allocations: 8 kB / 0.736 GB, free: 2.949 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.5369, allocations: 11.98 kB / 0.736 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.151e-05/0.537, allocations: 15.97 kB / 0.736 GB, free: 2.922 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.177e-05/0.5371, allocations: 35.97 kB / 0.7361 GB, free: 2.887 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002388/0.5373, allocations: 209.9 kB / 0.7363 GB, free: 2.688 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.01e-07/0.5373, allocations: 4 kB / 0.7363 GB, free: 2.684 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003375/0.5377, allocations: 47.94 kB / 0.7363 GB, free: 2.637 MB / 0.545 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.0001943/0.5379, allocations: 121.5 kB / 0.7364 GB, free: 2.508 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000604/0.5385, allocations: 339.8 kB / 0.7367 GB, free: 2.152 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.5385, allocations: 0 / 0.7367 GB, free: 2.152 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000154/0.5387, allocations: 76.27 kB / 0.7368 GB, free: 2.078 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/0.5391, allocations: 28.81 kB / 0.7368 GB, free: 2.047 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009878/0.5401, allocations: 459.8 kB / 0.7373 GB, free: 1.57 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004565/0.5405, allocations: 0.7475 MB / 0.738 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001533/0.5407, allocations: 33.44 kB / 0.738 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.5408, allocations: 35.41 kB / 0.7381 GB, free: 0.7305 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.5409, allocations: 4 kB / 0.7381 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of Templates: time 0.007895/0.5488, allocations: 3.927 MB / 0.7419 GB, free: 12.81 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) Environment - environmentSimulation: