Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009219/0.0009219, allocations: 84.8 kB / 21.62 MB, free: 2.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 172.7 kB / 25.05 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.017/1.017, allocations: 177.1 MB / 205.5 MB, free: 5.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.915/1.915, allocations: 389.6 MB / 0.6363 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.7761 GB, free: 5.324 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.748e-05/1.89e-05, allocations: 4.844 kB / 0.7761 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001892/0.001911, allocations: 1.604 MB / 0.7777 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.003022, allocations: 0.5367 MB / 0.7782 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.003079, allocations: 0 / 0.7782 GB, free: 3.191 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.003206, allocations: 12.67 kB / 0.7782 GB, free: 3.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.003317, allocations: 25.5 kB / 0.7782 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005639/0.00388, allocations: 330.8 kB / 0.7785 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003497/0.00423, allocations: 484 kB / 0.779 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.004265, allocations: 10.73 kB / 0.779 GB, free: 2.371 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003263/0.004592, allocations: 355.6 kB / 0.7793 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001909/0.004782, allocations: 137.9 kB / 0.7795 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.629e-05/0.004839, allocations: 28.62 kB / 0.7795 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.856e-05/0.004887, allocations: 24.69 kB / 0.7795 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 9.897e-05/0.004986, allocations: 115.7 kB / 0.7796 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.005124, allocations: 136.2 kB / 0.7798 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.005483, allocations: 374.9 kB / 0.7801 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.005485, allocations: 0.9375 kB / 0.7801 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.212e-06/0.005487, allocations: 0 / 0.7801 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.005492, allocations: 0.5938 kB / 0.7801 GB, free: 1.227 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.000824/0.006316, allocations: 0.7402 MB / 0.7808 GB, free: 432 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.006357, allocations: 13.34 kB / 0.7809 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.276e-05/0.006429, allocations: 46.31 kB / 0.7809 GB, free: 376 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.006639, allocations: 236 kB / 0.7811 GB, free: 120 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.954e-05/0.006669, allocations: 16.38 kB / 0.7811 GB, free: 104 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.458e-05/0.006713, allocations: 28.36 kB / 0.7812 GB, free: 76 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000307/0.00702, allocations: 184.2 kB / 0.7813 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.007027, allocations: 192 / 0.7813 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.007044, allocations: 4.375 kB / 0.7813 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.007048, allocations: 4.359 kB / 0.7814 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.318e-05/0.007121, allocations: 47.48 kB / 0.7814 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001539/0.007275, allocations: 125.6 kB / 0.7815 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.007417, allocations: 90.02 kB / 0.7816 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.079e-05/0.007488, allocations: 41.62 kB / 0.7816 GB, free: 15.58 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.697e-05/0.007505, allocations: 12.92 kB / 0.7817 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001488/0.007654, allocations: 145.6 kB / 0.7818 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.007655, allocations: 0 / 0.7818 GB, free: 15.42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0003044/0.00796, allocations: 208.4 kB / 0.782 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.592e-05/0.007996, allocations: 64.27 kB / 0.7821 GB, free: 15.15 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/0.008175, allocations: 331.3 kB / 0.7824 GB, free: 14.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.234e-05/0.008208, allocations: 42.5 kB / 0.7824 GB, free: 14.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.685e-05/0.008255, allocations: 93.44 kB / 0.7825 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.008288, allocations: 40.38 kB / 0.7825 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.008391, allocations: 109.5 kB / 0.7826 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.882e-05/0.00847, allocations: 336.3 kB / 0.783 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.008614, allocations: 159.3 kB / 0.7831 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.008766, allocations: 216.1 kB / 0.7833 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001752/0.008942, allocations: 251.1 kB / 0.7836 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.008944, allocations: 0 / 0.7836 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003314/0.009275, allocations: 441 kB / 0.784 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.009326, allocations: 87.36 kB / 0.7841 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.009331, allocations: 1.094 kB / 0.7841 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.009341, allocations: 4 kB / 0.7841 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.009449, allocations: 40.94 kB / 0.7841 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.009454, allocations: 4 kB / 0.7841 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001527/0.009607, allocations: 45.08 kB / 0.7842 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.009656, allocations: 55.92 kB / 0.7842 GB, free: 12.8 MB / 0.7448 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.year) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.009757, allocations: 149.1 kB / 0.7844 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.00979, allocations: 27.97 kB / 0.7844 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.009827, allocations: 37.64 kB / 0.7844 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.009829, allocations: 0 / 0.7844 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-06/0.009831, allocations: 0 / 0.7844 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.009834, allocations: 0 / 0.7844 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.01023, allocations: 379.6 kB / 0.7848 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01023, allocations: 1.188 kB / 0.7848 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.21e-05/0.01026, allocations: 4 kB / 0.7848 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01026, allocations: 0 / 0.7848 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.01028, allocations: 16.97 kB / 0.7848 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01028, allocations: 0 / 0.7848 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01028, allocations: 0 / 0.7848 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.01049, allocations: 248.2 kB / 0.785 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.01062, allocations: 116.3 kB / 0.7851 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.947e-05/0.01066, allocations: 15.94 kB / 0.7852 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001657/0.01083, allocations: 37.44 kB / 0.7852 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.01085, allocations: 19.91 kB / 0.7852 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.01089, allocations: 48.88 kB / 0.7853 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.967e-05/0.01098, allocations: 136.7 kB / 0.7854 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01098, allocations: 0.8438 kB / 0.7854 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001911/0.01117, allocations: 63.98 kB / 0.7855 GB, free: 11.49 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.048e-05/0.01126, allocations: 99 kB / 0.7855 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003949/0.01166, allocations: 406.2 kB / 0.7859 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.01166, allocations: 4.594 kB / 0.7859 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/0.01174, allocations: 57.94 kB / 0.786 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001773/0.01192, allocations: 45.55 kB / 0.786 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005937/0.01251, allocations: 468.2 kB / 0.7865 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.715e-05/0.01256, allocations: 87.81 kB / 0.7866 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.373e-05/0.01259, allocations: 13.14 kB / 0.7866 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000156/0.01275, allocations: 119.5 kB / 0.7867 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of SimCode: time 5.81e-07/0.01275, allocations: 0 / 0.7867 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.005778/0.01853, allocations: 5.409 MB / 0.792 GB, free: 4.73 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.088069370016456]