Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.001186/0.001186, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001241/0.001241, allocations: 194 kB / 22.85 MB, free: 5.652 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.345/1.345, allocations: 225.6 MB / 251.5 MB, free: 13.04 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.002441/0.002441, allocations: 298.5 kB / 307.1 MB, free: 8.348 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.168/1.168, allocations: 180.8 MB / 0.5304 GB, free: 14.55 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.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002658/0.002658, allocations: 100.8 kB / 0.7311 GB, free: 38.91 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1694, allocations: 94.2 MB / 0.8231 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002617/0.172, allocations: 1.525 MB / 0.8245 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.1732, allocations: 0.5611 MB / 0.8251 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.522e-05/0.1733, allocations: 0 / 0.8251 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.03e-05/0.1734, allocations: 3.938 kB / 0.8251 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.000111/0.1735, allocations: 31.78 kB / 0.8251 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.000746/0.1742, allocations: 306.2 kB / 0.8254 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005149/0.1748, allocations: 499.4 kB / 0.8259 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.1748, allocations: 3.984 kB / 0.8259 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000361/0.1752, allocations: 279.6 kB / 0.8262 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.1754, allocations: 151.6 kB / 0.8263 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.223e-05/0.1755, allocations: 31.94 kB / 0.8263 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.119e-05/0.1756, allocations: 28 kB / 0.8264 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.1757, allocations: 119.6 kB / 0.8265 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001783/0.1759, allocations: 187.1 kB / 0.8267 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000435/0.1763, allocations: 418.4 kB / 0.8271 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1763, allocations: 4 kB / 0.8271 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1763, allocations: 0 / 0.8271 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.1763, allocations: 0 / 0.8271 GB, free: 13.69 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.001197/0.1775, allocations: 0.8066 MB / 0.8278 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.1776, allocations: 8.031 kB / 0.8279 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.1777, allocations: 52.7 kB / 0.8279 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000366/0.178, allocations: 264.6 kB / 0.8282 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.1781, allocations: 16.36 kB / 0.8282 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.061e-05/0.1782, allocations: 28.38 kB / 0.8282 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000889/0.179, allocations: 220.6 kB / 0.8284 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1791, allocations: 192 / 0.8284 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.621e-05/0.1791, allocations: 3.938 kB / 0.8284 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.1791, allocations: 4 kB / 0.8284 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006857/0.1798, allocations: 103.9 kB / 0.8285 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.1802, allocations: 352.4 kB / 0.8289 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00093/0.1811, allocations: 166.4 kB / 0.829 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000658/0.1818, allocations: 108.8 kB / 0.8291 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.1818, allocations: 0 / 0.8291 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008957/0.1827, allocations: 223.2 kB / 0.8293 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.1827, allocations: 0 / 0.8293 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002319/0.185, allocations: 493 kB / 0.8298 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.652e-05/0.1851, allocations: 59.39 kB / 0.8299 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.1855, allocations: 413.9 kB / 0.8303 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.145e-05/0.1855, allocations: 41.69 kB / 0.8303 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.635e-05/0.1856, allocations: 97.42 kB / 0.8304 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.9e-05/0.1857, allocations: 43.64 kB / 0.8304 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001838/0.1858, allocations: 121.5 kB / 0.8305 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.186, allocations: 326.8 kB / 0.8309 GB, free: 9.586 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.1862, allocations: 115.9 kB / 0.831 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002808/0.1865, allocations: 178.4 kB / 0.8311 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003515/0.1868, allocations: 275 kB / 0.8314 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1868, allocations: 4 kB / 0.8314 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007724/0.1876, allocations: 488.7 kB / 0.8319 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.706e-05/0.1877, allocations: 95.5 kB / 0.832 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.1877, allocations: 7.984 kB / 0.832 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.1877, allocations: 0 / 0.832 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.1879, allocations: 27.86 kB / 0.832 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.1879, allocations: 4 kB / 0.832 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004322/0.1883, allocations: 55.84 kB / 0.832 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.139e-05/0.1884, allocations: 63.97 kB / 0.8321 GB, free: 8.215 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 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.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.0002037/0.1886, allocations: 196.4 kB / 0.8323 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.1887, allocations: 43.66 kB / 0.8323 GB, free: 7.973 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.416e-05/0.1887, allocations: 43.67 kB / 0.8324 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.1887, allocations: 4 kB / 0.8324 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1887, allocations: 0 / 0.8324 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.1888, allocations: 0 / 0.8324 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.1907, allocations: 0.7278 MB / 0.8331 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.1907, allocations: 0 / 0.8331 GB, free: 7.145 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.812e-05/0.1908, allocations: 11.98 kB / 0.8331 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1908, allocations: 0 / 0.8331 GB, free: 7.133 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.1908, allocations: 15.98 kB / 0.8331 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.467e-06/0.1908, allocations: 4 kB / 0.8331 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1908, allocations: 4 kB / 0.8331 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.1924, allocations: 490.9 kB / 0.8336 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002389/0.1926, allocations: 129.6 kB / 0.8337 GB, free: 6.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.334e-05/0.1927, allocations: 16 kB / 0.8337 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004202/0.1931, allocations: 31.95 kB / 0.8338 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.1931, allocations: 7.984 kB / 0.8338 GB, free: 6.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.681e-05/0.1932, allocations: 59.98 kB / 0.8338 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002887/0.1935, allocations: 295.1 kB / 0.8341 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1935, allocations: 0 / 0.8341 GB, free: 6.086 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003306/0.1938, allocations: 63.98 kB / 0.8342 GB, free: 6.023 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 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.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.0001356/0.1939, allocations: 122.8 kB / 0.8343 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001137/0.1951, allocations: 402.4 kB / 0.8347 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1951, allocations: 0 / 0.8347 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006813/0.1958, allocations: 124.2 kB / 0.8348 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1961, allocations: 25.58 kB / 0.8348 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.1974, allocations: 0.5474 MB / 0.8354 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.1978, allocations: 0.7669 MB / 0.8361 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.802e-05/0.1979, allocations: 21.06 kB / 0.8361 GB, free: 3.949 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.131e-05/0.1979, allocations: 15.44 kB / 0.8361 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1979, allocations: 0 / 0.8361 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of Templates: time 0.009188/0.2071, allocations: 5.04 MB / 0.8411 GB, free: 14.8 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.78822923500411] Failed to read output from testmodel.py, exit status != 0: 0.21511438700690633 0.22881818199999995 0.049760172000000005 Calling exit ...