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.001003/0.001003, allocations: 80.75 kB / 20.82 MB, free: 3.629 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.0009849/0.0009849, allocations: 165 kB / 24.25 MB, free: 208 kB / 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 0.9259/0.9259, allocations: 177.1 MB / 204.7 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.964/1.964, allocations: 389.6 MB / 0.6355 GB, free: 12.27 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 2.004e-06/2.004e-06, allocations: 0 / 0.7753 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.24e-05/1.441e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.285 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001789/0.001804, allocations: 1.606 MB / 0.7769 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0009104/0.002714, allocations: 0.5381 MB / 0.7774 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.037e-05/0.002765, allocations: 0 / 0.7774 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 8.899e-05/0.002854, allocations: 12.73 kB / 0.7774 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.289e-05/0.002946, allocations: 28.61 kB / 0.7774 GB, free: 3.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005043/0.003451, allocations: 323.1 kB / 0.7778 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003407/0.003791, allocations: 490 kB / 0.7782 GB, free: 2.34 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.003823, allocations: 7.984 kB / 0.7782 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003028/0.004126, allocations: 351.6 kB / 0.7786 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001855/0.004312, allocations: 135.6 kB / 0.7787 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.004365, allocations: 32.94 kB / 0.7787 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 4.804e-05/0.004413, allocations: 24 kB / 0.7788 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.442e-05/0.004497, allocations: 123.6 kB / 0.7789 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 9.316e-05/0.00459, allocations: 128.7 kB / 0.779 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003195/0.00491, allocations: 374.9 kB / 0.7793 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004912, allocations: 1.125 kB / 0.7794 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.11e-07/0.004912, allocations: 0 / 0.7794 GB, free: 1.191 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.216e-06/0.004915, allocations: 0 / 0.7794 GB, free: 1.191 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.0006592/0.005574, allocations: 0.7406 MB / 0.7801 GB, free: 396 kB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.005608, allocations: 9.344 kB / 0.7801 GB, free: 388 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.997e-05/0.005678, allocations: 48.88 kB / 0.7801 GB, free: 340 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.005888, allocations: 245.3 kB / 0.7804 GB, free: 76 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.75e-05/0.005916, allocations: 12.38 kB / 0.7804 GB, free: 64 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.005959, allocations: 28.36 kB / 0.7804 GB, free: 36 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.006267, allocations: 178.5 kB / 0.7806 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.006273, allocations: 0.8438 kB / 0.7806 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.00629, allocations: 9.5 kB / 0.7806 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.006295, allocations: 384 / 0.7806 GB, free: 15.85 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.021e-05/0.006365, allocations: 40.48 kB / 0.7806 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001386/0.006503, allocations: 112.9 kB / 0.7807 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.006643, allocations: 94.53 kB / 0.7808 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.659e-05/0.00671, allocations: 52.64 kB / 0.7809 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.501e-05/0.006725, allocations: 4 kB / 0.7809 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.006871, allocations: 146.9 kB / 0.781 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.012e-06/0.006872, allocations: 4 kB / 0.781 GB, free: 15.39 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002879/0.00716, allocations: 203.8 kB / 0.7812 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.007192, allocations: 63.39 kB / 0.7813 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.007362, allocations: 327.3 kB / 0.7816 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.007394, allocations: 37.7 kB / 0.7816 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.09e-05/0.007435, allocations: 97.42 kB / 0.7817 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.069e-05/0.007465, allocations: 40.73 kB / 0.7818 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.007574, allocations: 113.4 kB / 0.7819 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.966e-05/0.007644, allocations: 330.8 kB / 0.7822 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.007778, allocations: 157.2 kB / 0.7823 GB, free: 14 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.007917, allocations: 209.3 kB / 0.7825 GB, free: 13.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.008083, allocations: 250.2 kB / 0.7828 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.008085, allocations: 0 / 0.7828 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003085/0.008393, allocations: 437.2 kB / 0.7832 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.008439, allocations: 79.38 kB / 0.7833 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.008443, allocations: 0.625 kB / 0.7833 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.008e-05/0.008453, allocations: 9.188 kB / 0.7833 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.008559, allocations: 31.97 kB / 0.7833 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.008564, allocations: 7.938 kB / 0.7833 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.008711, allocations: 40.7 kB / 0.7833 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.008759, allocations: 60.5 kB / 0.7834 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 9.694e-05/0.008856, allocations: 145.6 kB / 0.7835 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.008887, allocations: 23.97 kB / 0.7836 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.786e-05/0.008925, allocations: 31.69 kB / 0.7836 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008926, allocations: 12.78 kB / 0.7836 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.008928, allocations: 0 / 0.7836 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.008932, allocations: 4.641 kB / 0.7836 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.009314, allocations: 371.8 kB / 0.784 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.009315, allocations: 1.75 kB / 0.784 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.082e-05/0.009336, allocations: 11.92 kB / 0.784 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.009338, allocations: 0 / 0.784 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.009355, allocations: 11.97 kB / 0.784 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.009358, allocations: 5.828 kB / 0.784 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.009359, allocations: 0 / 0.784 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.009558, allocations: 247.8 kB / 0.7842 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.00969, allocations: 108.4 kB / 0.7843 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.009731, allocations: 11.98 kB / 0.7843 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001605/0.009891, allocations: 29.73 kB / 0.7844 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.946e-05/0.009911, allocations: 11.92 kB / 0.7844 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.009949, allocations: 49.5 kB / 0.7844 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.552e-05/0.01003, allocations: 140.7 kB / 0.7846 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01003, allocations: 0 / 0.7846 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001757/0.01021, allocations: 60 kB / 0.7846 GB, free: 11.51 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 8.3e-05/0.01029, allocations: 107.9 kB / 0.7847 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003734/0.01067, allocations: 401.1 kB / 0.7851 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.01067, allocations: 4 kB / 0.7851 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.041e-05/0.01075, allocations: 65.03 kB / 0.7852 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.01093, allocations: 45.61 kB / 0.7852 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005876/0.01151, allocations: 463.2 kB / 0.7857 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.457e-05/0.01156, allocations: 83.81 kB / 0.7857 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.0116, allocations: 19.67 kB / 0.7858 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.01175, allocations: 118.5 kB / 0.7859 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.01175, allocations: 4.625 kB / 0.7859 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of Templates: time 0.00602/0.01777, allocations: 5.404 MB / 0.7912 GB, free: 4.754 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: 4.922150192782283]