Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.695/1.695, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001189/0.001189, allocations: 189 kB / 377.1 MB, free: 1.496 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.895/1.895, allocations: 205.4 MB / 0.6367 GB, free: 8.613 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009697/0.0009694, allocations: 93.75 kB / 0.751 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005247/0.000525, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3034, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7642/1.068, allocations: 141.6 MB / 1.127 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002284/1.068, allocations: 70.55 kB / 1.127 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01308/1.081, allocations: 4.556 MB / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.934e-06/1.081, allocations: 0 / 1.131 GB, free: 30.41 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.715e-05/1.081, allocations: 4 kB / 1.131 GB, free: 30.41 MB / 0.7292 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.0008466/1.082, allocations: 0.6693 MB / 1.132 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.082, allocations: 12.02 kB / 1.132 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/1.082, allocations: 33.78 kB / 1.132 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000353/1.083, allocations: 251.4 kB / 1.132 GB, free: 29.38 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/1.083, allocations: 16.69 kB / 1.132 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.316e-05/1.083, allocations: 19.33 kB / 1.132 GB, free: 29.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008729/1.084, allocations: 214.6 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.084, allocations: 3.188 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/1.084, allocations: 1.734 kB / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/1.084, allocations: 0 / 1.132 GB, free: 29.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006558/1.084, allocations: 107.8 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/1.085, allocations: 328.6 kB / 1.133 GB, free: 28.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008952/1.086, allocations: 184.4 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/1.086, allocations: 5.688 kB / 1.133 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007912/1.086, allocations: 221.4 kB / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.583e-06/1.086, allocations: 0 / 1.133 GB, free: 28.47 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.002193/1.089, allocations: 485.2 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.362e-05/1.089, allocations: 61.52 kB / 1.134 GB, free: 28 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/1.089, allocations: 252.4 kB / 1.134 GB, free: 27.79 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/1.089, allocations: 39.91 kB / 1.134 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.393e-05/1.089, allocations: 90.36 kB / 1.134 GB, free: 27.65 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.935e-05/1.089, allocations: 50.48 kB / 1.134 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.028e-05/1.089, allocations: 9.125 kB / 1.134 GB, free: 27.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.535e-05/1.089, allocations: 318.7 kB / 1.134 GB, free: 27.28 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/1.089, allocations: 94.44 kB / 1.134 GB, free: 27.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002381/1.09, allocations: 151.5 kB / 1.135 GB, free: 27.05 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002163/1.09, allocations: 150.4 kB / 1.135 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/1.09, allocations: 0 / 1.135 GB, free: 26.91 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000654/1.091, allocations: 396.6 kB / 1.135 GB, free: 26.54 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.613e-05/1.091, allocations: 78.83 kB / 1.135 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.533e-06/1.091, allocations: 0 / 1.135 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/1.091, allocations: 9.109 kB / 1.135 GB, free: 26.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/1.091, allocations: 28.53 kB / 1.135 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/1.091, allocations: 1.125 kB / 1.135 GB, free: 26.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/1.091, allocations: 46.31 kB / 1.135 GB, free: 26.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.91e-05/1.091, allocations: 42.09 kB / 1.135 GB, free: 26.36 MB / 0.7292 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 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$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 (26): * Single equations (assignments): 24 * 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.000175/1.091, allocations: 174.3 kB / 1.136 GB, free: 26.19 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.925e-05/1.092, allocations: 24.33 kB / 1.136 GB, free: 26.16 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/1.092, allocations: 26.2 kB / 1.136 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/1.092, allocations: 10.25 kB / 1.136 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.092, allocations: 0.8438 kB / 1.136 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/1.092, allocations: 0.7969 kB / 1.136 GB, free: 26.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/1.094, allocations: 0.7138 MB / 1.136 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.094, allocations: 0 / 1.136 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.459e-05/1.094, allocations: 5.828 kB / 1.136 GB, free: 25.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/1.094, allocations: 3.953 kB / 1.136 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.614e-05/1.094, allocations: 15.08 kB / 1.136 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.094, allocations: 0 / 1.136 GB, free: 25.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/1.094, allocations: 5.094 kB / 1.136 GB, free: 25.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/1.095, allocations: 468.3 kB / 1.137 GB, free: 25.04 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/1.095, allocations: 170.1 kB / 1.137 GB, free: 24.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.176e-05/1.096, allocations: 13.31 kB / 1.137 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/1.096, allocations: 36.23 kB / 1.137 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/1.096, allocations: 7.469 kB / 1.137 GB, free: 24.84 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.239e-05/1.096, allocations: 42.7 kB / 1.137 GB, free: 24.8 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000197/1.096, allocations: 209.2 kB / 1.137 GB, free: 24.63 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.6e-07/1.096, allocations: 0 / 1.137 GB, free: 24.63 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004124/1.097, allocations: 54.25 kB / 1.137 GB, free: 24.58 MB / 0.7292 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 (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.0001625/1.097, allocations: 118.7 kB / 1.137 GB, free: 24.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001162/1.098, allocations: 398.5 kB / 1.138 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.098, allocations: 4 kB / 1.138 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0007171/1.099, allocations: 126.5 kB / 1.138 GB, free: 23.98 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/1.099, allocations: 20.08 kB / 1.138 GB, free: 23.97 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/1.1, allocations: 497.6 kB / 1.138 GB, free: 23.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/1.101, allocations: 0.7504 MB / 1.139 GB, free: 22.76 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 7.03e-05/1.101, allocations: 11.75 kB / 1.139 GB, free: 22.75 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.903e-05/1.101, allocations: 13.78 kB / 1.139 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of SimCode: time 3.21e-07/1.101, allocations: 4 kB / 1.139 GB, free: 22.74 MB / 0.7292 GB Notification: Performance of Templates: time 0.007886/1.109, allocations: 3.947 MB / 1.143 GB, free: 20.46 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)