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.0009183/0.0009183, allocations: 79.69 kB / 21.74 MB, free: 2.512 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.0009494/0.0009494, allocations: 173.9 kB / 25.18 MB, free: 9.102 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.6 MB, free: 5.012 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.859/1.859, allocations: 389.6 MB / 0.6364 GB, free: 12.21 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.874e-06/1.874e-06, allocations: 0 / 0.7755 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.284e-05/2.472e-05, allocations: 4.984 kB / 0.7755 GB, free: 6.016 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002543/0.002567, allocations: 1.607 MB / 0.7771 GB, free: 4.418 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001215/0.003782, allocations: 0.546 MB / 0.7776 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.403e-05/0.003876, allocations: 0.875 kB / 0.7776 GB, free: 3.875 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.00399, allocations: 7.922 kB / 0.7776 GB, free: 3.867 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001339/0.004124, allocations: 25.5 kB / 0.7776 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008747/0.004999, allocations: 327.1 kB / 0.7779 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0005842/0.005583, allocations: 488 kB / 0.7784 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.723e-05/0.00563, allocations: 7.969 kB / 0.7784 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004678/0.006098, allocations: 359.6 kB / 0.7787 GB, free: 2.707 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002634/0.006362, allocations: 136.4 kB / 0.7789 GB, free: 2.578 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.094e-05/0.006433, allocations: 28 kB / 0.7789 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.413e-05/0.006487, allocations: 26.75 kB / 0.7789 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001136/0.0066, allocations: 115.7 kB / 0.779 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001237/0.006724, allocations: 139.7 kB / 0.7792 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003344/0.007058, allocations: 378.9 kB / 0.7795 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.007061, allocations: 0 / 0.7795 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.162e-06/0.007062, allocations: 0 / 0.7795 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.007069, allocations: 0 / 0.7795 GB, free: 1.906 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.000908/0.007977, allocations: 0.7364 MB / 0.7803 GB, free: 1.105 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.008013, allocations: 9.344 kB / 0.7803 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.399e-05/0.008107, allocations: 53.34 kB / 0.7803 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002724/0.008379, allocations: 229.1 kB / 0.7805 GB, free: 0.8047 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.008423, allocations: 16.36 kB / 0.7805 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.008475, allocations: 32.34 kB / 0.7806 GB, free: 0.7578 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003443/0.008819, allocations: 178.8 kB / 0.7807 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.655e-06/0.008826, allocations: 1.062 kB / 0.7807 GB, free: 0.582 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.008846, allocations: 8.375 kB / 0.7808 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.008851, allocations: 4.312 kB / 0.7808 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.164e-05/0.008923, allocations: 40.67 kB / 0.7808 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001865/0.009109, allocations: 114 kB / 0.7809 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.009269, allocations: 90.28 kB / 0.781 GB, free: 328 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.018e-05/0.009339, allocations: 48.31 kB / 0.781 GB, free: 284 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.009357, allocations: 4.906 kB / 0.781 GB, free: 280 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.009537, allocations: 151.8 kB / 0.7812 GB, free: 120 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.864e-06/0.009539, allocations: 2.031 kB / 0.7812 GB, free: 120 kB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003433/0.009883, allocations: 202.7 kB / 0.7814 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.009925, allocations: 63.39 kB / 0.7814 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002091/0.01013, allocations: 323.3 kB / 0.7818 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.01017, allocations: 41.69 kB / 0.7818 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.765e-05/0.01022, allocations: 98.55 kB / 0.7819 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.833e-05/0.01026, allocations: 39.67 kB / 0.7819 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.01038, allocations: 113.4 kB / 0.782 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.01049, allocations: 331.6 kB / 0.7824 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/0.01066, allocations: 155.3 kB / 0.7825 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001615/0.01082, allocations: 218 kB / 0.7827 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/0.01101, allocations: 241 kB / 0.7829 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01101, allocations: 3.938 kB / 0.7829 GB, free: 14.22 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003673/0.01138, allocations: 438 kB / 0.7834 GB, free: 13.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.411e-05/0.01145, allocations: 79.38 kB / 0.7834 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.01146, allocations: 8.625 kB / 0.7834 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.01148, allocations: 5.031 kB / 0.7834 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.01161, allocations: 35.91 kB / 0.7835 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.01161, allocations: 4 kB / 0.7835 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001681/0.01178, allocations: 44.8 kB / 0.7835 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.303e-05/0.01184, allocations: 60.97 kB / 0.7836 GB, free: 13.52 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.000125/0.01196, allocations: 140.6 kB / 0.7837 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.012, allocations: 28.98 kB / 0.7837 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.642e-05/0.01204, allocations: 31.69 kB / 0.7838 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.01205, allocations: 4 kB / 0.7838 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.01205, allocations: 0.9375 kB / 0.7838 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.01206, allocations: 0 / 0.7838 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.01254, allocations: 380.5 kB / 0.7841 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01254, allocations: 0 / 0.7841 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.135e-05/0.01257, allocations: 7.984 kB / 0.7842 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.01258, allocations: 4.578 kB / 0.7842 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.0126, allocations: 8.891 kB / 0.7842 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.0126, allocations: 0 / 0.7842 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.0126, allocations: 0 / 0.7842 GB, free: 12.9 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.01284, allocations: 250.3 kB / 0.7844 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001448/0.01298, allocations: 119.5 kB / 0.7845 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.494e-05/0.01303, allocations: 8 kB / 0.7845 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.0132, allocations: 33.53 kB / 0.7846 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.571e-05/0.01323, allocations: 11.92 kB / 0.7846 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.01327, allocations: 49.03 kB / 0.7846 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001133/0.01339, allocations: 136.7 kB / 0.7847 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01339, allocations: 0 / 0.7847 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002141/0.0136, allocations: 65.14 kB / 0.7848 GB, free: 12.23 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 0.0001214/0.01372, allocations: 106.4 kB / 0.7849 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004246/0.01415, allocations: 395.7 kB / 0.7853 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.638e-06/0.01416, allocations: 5 kB / 0.7853 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.01426, allocations: 69.47 kB / 0.7854 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.01448, allocations: 33.62 kB / 0.7854 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007669/0.01524, allocations: 0.498 MB / 0.7859 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001469/0.01539, allocations: 164.8 kB / 0.786 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.01558, allocations: 114.4 kB / 0.7861 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of SimCode: time 1.203e-06/0.01558, allocations: 1.531 kB / 0.7861 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of Templates: time 0.004916/0.02049, allocations: 3.365 MB / 0.7894 GB, free: 7.414 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 > Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.886857469566166]