Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.53/2.53, allocations: 287.5 MB / 303.2 MB, free: 8.09 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.001964/0.001964, allocations: 185.2 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.111/2.111, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009503/0.0009501, allocations: 97.55 kB / 0.7438 GB, free: 6.527 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004698, allocations: 14.97 kB / 0.8667 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2036, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.887/1.091, allocations: 139.7 MB / 1.116 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/1.091, allocations: 73.98 kB / 1.116 GB, free: 15.83 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02018/1.111, allocations: 4.465 MB / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.324e-06/1.111, allocations: 0 / 1.12 GB, free: 31.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.817e-05/1.111, allocations: 3.875 kB / 1.12 GB, free: 31.27 MB / 0.698 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.001193/1.113, allocations: 0.6233 MB / 1.121 GB, free: 30.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/1.113, allocations: 7.688 kB / 1.121 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/1.113, allocations: 32.03 kB / 1.121 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003743/1.113, allocations: 256.2 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/1.113, allocations: 16.45 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/1.113, allocations: 17.48 kB / 1.121 GB, free: 30.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/1.114, allocations: 148.4 kB / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/1.114, allocations: 192 / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/1.114, allocations: 7.844 kB / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/1.114, allocations: 0 / 1.121 GB, free: 30.42 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001915/1.114, allocations: 49.34 kB / 1.121 GB, free: 30.41 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/1.114, allocations: 325.6 kB / 1.122 GB, free: 30.22 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/1.115, allocations: 128.6 kB / 1.122 GB, free: 30.19 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/1.115, allocations: 60.83 kB / 1.122 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/1.115, allocations: 3.938 kB / 1.122 GB, free: 30.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005584/1.116, allocations: 222.9 kB / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.324e-06/1.116, allocations: 0 / 1.122 GB, free: 30.12 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0008155/1.116, allocations: 277 kB / 1.122 GB, free: 30.06 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/1.116, allocations: 65.81 kB / 1.122 GB, free: 29.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003566/1.117, allocations: 284.1 kB / 1.123 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.895e-05/1.117, allocations: 40.61 kB / 1.123 GB, free: 29.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.86e-05/1.117, allocations: 87.8 kB / 1.123 GB, free: 29.78 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.119e-05/1.117, allocations: 48.11 kB / 1.123 GB, free: 29.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/1.117, allocations: 10.05 kB / 1.123 GB, free: 29.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000133/1.117, allocations: 320.8 kB / 1.123 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004153/1.118, allocations: 101.7 kB / 1.123 GB, free: 29.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004244/1.118, allocations: 159.5 kB / 1.123 GB, free: 29.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005103/1.119, allocations: 240.6 kB / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/1.119, allocations: 0 / 1.123 GB, free: 29.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001176/1.12, allocations: 430.6 kB / 1.124 GB, free: 29.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001006/1.12, allocations: 71.61 kB / 1.124 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.12, allocations: 0 / 1.124 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.415e-05/1.12, allocations: 3.875 kB / 1.124 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002474/1.12, allocations: 33.17 kB / 1.124 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/1.12, allocations: 7.812 kB / 1.124 GB, free: 29.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/1.121, allocations: 50.7 kB / 1.124 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/1.121, allocations: 55.64 kB / 1.124 GB, free: 29.05 MB / 0.698 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.0003072/1.121, allocations: 179.7 kB / 1.124 GB, free: 28.92 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.228e-05/1.121, allocations: 23.41 kB / 1.124 GB, free: 28.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.177e-05/1.122, allocations: 31.08 kB / 1.124 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/1.122, allocations: 7.781 kB / 1.124 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.122, allocations: 0 / 1.124 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.122, allocations: 3.328 kB / 1.124 GB, free: 28.89 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001077/1.123, allocations: 0.5556 MB / 1.125 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/1.123, allocations: 6.891 kB / 1.125 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/1.123, allocations: 7.656 kB / 1.125 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/1.123, allocations: 0 / 1.125 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-05/1.123, allocations: 20.5 kB / 1.125 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.123, allocations: 0 / 1.125 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.123, allocations: 3.938 kB / 1.125 GB, free: 28.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005804/1.123, allocations: 315.4 kB / 1.125 GB, free: 28.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002313/1.124, allocations: 158.3 kB / 1.125 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.962e-05/1.124, allocations: 10.19 kB / 1.125 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/1.124, allocations: 14.5 kB / 1.125 GB, free: 28.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/1.124, allocations: 21.36 kB / 1.125 GB, free: 28.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.515e-05/1.124, allocations: 32.86 kB / 1.125 GB, free: 28.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002502/1.125, allocations: 207.4 kB / 1.126 GB, free: 28.22 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.125, allocations: 3.875 kB / 1.126 GB, free: 28.22 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005165/1.125, allocations: 52.97 kB / 1.126 GB, free: 28.21 MB / 0.698 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.0001862/1.125, allocations: 119.5 kB / 1.126 GB, free: 28.12 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008615/1.126, allocations: 345.8 kB / 1.126 GB, free: 27.99 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/1.126, allocations: 4.375 kB / 1.126 GB, free: 27.99 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/1.126, allocations: 80.62 kB / 1.126 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004653/1.127, allocations: 28.72 kB / 1.126 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008928/1.128, allocations: 440.5 kB / 1.127 GB, free: 27.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/1.128, allocations: 0.7407 MB / 1.127 GB, free: 27.02 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00023/1.128, allocations: 43.53 kB / 1.127 GB, free: 27 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001737/1.129, allocations: 30.33 kB / 1.127 GB, free: 26.99 MB / 0.698 GB Notification: Performance of SimCode: time 1.082e-06/1.129, allocations: 0 / 1.127 GB, free: 26.99 MB / 0.698 GB Notification: Performance of Templates: time 0.01088/1.139, allocations: 4.373 MB / 1.132 GB, free: 26.49 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)