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.0009066/0.0009066, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.00175/0.00175, allocations: 164.5 kB / 24.96 MB, free: 8.711 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 0.8855/0.8855, allocations: 177.2 MB / 205.4 MB, free: 4.484 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.6361 GB, free: 13.38 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.383e-06/1.383e-06, allocations: 0 / 0.7759 GB, free: 14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.175e-05, allocations: 6.25 kB / 0.7759 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002759/0.002781, allocations: 1.6 MB / 0.7775 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008838/0.003665, allocations: 0.5496 MB / 0.778 GB, free: 11.83 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.754e-05/0.003712, allocations: 3.938 kB / 0.778 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.487e-05/0.003807, allocations: 7.922 kB / 0.7781 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.968e-05/0.003907, allocations: 23.86 kB / 0.7781 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005059/0.004413, allocations: 323.3 kB / 0.7784 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000329/0.004742, allocations: 487.4 kB / 0.7788 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.189e-05/0.004773, allocations: 3.984 kB / 0.7789 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.005073, allocations: 359.5 kB / 0.7792 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.005255, allocations: 135.7 kB / 0.7793 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.557e-05/0.0053, allocations: 28 kB / 0.7794 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.857e-05/0.005339, allocations: 24 kB / 0.7794 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.005419, allocations: 119.7 kB / 0.7795 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.535e-05/0.005515, allocations: 135.7 kB / 0.7796 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.005781, allocations: 378.9 kB / 0.78 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.005784, allocations: 0 / 0.78 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.243e-06/0.005785, allocations: 0 / 0.78 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.005789, allocations: 0 / 0.78 GB, free: 9.84 MB / 0.7448 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.0006868/0.006476, allocations: 0.7428 MB / 0.7807 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.8e-05/0.006504, allocations: 8.031 kB / 0.7807 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.913e-05/0.006573, allocations: 48.88 kB / 0.7808 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.00678, allocations: 232 kB / 0.781 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.942e-05/0.00681, allocations: 24.36 kB / 0.781 GB, free: 8.699 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.006851, allocations: 40.28 kB / 0.781 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.007128, allocations: 178.7 kB / 0.7812 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.007134, allocations: 192 / 0.7812 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.757e-05/0.007151, allocations: 8.359 kB / 0.7812 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.007157, allocations: 384 / 0.7812 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.601e-05/0.007223, allocations: 43.92 kB / 0.7813 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001399/0.007362, allocations: 112.9 kB / 0.7814 GB, free: 8.301 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.007498, allocations: 94.47 kB / 0.7815 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.403e-05/0.007562, allocations: 44.84 kB / 0.7815 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.007578, allocations: 8 kB / 0.7815 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.007722, allocations: 143.2 kB / 0.7816 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 9.12e-07/0.007723, allocations: 0 / 0.7816 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0002864/0.008009, allocations: 205.4 kB / 0.7818 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.008036, allocations: 63.41 kB / 0.7819 GB, free: 7.711 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.008201, allocations: 335.3 kB / 0.7822 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.839e-05/0.008229, allocations: 41.69 kB / 0.7823 GB, free: 7.328 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.008266, allocations: 89.45 kB / 0.7823 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.936e-05/0.008295, allocations: 39.72 kB / 0.7824 GB, free: 7.199 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.008398, allocations: 117.4 kB / 0.7825 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.008465, allocations: 326.8 kB / 0.7828 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001324/0.008597, allocations: 159.3 kB / 0.783 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.008731, allocations: 205.2 kB / 0.7832 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.008895, allocations: 256.8 kB / 0.7834 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.008897, allocations: 0 / 0.7834 GB, free: 6.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003052/0.009202, allocations: 440 kB / 0.7838 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.506e-05/0.009247, allocations: 79.38 kB / 0.7839 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.009253, allocations: 8.188 kB / 0.7839 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/0.009263, allocations: 0 / 0.7839 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.009368, allocations: 35.97 kB / 0.7839 GB, free: 5.473 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.009376, allocations: 7.938 kB / 0.7839 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.009524, allocations: 47.92 kB / 0.784 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.527e-05/0.009569, allocations: 51.92 kB / 0.784 GB, free: 5.367 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.171e-05/0.009661, allocations: 148.5 kB / 0.7842 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.009695, allocations: 27.97 kB / 0.7842 GB, free: 5.188 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.009736, allocations: 39.67 kB / 0.7842 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.009738, allocations: 4 kB / 0.7843 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.00974, allocations: 0 / 0.7843 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.009743, allocations: 0 / 0.7843 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003734/0.01012, allocations: 370.8 kB / 0.7846 GB, free: 4.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.165e-06/0.01012, allocations: 3.984 kB / 0.7846 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.047e-05/0.01014, allocations: 11.94 kB / 0.7846 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.01014, allocations: 0 / 0.7846 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.01016, allocations: 11.97 kB / 0.7846 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.01016, allocations: 7.938 kB / 0.7846 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01016, allocations: 0 / 0.7846 GB, free: 4.715 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.01035, allocations: 251.6 kB / 0.7849 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.01048, allocations: 115.6 kB / 0.785 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.01052, allocations: 8 kB / 0.785 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.01068, allocations: 35.97 kB / 0.785 GB, free: 4.301 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.0107, allocations: 15.92 kB / 0.785 GB, free: 4.285 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.01073, allocations: 43.97 kB / 0.7851 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.163e-05/0.01082, allocations: 136.7 kB / 0.7852 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01082, allocations: 0 / 0.7852 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001762/0.01099, allocations: 71.92 kB / 0.7853 GB, free: 4.039 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.134e-05/0.01108, allocations: 98.41 kB / 0.7854 GB, free: 3.934 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003623/0.01145, allocations: 402.7 kB / 0.7858 GB, free: 3.5 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.01145, allocations: 4 kB / 0.7858 GB, free: 3.496 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.449e-05/0.01152, allocations: 61.2 kB / 0.7858 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001743/0.0117, allocations: 37.62 kB / 0.7859 GB, free: 3.395 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.01225, allocations: 468 kB / 0.7863 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.712e-05/0.0123, allocations: 87.8 kB / 0.7864 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.326e-05/0.01234, allocations: 13.16 kB / 0.7864 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.01249, allocations: 119.3 kB / 0.7865 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.01249, allocations: 0 / 0.7865 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of Templates: time 0.005693/0.01818, allocations: 5.411 MB / 0.7918 GB, free: 13.18 MB / 0.7605 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.896408086642623]