Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 109.8 kB / 19.58 MB, free: 2.336 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 193.5 kB / 22.85 MB, free: 5.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002474/0.002474, allocations: 285 kB / 307 MB, free: 8.363 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.191/1.191, allocations: 180.8 MB / 0.5304 GB, free: 14.43 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002845/0.002845, allocations: 98.92 kB / 0.731 GB, free: 38.94 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1692, allocations: 94.2 MB / 0.823 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.00265/0.1719, allocations: 1.529 MB / 0.8245 GB, free: 0.5312 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001239/0.1731, allocations: 0.5534 MB / 0.8251 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.994e-05/0.1732, allocations: 3.938 kB / 0.8251 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 7.831e-05/0.1732, allocations: 3.938 kB / 0.8251 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.828e-05/0.1733, allocations: 23.86 kB / 0.8251 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007334/0.1741, allocations: 316.6 kB / 0.8254 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005382/0.1746, allocations: 483.5 kB / 0.8259 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.767e-05/0.1747, allocations: 15.95 kB / 0.8259 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003875/0.175, allocations: 279.6 kB / 0.8261 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002875/0.1753, allocations: 147.7 kB / 0.8263 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.88e-05/0.1754, allocations: 31.94 kB / 0.8263 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.1755, allocations: 24 kB / 0.8263 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.1756, allocations: 119.6 kB / 0.8264 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001853/0.1758, allocations: 179.1 kB / 0.8266 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004452/0.1763, allocations: 426.4 kB / 0.827 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1763, allocations: 0 / 0.827 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1763, allocations: 4 kB / 0.827 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.1763, allocations: 0 / 0.827 GB, free: 13.97 MB / 0.5762 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.001287/0.1776, allocations: 0.8106 MB / 0.8278 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1776, allocations: 8.031 kB / 0.8278 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.1777, allocations: 52.7 kB / 0.8279 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000426/0.1781, allocations: 268.6 kB / 0.8281 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.248e-05/0.1782, allocations: 16.36 kB / 0.8282 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.452e-05/0.1782, allocations: 28.38 kB / 0.8282 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009555/0.1792, allocations: 218 kB / 0.8284 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1792, allocations: 192 / 0.8284 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.613e-05/0.1792, allocations: 3.938 kB / 0.8284 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.1792, allocations: 0 / 0.8284 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007148/0.18, allocations: 99.92 kB / 0.8285 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004436/0.1804, allocations: 356.3 kB / 0.8288 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009726/0.1814, allocations: 170.4 kB / 0.829 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006985/0.1821, allocations: 108.8 kB / 0.8291 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.1821, allocations: 0 / 0.8291 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009176/0.183, allocations: 215.2 kB / 0.8293 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.462e-06/0.183, allocations: 0 / 0.8293 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002424/0.1854, allocations: 496.5 kB / 0.8298 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.1855, allocations: 67.39 kB / 0.8298 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004455/0.1859, allocations: 413.9 kB / 0.8302 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.305e-05/0.186, allocations: 37.69 kB / 0.8303 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.815e-05/0.1861, allocations: 93.45 kB / 0.8304 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.412e-05/0.1861, allocations: 51.61 kB / 0.8304 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.1863, allocations: 125.5 kB / 0.8305 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.1865, allocations: 322.8 kB / 0.8308 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002873/0.1868, allocations: 115.9 kB / 0.8309 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.1871, allocations: 178.4 kB / 0.8311 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.1875, allocations: 275 kB / 0.8314 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.1875, allocations: 4 kB / 0.8314 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000858/0.1884, allocations: 496.7 kB / 0.8319 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.186e-05/0.1884, allocations: 87.31 kB / 0.8319 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.1885, allocations: 0 / 0.8319 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.1885, allocations: 4 kB / 0.8319 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.1886, allocations: 32.11 kB / 0.832 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.291e-06/0.1886, allocations: 3.938 kB / 0.832 GB, free: 8.602 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.1891, allocations: 59.84 kB / 0.832 GB, free: 8.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-05/0.1892, allocations: 59.97 kB / 0.8321 GB, free: 8.484 MB / 0.5762 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.0002273/0.1894, allocations: 195 kB / 0.8323 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.309e-05/0.1895, allocations: 47.66 kB / 0.8323 GB, free: 8.238 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.682e-05/0.1896, allocations: 43.67 kB / 0.8324 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1896, allocations: 0 / 0.8324 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.1896, allocations: 7.984 kB / 0.8324 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1896, allocations: 3.938 kB / 0.8324 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.1918, allocations: 0.7278 MB / 0.8331 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.1918, allocations: 0 / 0.8331 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.584e-05/0.1918, allocations: 4 kB / 0.8331 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1918, allocations: 0 / 0.8331 GB, free: 7.398 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.1919, allocations: 19.97 kB / 0.8331 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1919, allocations: 0 / 0.8331 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1919, allocations: 0 / 0.8331 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.1936, allocations: 491.4 kB / 0.8336 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.1938, allocations: 129.6 kB / 0.8337 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.534e-05/0.1939, allocations: 8 kB / 0.8337 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004604/0.1944, allocations: 31.97 kB / 0.8337 GB, free: 6.715 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.555e-05/0.1944, allocations: 11.98 kB / 0.8337 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.15e-05/0.1945, allocations: 59.97 kB / 0.8338 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003166/0.1948, allocations: 291.1 kB / 0.8341 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1948, allocations: 0 / 0.8341 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003544/0.1952, allocations: 71.98 kB / 0.8341 GB, free: 6.289 MB / 0.5762 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.0001456/0.1953, allocations: 113 kB / 0.8343 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001249/0.1965, allocations: 417.9 kB / 0.8347 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1965, allocations: 0 / 0.8347 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007301/0.1973, allocations: 115.8 kB / 0.8348 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1976, allocations: 31.67 kB / 0.8348 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.1991, allocations: 0.5474 MB / 0.8353 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.1995, allocations: 0.7669 MB / 0.8361 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.538e-05/0.1995, allocations: 9.078 kB / 0.8361 GB, free: 4.227 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.103e-05/0.1996, allocations: 23.44 kB / 0.8361 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of SimCode: time 3.7e-07/0.1996, allocations: 0 / 0.8361 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of Templates: time 0.009487/0.2091, allocations: 5.13 MB / 0.8411 GB, free: 14.98 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.118662937078625] Failed to read output from testmodel.py, exit status != 0: 0.21671199006959796 0.231874129 0.052310766 Calling exit ...