Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001501/0.001501, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001597/0.001597, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9676/0.9676, allocations: 143.3 MB / 434.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003124/0.0003124, allocations: 12 kB / 0.5158 GB, free: 11.37 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1556/0.1559, allocations: 83.41 MB / 0.5973 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001546/0.1575, allocations: 1.174 MB / 0.5984 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.1584, allocations: 399.1 kB / 0.5988 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.1584, allocations: 3.938 kB / 0.5988 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.711e-05/0.1585, allocations: 4 kB / 0.5988 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1586, allocations: 27.89 kB / 0.5988 GB, free: 6.293 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007151/0.1593, allocations: 207.6 kB / 0.599 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.1596, allocations: 155.8 kB / 0.5992 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.1597, allocations: 4 kB / 0.5992 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000297/0.16, allocations: 171.6 kB / 0.5993 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002493/0.1602, allocations: 131.7 kB / 0.5995 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.224e-05/0.1603, allocations: 12 kB / 0.5995 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.581e-05/0.1603, allocations: 12 kB / 0.5995 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001091/0.1605, allocations: 79.78 kB / 0.5996 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.016e-05/0.1606, allocations: 69.58 kB / 0.5996 GB, free: 5.461 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002283/0.1608, allocations: 219.8 kB / 0.5998 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1608, allocations: 0 / 0.5998 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1608, allocations: 0 / 0.5998 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.1608, allocations: 0 / 0.5998 GB, free: 5.246 MB / 0.4981 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.0009715/0.1618, allocations: 0.6604 MB / 0.6005 GB, free: 4.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.1618, allocations: 8.031 kB / 0.6005 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.1619, allocations: 35.67 kB / 0.6005 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003531/0.1623, allocations: 258.4 kB / 0.6008 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.251e-05/0.1624, allocations: 15.98 kB / 0.6008 GB, free: 4.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.281e-05/0.1624, allocations: 16 kB / 0.6008 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009568/0.1634, allocations: 208.8 kB / 0.601 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.1634, allocations: 4 kB / 0.601 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.1634, allocations: 11.98 kB / 0.601 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1635, allocations: 0 / 0.601 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007649/0.1642, allocations: 107.9 kB / 0.6011 GB, free: 3.809 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.1646, allocations: 313.3 kB / 0.6014 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.1656, allocations: 198.4 kB / 0.6016 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.1657, allocations: 4 kB / 0.6016 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000909/0.1666, allocations: 223.1 kB / 0.6018 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.1666, allocations: 0 / 0.6018 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.002513/0.1691, allocations: 477 kB / 0.6023 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.1692, allocations: 63.41 kB / 0.6023 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.1695, allocations: 290.9 kB / 0.6026 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.1695, allocations: 37.7 kB / 0.6027 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.1696, allocations: 97.05 kB / 0.6028 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.615e-05/0.1697, allocations: 39.53 kB / 0.6028 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.464e-05/0.1697, allocations: 4 kB / 0.6028 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.1698, allocations: 330.8 kB / 0.6031 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001929/0.17, allocations: 79.94 kB / 0.6032 GB, free: 1.578 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002104/0.1702, allocations: 134.4 kB / 0.6033 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000227/0.1705, allocations: 153.8 kB / 0.6035 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.1705, allocations: 0 / 0.6035 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006408/0.1711, allocations: 392.6 kB / 0.6038 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.129e-05/0.1712, allocations: 79.56 kB / 0.6039 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1712, allocations: 11.98 kB / 0.6039 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.1712, allocations: 4 kB / 0.6039 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001649/0.1714, allocations: 19.92 kB / 0.6039 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.1714, allocations: 4 kB / 0.6039 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004896/0.1719, allocations: 63.86 kB / 0.604 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.216e-05/0.172, allocations: 43.98 kB / 0.604 GB, free: 0.6328 MB / 0.4981 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 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001908/0.1722, allocations: 173.7 kB / 0.6042 GB, free: 464 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.1722, allocations: 31.58 kB / 0.6042 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.019e-05/0.1723, allocations: 30.3 kB / 0.6043 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1723, allocations: 0 / 0.6043 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1723, allocations: 0 / 0.6043 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1723, allocations: 0 / 0.6043 GB, free: 404 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2759/0.4483, allocations: 0.7057 MB / 0.605 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.4483, allocations: 0 / 0.605 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.4484, allocations: 10.05 kB / 0.605 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.4484, allocations: 3.969 kB / 0.605 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.4484, allocations: 16.25 kB / 0.605 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4484, allocations: 2.781 kB / 0.605 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4484, allocations: 0.5625 kB / 0.605 GB, free: 41.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.45, allocations: 462.4 kB / 0.6054 GB, free: 40.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.4502, allocations: 164.2 kB / 0.6056 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.4503, allocations: 13.31 kB / 0.6056 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/0.4508, allocations: 42.83 kB / 0.6056 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.275e-05/0.4508, allocations: 10.42 kB / 0.6057 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.4509, allocations: 43.16 kB / 0.6057 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001569/0.451, allocations: 211.8 kB / 0.6059 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.451, allocations: 0 / 0.6059 GB, free: 40.72 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000375/0.4514, allocations: 46.62 kB / 0.6059 GB, free: 40.72 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000141/0.4516, allocations: 113.8 kB / 0.6061 GB, free: 40.63 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.4527, allocations: 391.5 kB / 0.6064 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4527, allocations: 3.062 kB / 0.6064 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007091/0.4534, allocations: 128.3 kB / 0.6066 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.4537, allocations: 19.7 kB / 0.6066 GB, free: 40.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.4549, allocations: 0.4926 MB / 0.6071 GB, free: 40.26 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001597/0.455, allocations: 0.7518 MB / 0.6078 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.685e-05/0.4551, allocations: 10.78 kB / 0.6078 GB, free: 39.56 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.679e-05/0.4551, allocations: 16.84 kB / 0.6078 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of SimCode: time 3.61e-07/0.4552, allocations: 0 / 0.6078 GB, free: 39.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.005921/0.4611, allocations: 3.528 MB / 0.6113 GB, free: 39.25 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) Environment - environmentSimulation: