Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.083/4.083, allocations: 251.1 MB / 266.7 MB, free: 11.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002644/0.002644, allocations: 183 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.157/4.157, allocations: 205.4 MB / 0.5772 GB, free: 21.16 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001619/0.001618, allocations: 90.86 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007774/0.0007778, allocations: 18.14 kB / 0.7957 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3744/0.3752, allocations: 106.2 MB / 0.8995 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3372/0.7125, allocations: 133.3 MB / 1.03 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004215/0.713, allocations: 75.97 kB / 1.03 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03205/0.745, allocations: 4.479 MB / 1.034 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of FrontEnd: time 7.204e-06/0.7451, allocations: 0 / 1.034 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.054e-05/0.7452, allocations: 7.938 kB / 1.034 GB, free: 7.926 MB / 0.6823 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.001922/0.7471, allocations: 0.632 MB / 1.035 GB, free: 7.219 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.7472, allocations: 8.031 kB / 1.035 GB, free: 7.211 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002264/0.7474, allocations: 28.66 kB / 1.035 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006278/0.7481, allocations: 247.9 kB / 1.035 GB, free: 6.906 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.28e-05/0.7482, allocations: 16.36 kB / 1.035 GB, free: 6.891 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.7483, allocations: 20.31 kB / 1.035 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006436/0.749, allocations: 146 kB / 1.035 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.749, allocations: 192 / 1.035 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/0.7491, allocations: 7.938 kB / 1.035 GB, free: 6.715 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.7491, allocations: 4 kB / 1.035 GB, free: 6.711 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.7494, allocations: 47.95 kB / 1.035 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008952/0.7503, allocations: 345.2 kB / 1.036 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.751, allocations: 122.7 kB / 1.036 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003097/0.7513, allocations: 56.83 kB / 1.036 GB, free: 6.09 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.34e-05/0.7514, allocations: 8 kB / 1.036 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009055/0.7523, allocations: 205.8 kB / 1.036 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=18): time 3.937e-06/0.7524, allocations: 0 / 1.036 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18): time 0.001458/0.7538, allocations: 277.1 kB / 1.036 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.791e-05/0.754, allocations: 67.3 kB / 1.036 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006782/0.7547, allocations: 283 kB / 1.037 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.7548, allocations: 37.7 kB / 1.037 GB, free: 5.18 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.755, allocations: 93.12 kB / 1.037 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.7551, allocations: 47.44 kB / 1.037 GB, free: 5.039 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.67e-05/0.7552, allocations: 8 kB / 1.037 GB, free: 5.031 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.7555, allocations: 322.8 kB / 1.037 GB, free: 4.707 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006931/0.7562, allocations: 108.2 kB / 1.037 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007343/0.7569, allocations: 146.4 kB / 1.037 GB, free: 4.434 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007322/0.7577, allocations: 155.3 kB / 1.037 GB, free: 4.27 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.7577, allocations: 4 kB / 1.037 GB, free: 4.266 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.002005/0.7598, allocations: 431.1 kB / 1.038 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/0.7599, allocations: 71.39 kB / 1.038 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.76, allocations: 0 / 1.038 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.76, allocations: 4 kB / 1.038 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003584/0.7604, allocations: 35.8 kB / 1.038 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.993e-05/0.7604, allocations: 7.984 kB / 1.038 GB, free: 3.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009114/0.7613, allocations: 44.08 kB / 1.038 GB, free: 3.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001995/0.7616, allocations: 55.97 kB / 1.038 GB, free: 3.602 MB / 0.6823 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.0005164/0.7621, allocations: 178.8 kB / 1.038 GB, free: 3.418 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/0.7622, allocations: 27.66 kB / 1.038 GB, free: 3.391 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.7624, allocations: 30.25 kB / 1.038 GB, free: 3.363 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.7624, allocations: 7.938 kB / 1.038 GB, free: 3.355 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.566e-05/0.7625, allocations: 3.984 kB / 1.038 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.7625, allocations: 0 / 1.038 GB, free: 3.352 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.7643, allocations: 0.5529 MB / 1.039 GB, free: 2.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.7644, allocations: 7.938 kB / 1.039 GB, free: 2.734 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.7645, allocations: 4 kB / 1.039 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.7645, allocations: 0 / 1.039 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/0.7646, allocations: 19.97 kB / 1.039 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/0.7646, allocations: 0 / 1.039 GB, free: 2.711 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7647, allocations: 4 kB / 1.039 GB, free: 2.707 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001038/0.7657, allocations: 321 kB / 1.039 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004401/0.7662, allocations: 152.7 kB / 1.039 GB, free: 2.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.7663, allocations: 8 kB / 1.039 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004414/0.7668, allocations: 15.98 kB / 1.039 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.7669, allocations: 15.97 kB / 1.039 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.862e-05/0.767, allocations: 35.97 kB / 1.039 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004662/0.7675, allocations: 205.9 kB / 1.04 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.51e-07/0.7675, allocations: 0 / 1.04 GB, free: 1.938 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000926/0.7685, allocations: 55.98 kB / 1.04 GB, free: 1.883 MB / 0.6823 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.0002976/0.7688, allocations: 117.4 kB / 1.04 GB, free: 1.758 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.7704, allocations: 356.1 kB / 1.04 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.7705, allocations: 0 / 1.04 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.7708, allocations: 72.28 kB / 1.04 GB, free: 1.316 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.7716, allocations: 32.75 kB / 1.04 GB, free: 1.281 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0016/0.7733, allocations: 444.7 kB / 1.041 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006753/0.774, allocations: 0.7399 MB / 1.041 GB, free: 56 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003866/0.7744, allocations: 33.08 kB / 1.041 GB, free: 20 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003128/0.7747, allocations: 35.47 kB / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of SimCode: time 1.823e-06/0.7748, allocations: 0 / 1.041 GB, free: 15.98 MB / 0.698 GB Notification: Performance of Templates: time 0.01869/0.7935, allocations: 4.357 MB / 1.046 GB, free: 11.62 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)