Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 110.9 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001421/0.001421, allocations: 190.3 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7566/0.7566, allocations: 115.3 MB / 406.5 MB, free: 6.254 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 60.75 kB / 0.5576 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1644/0.1656, allocations: 76.19 MB / 0.632 GB, free: 4.438 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002575/0.1682, allocations: 1.487 MB / 0.6335 GB, free: 2.938 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1696, allocations: 0.5538 MB / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.034e-05/0.1697, allocations: 0 / 0.634 GB, free: 2.383 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.1698, allocations: 7.875 kB / 0.634 GB, free: 2.375 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.1699, allocations: 23.86 kB / 0.6341 GB, free: 2.352 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007938/0.1707, allocations: 312 kB / 0.6344 GB, free: 2.051 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005164/0.1713, allocations: 0.5072 MB / 0.6349 GB, free: 1.543 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.034e-05/0.1713, allocations: 12 kB / 0.6349 GB, free: 1.531 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003676/0.1717, allocations: 275.6 kB / 0.6351 GB, free: 1.262 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002658/0.172, allocations: 139.5 kB / 0.6353 GB, free: 1.125 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.383e-05/0.1721, allocations: 28 kB / 0.6353 GB, free: 1.098 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.134e-05/0.1721, allocations: 31.94 kB / 0.6353 GB, free: 1.066 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.1723, allocations: 119.6 kB / 0.6354 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.1725, allocations: 187.1 kB / 0.6356 GB, free: 0.7656 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004532/0.173, allocations: 418.7 kB / 0.636 GB, free: 364 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.173, allocations: 0 / 0.636 GB, free: 364 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.173, allocations: 4 kB / 0.636 GB, free: 360 kB / 478.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.173, allocations: 0 / 0.636 GB, free: 360 kB / 478.1 MB 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.001245/0.1743, allocations: 0.8664 MB / 0.6369 GB, free: 15.39 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.1743, allocations: 8.031 kB / 0.6369 GB, free: 15.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001275/0.1744, allocations: 52.47 kB / 0.6369 GB, free: 15.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.1748, allocations: 314.3 kB / 0.6372 GB, free: 14.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.972e-05/0.1749, allocations: 20.36 kB / 0.6372 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-05/0.175, allocations: 24.38 kB / 0.6373 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.176, allocations: 217.9 kB / 0.6375 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.176, allocations: 192 / 0.6375 GB, free: 14.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.1761, allocations: 7.938 kB / 0.6375 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.1761, allocations: 4 kB / 0.6375 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007958/0.1769, allocations: 95.92 kB / 0.6376 GB, free: 14.62 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.1774, allocations: 389.2 kB / 0.638 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.1785, allocations: 174.5 kB / 0.6381 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007948/0.1793, allocations: 108.8 kB / 0.6382 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.1793, allocations: 8.312 kB / 0.6382 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.1803, allocations: 223.1 kB / 0.6384 GB, free: 13.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 1.663e-06/0.1803, allocations: 0 / 0.6384 GB, free: 13.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002698/0.183, allocations: 487.2 kB / 0.6389 GB, free: 13.18 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.1831, allocations: 67.33 kB / 0.639 GB, free: 13.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.1835, allocations: 409.9 kB / 0.6394 GB, free: 12.69 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.1836, allocations: 41.69 kB / 0.6394 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.1837, allocations: 93.44 kB / 0.6395 GB, free: 12.55 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.1837, allocations: 39.45 kB / 0.6395 GB, free: 12.51 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.1839, allocations: 137.1 kB / 0.6397 GB, free: 12.37 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1841, allocations: 326.8 kB / 0.64 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002671/0.1843, allocations: 115.9 kB / 0.6401 GB, free: 11.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.1846, allocations: 177.9 kB / 0.6402 GB, free: 11.73 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003669/0.185, allocations: 275.1 kB / 0.6405 GB, free: 11.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.185, allocations: 0 / 0.6405 GB, free: 11.43 MB / 494.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007994/0.1858, allocations: 497.4 kB / 0.641 GB, free: 10.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.079e-05/0.1859, allocations: 91.5 kB / 0.6411 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1859, allocations: 7.984 kB / 0.6411 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.186, allocations: 4 kB / 0.6411 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.1861, allocations: 23.92 kB / 0.6411 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1862, allocations: 0 / 0.6411 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005055/0.1867, allocations: 55.86 kB / 0.6412 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.19e-05/0.1868, allocations: 59.97 kB / 0.6412 GB, free: 10.68 MB / 494.1 MB 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.0002445/0.187, allocations: 201.7 kB / 0.6414 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.812e-05/0.1871, allocations: 39.47 kB / 0.6414 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.883e-05/0.1872, allocations: 39.73 kB / 0.6415 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.1872, allocations: 0 / 0.6415 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.1872, allocations: 0 / 0.6415 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1872, allocations: 4 kB / 0.6415 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002379/0.1896, allocations: 0.752 MB / 0.6422 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.1896, allocations: 4 kB / 0.6422 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.983e-05/0.1896, allocations: 7.984 kB / 0.6422 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1896, allocations: 0 / 0.6422 GB, free: 9.574 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.788e-05/0.1897, allocations: 19.98 kB / 0.6423 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1897, allocations: 4 kB / 0.6423 GB, free: 9.551 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.1897, allocations: 3.984 kB / 0.6423 GB, free: 9.547 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/0.1915, allocations: 477.9 kB / 0.6427 GB, free: 9.066 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002337/0.1918, allocations: 196.5 kB / 0.6429 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.1919, allocations: 15.98 kB / 0.6429 GB, free: 8.84 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.1924, allocations: 35.91 kB / 0.643 GB, free: 8.805 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.1924, allocations: 7.984 kB / 0.643 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.1925, allocations: 63.97 kB / 0.643 GB, free: 8.734 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002988/0.1928, allocations: 291.1 kB / 0.6433 GB, free: 8.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1928, allocations: 0 / 0.6433 GB, free: 8.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003846/0.1932, allocations: 64 kB / 0.6434 GB, free: 8.387 MB / 494.1 MB 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.0001674/0.1934, allocations: 120.9 kB / 0.6435 GB, free: 8.254 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001338/0.1947, allocations: 442.5 kB / 0.6439 GB, free: 7.797 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.1947, allocations: 0 / 0.6439 GB, free: 7.797 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008124/0.1956, allocations: 116.3 kB / 0.644 GB, free: 7.684 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.196, allocations: 38.92 kB / 0.644 GB, free: 7.648 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001785/0.1978, allocations: 0.5458 MB / 0.6446 GB, free: 7.074 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004619/0.1983, allocations: 0.7706 MB / 0.6453 GB, free: 6.277 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.526e-05/0.1984, allocations: 21.06 kB / 0.6454 GB, free: 6.254 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.1984, allocations: 19.42 kB / 0.6454 GB, free: 6.234 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1984, allocations: 0 / 0.6454 GB, free: 6.234 MB / 494.1 MB Notification: Performance of Templates: time 0.009556/0.208, allocations: 4.992 MB / 0.6502 GB, free: 1.145 MB / 494.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)