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.0009981/0.0009981, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0009618/0.0009618, allocations: 161 kB / 24.17 MB, free: 328 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 1.02/1.02, allocations: 177.1 MB / 204.6 MB, free: 5.477 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 2.034/2.034, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] 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.664e-06/1.664e-06, allocations: 0 / 0.7751 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.917e-05/2.083e-05, allocations: 3.406 kB / 0.7751 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002684/0.002705, allocations: 1.607 MB / 0.7767 GB, free: 3.812 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.004093, allocations: 0.551 MB / 0.7772 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.29e-05/0.004156, allocations: 0.6562 kB / 0.7772 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.004261, allocations: 8.641 kB / 0.7773 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.004396, allocations: 29.38 kB / 0.7773 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000764/0.00516, allocations: 319.9 kB / 0.7776 GB, free: 2.926 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0004999/0.00566, allocations: 492.6 kB / 0.7781 GB, free: 2.453 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.942e-05/0.0057, allocations: 11.97 kB / 0.7781 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004484/0.006148, allocations: 351.6 kB / 0.7784 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.006416, allocations: 136.2 kB / 0.7785 GB, free: 1.969 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 6.58e-05/0.006482, allocations: 28 kB / 0.7786 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.412e-05/0.006536, allocations: 30.75 kB / 0.7786 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.006654, allocations: 119.7 kB / 0.7787 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.006789, allocations: 127.7 kB / 0.7788 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006039/0.007393, allocations: 378.8 kB / 0.7792 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.007395, allocations: 0 / 0.7792 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.91e-07/0.007396, allocations: 0 / 0.7792 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.0074, allocations: 0 / 0.7792 GB, free: 1.301 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.000935/0.008335, allocations: 0.7415 MB / 0.7799 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.008369, allocations: 9.344 kB / 0.7799 GB, free: 500 kB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.00847, allocations: 52.81 kB / 0.78 GB, free: 448 kB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.008741, allocations: 232 kB / 0.7802 GB, free: 196 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001305/0.008872, allocations: 20.36 kB / 0.7802 GB, free: 176 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.293e-05/0.008935, allocations: 34.11 kB / 0.7802 GB, free: 144 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.009342, allocations: 178.1 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.00935, allocations: 192 / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.051e-05/0.009371, allocations: 4.312 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.009377, allocations: 1.031 kB / 0.7804 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.009485, allocations: 44.42 kB / 0.7805 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002059/0.009691, allocations: 117.4 kB / 0.7806 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.009888, allocations: 99.02 kB / 0.7807 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.00999, allocations: 48.84 kB / 0.7807 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.01, allocations: 0.875 kB / 0.7807 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.01022, allocations: 156.5 kB / 0.7809 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.393e-06/0.01022, allocations: 0 / 0.7809 GB, free: 15.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.0004317/0.01065, allocations: 210.4 kB / 0.7811 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.01069, allocations: 60.06 kB / 0.7811 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.01094, allocations: 331.3 kB / 0.7814 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/0.01098, allocations: 42.34 kB / 0.7815 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.01103, allocations: 89.45 kB / 0.7816 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.01107, allocations: 40.34 kB / 0.7816 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001508/0.01122, allocations: 111.3 kB / 0.7817 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002162/0.01144, allocations: 330.8 kB / 0.782 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002087/0.01165, allocations: 167.2 kB / 0.7822 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.01186, allocations: 205.2 kB / 0.7824 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.0121, allocations: 250.4 kB / 0.7826 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.0121, allocations: 0 / 0.7826 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004813/0.01258, allocations: 439.6 kB / 0.783 GB, free: 13.12 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.872e-05/0.01265, allocations: 83.38 kB / 0.7831 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01266, allocations: 5.438 kB / 0.7831 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.01267, allocations: 4 kB / 0.7831 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.01282, allocations: 35.91 kB / 0.7832 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.01282, allocations: 4 kB / 0.7832 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.01305, allocations: 48.89 kB / 0.7832 GB, free: 12.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/0.01312, allocations: 52.67 kB / 0.7833 GB, free: 12.89 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.0001301/0.01325, allocations: 146.3 kB / 0.7834 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.245e-05/0.01331, allocations: 31.97 kB / 0.7834 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.922e-05/0.01335, allocations: 31.67 kB / 0.7835 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.01336, allocations: 4 kB / 0.7835 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.01336, allocations: 0 / 0.7835 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.01336, allocations: 0.5938 kB / 0.7835 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005452/0.01391, allocations: 377 kB / 0.7838 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01391, allocations: 0 / 0.7838 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.7e-05/0.01394, allocations: 8 kB / 0.7838 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01394, allocations: 0 / 0.7838 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.813e-05/0.01397, allocations: 17.84 kB / 0.7839 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.01397, allocations: 7.984 kB / 0.7839 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01397, allocations: 0 / 0.7839 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.01427, allocations: 251.1 kB / 0.7841 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001905/0.01446, allocations: 111.6 kB / 0.7842 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.01452, allocations: 13.09 kB / 0.7842 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000244/0.01477, allocations: 35.47 kB / 0.7843 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.527e-05/0.01479, allocations: 11.92 kB / 0.7843 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.777e-05/0.01485, allocations: 49.12 kB / 0.7843 GB, free: 11.79 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001432/0.01499, allocations: 136.7 kB / 0.7844 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01499, allocations: 3.938 kB / 0.7844 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002973/0.01529, allocations: 68.67 kB / 0.7845 GB, free: 11.58 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.0001115/0.0154, allocations: 99.05 kB / 0.7846 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000532/0.01594, allocations: 409.4 kB / 0.785 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.01594, allocations: 5.281 kB / 0.785 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.01606, allocations: 57.47 kB / 0.7851 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.01633, allocations: 42.52 kB / 0.7851 GB, free: 10.95 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.01733, allocations: 467.4 kB / 0.7855 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.867e-05/0.01739, allocations: 87.8 kB / 0.7856 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.574e-05/0.01743, allocations: 9.156 kB / 0.7856 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.01763, allocations: 123 kB / 0.7858 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/0.01763, allocations: 0 / 0.7858 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.006387/0.02402, allocations: 5.399 MB / 0.791 GB, free: 4.824 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1156645538285375]