Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.719/1.719, allocations: 288.4 MB / 304.3 MB, free: 8.055 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.001172/0.001173, allocations: 193.8 kB / 373 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.0008342/0.0008341, allocations: 94.23 kB / 0.745 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.0003879, allocations: 11.34 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2388, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7621/1.001, allocations: 139.9 MB / 1.117 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002268/1.001, allocations: 77.92 kB / 1.117 GB, free: 16.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01202/1.013, allocations: 4.45 MB / 1.122 GB, free: 31.99 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.92e-07/1.013, allocations: 4 kB / 1.122 GB, free: 31.98 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.268e-05/1.013, allocations: 3.844 kB / 1.122 GB, free: 31.98 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.0008501/1.014, allocations: 0.6197 MB / 1.122 GB, free: 31.42 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/1.014, allocations: 7.688 kB / 1.122 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.637e-05/1.014, allocations: 31.94 kB / 1.122 GB, free: 31.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/1.015, allocations: 261.3 kB / 1.123 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/1.015, allocations: 15.28 kB / 1.123 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/1.015, allocations: 18.36 kB / 1.123 GB, free: 31.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/1.015, allocations: 144.5 kB / 1.123 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/1.015, allocations: 192 / 1.123 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.498e-05/1.015, allocations: 9.953 kB / 1.123 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.015, allocations: 3.984 kB / 1.123 GB, free: 31.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/1.015, allocations: 45.44 kB / 1.123 GB, free: 31.13 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/1.016, allocations: 333.5 kB / 1.123 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/1.016, allocations: 129.1 kB / 1.123 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001084/1.016, allocations: 57.45 kB / 1.123 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/1.016, allocations: 3.875 kB / 1.123 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/1.016, allocations: 218.7 kB / 1.124 GB, free: 30.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.202e-06/1.016, allocations: 0 / 1.124 GB, free: 30.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0004926/1.017, allocations: 270 kB / 1.124 GB, free: 30.78 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.06e-05/1.017, allocations: 65.06 kB / 1.124 GB, free: 30.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/1.017, allocations: 281.8 kB / 1.124 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/1.017, allocations: 46.59 kB / 1.124 GB, free: 30.58 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.335e-05/1.017, allocations: 87.83 kB / 1.124 GB, free: 30.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.38e-05/1.017, allocations: 47.77 kB / 1.124 GB, free: 30.47 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/1.017, allocations: 10.52 kB / 1.124 GB, free: 30.47 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001182/1.017, allocations: 325.5 kB / 1.125 GB, free: 30.16 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002342/1.018, allocations: 100.7 kB / 1.125 GB, free: 30.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000238/1.018, allocations: 160.3 kB / 1.125 GB, free: 30.09 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/1.018, allocations: 243.5 kB / 1.125 GB, free: 29.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.018, allocations: 0 / 1.125 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006462/1.019, allocations: 429.5 kB / 1.126 GB, free: 29.85 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.746e-05/1.019, allocations: 74.16 kB / 1.126 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-06/1.019, allocations: 7.594 kB / 1.126 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/1.019, allocations: 0 / 1.126 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/1.019, allocations: 35.86 kB / 1.126 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/1.019, allocations: 0 / 1.126 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/1.019, allocations: 50.89 kB / 1.126 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/1.02, allocations: 51.7 kB / 1.126 GB, free: 29.77 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.0001762/1.02, allocations: 178.6 kB / 1.126 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/1.02, allocations: 29.94 kB / 1.126 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.075e-05/1.02, allocations: 31.81 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.02, allocations: 3.938 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.683e-06/1.02, allocations: 3.812 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.02, allocations: 2.812 kB / 1.126 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006784/1.021, allocations: 0.5574 MB / 1.127 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/1.021, allocations: 6.469 kB / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/1.021, allocations: 7.719 kB / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/1.021, allocations: 3.938 kB / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/1.021, allocations: 13.25 kB / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.021, allocations: 0 / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/1.021, allocations: 0 / 1.127 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/1.021, allocations: 328.2 kB / 1.127 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000152/1.021, allocations: 152.1 kB / 1.127 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/1.021, allocations: 11.5 kB / 1.127 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/1.021, allocations: 14.09 kB / 1.127 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/1.021, allocations: 14.77 kB / 1.127 GB, free: 29.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/1.022, allocations: 33.56 kB / 1.127 GB, free: 29.02 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001534/1.022, allocations: 203 kB / 1.127 GB, free: 28.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.022, allocations: 0 / 1.127 GB, free: 28.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002995/1.022, allocations: 65.14 kB / 1.127 GB, free: 28.93 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.0001466/1.022, allocations: 110.7 kB / 1.127 GB, free: 28.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005213/1.023, allocations: 355 kB / 1.128 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/1.023, allocations: 0 / 1.128 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/1.023, allocations: 76.55 kB / 1.128 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/1.023, allocations: 27.56 kB / 1.128 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006389/1.024, allocations: 447.2 kB / 1.128 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/1.024, allocations: 0.7489 MB / 1.129 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001366/1.024, allocations: 34.8 kB / 1.129 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/1.024, allocations: 36.05 kB / 1.129 GB, free: 27.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.024, allocations: 0 / 1.129 GB, free: 27.7 MB / 0.698 GB Notification: Performance of Templates: time 0.007312/1.032, allocations: 4.373 MB / 1.133 GB, free: 26.41 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)