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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 179.6 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.456/0.456, allocations: 90.81 MB / 104.5 MB, free: 9.793 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.213/1.213, allocations: 221.3 MB / 348.3 MB, free: 456 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008457/0.0008458, allocations: 101.7 kB / 421.2 MB, free: 5.492 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.397e-05/2.399e-05, allocations: 0 / 0.4896 GB, free: 5.383 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3143, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1148/0.4292, allocations: 104.1 MB / 0.6619 GB, free: 192 kB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/0.4294, allocations: 74.58 kB / 0.662 GB, free: 120 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01335/0.4428, allocations: 4.594 MB / 0.6665 GB, free: 11.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.706e-06/0.4428, allocations: 0 / 0.6665 GB, free: 11.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.181e-05/0.4428, allocations: 7.938 kB / 0.6665 GB, free: 11.54 MB / 490.7 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.0007097/0.4435, allocations: 0.6212 MB / 0.6671 GB, free: 10.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.4436, allocations: 11.98 kB / 0.6671 GB, free: 10.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.025e-05/0.4437, allocations: 39.66 kB / 0.6671 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003033/0.444, allocations: 258.5 kB / 0.6674 GB, free: 10.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.96e-05/0.4441, allocations: 12 kB / 0.6674 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.594e-05/0.4441, allocations: 23.98 kB / 0.6674 GB, free: 10.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.4444, allocations: 145.5 kB / 0.6675 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4444, allocations: 4 kB / 0.6675 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.4445, allocations: 3.984 kB / 0.6676 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.4445, allocations: 0 / 0.6676 GB, free: 10.29 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.4446, allocations: 55.88 kB / 0.6676 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003395/0.4449, allocations: 333.4 kB / 0.6679 GB, free: 9.863 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.4452, allocations: 98.56 kB / 0.668 GB, free: 9.758 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.4453, allocations: 56.84 kB / 0.6681 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.4453, allocations: 8 kB / 0.6681 GB, free: 9.691 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002364/0.4455, allocations: 159.2 kB / 0.6682 GB, free: 9.523 MB / 490.7 MB Notification: Performance of pre-optimization done (n=16): time 1.653e-06/0.4456, allocations: 4 kB / 0.6682 GB, free: 9.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=16): time 0.0004904/0.4461, allocations: 258.7 kB / 0.6685 GB, free: 9.262 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.781e-05/0.4461, allocations: 59.39 kB / 0.6685 GB, free: 9.191 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.4464, allocations: 255.4 kB / 0.6688 GB, free: 8.938 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.863e-05/0.4464, allocations: 41.64 kB / 0.6688 GB, free: 8.891 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.316e-05/0.4465, allocations: 93.05 kB / 0.6689 GB, free: 8.793 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.291e-05/0.4465, allocations: 32.55 kB / 0.6689 GB, free: 8.762 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.4466, allocations: 8 kB / 0.6689 GB, free: 8.754 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.4467, allocations: 326.8 kB / 0.6693 GB, free: 8.426 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001846/0.4469, allocations: 91.98 kB / 0.6693 GB, free: 8.336 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002246/0.4471, allocations: 137.9 kB / 0.6695 GB, free: 8.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002182/0.4474, allocations: 154.4 kB / 0.6696 GB, free: 8.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.4474, allocations: 0 / 0.6696 GB, free: 8.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006265/0.448, allocations: 392.6 kB / 0.67 GB, free: 7.617 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.966e-05/0.4481, allocations: 68.64 kB / 0.6701 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4481, allocations: 4 kB / 0.6701 GB, free: 7.535 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.4481, allocations: 6.531 kB / 0.6701 GB, free: 7.531 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.4483, allocations: 24.09 kB / 0.6701 GB, free: 7.508 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.846e-06/0.4483, allocations: 8 kB / 0.6701 GB, free: 7.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.4486, allocations: 43.81 kB / 0.6701 GB, free: 7.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/0.4487, allocations: 43.98 kB / 0.6702 GB, free: 7.414 MB / 490.7 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 ($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 () * 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.0001238/0.4488, allocations: 136 kB / 0.6703 GB, free: 7.277 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.4489, allocations: 23.72 kB / 0.6703 GB, free: 7.254 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.4489, allocations: 30.08 kB / 0.6704 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.4489, allocations: 4 kB / 0.6704 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.4489, allocations: 0 / 0.6704 GB, free: 7.219 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4489, allocations: 3.984 kB / 0.6704 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008543/0.4498, allocations: 0.5941 MB / 0.671 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.4498, allocations: 0 / 0.671 GB, free: 6.566 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.4499, allocations: 7.984 kB / 0.671 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4499, allocations: 0 / 0.671 GB, free: 6.559 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.148e-05/0.4499, allocations: 11.98 kB / 0.671 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.4499, allocations: 15.98 kB / 0.671 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.4499, allocations: 0 / 0.671 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.4504, allocations: 354.9 kB / 0.6713 GB, free: 6.168 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.4506, allocations: 160.7 kB / 0.6715 GB, free: 5.992 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.627e-05/0.4506, allocations: 8 kB / 0.6715 GB, free: 5.984 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003948/0.451, allocations: 39.97 kB / 0.6715 GB, free: 5.945 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.509e-05/0.4511, allocations: 7.984 kB / 0.6715 GB, free: 5.938 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.583e-05/0.4511, allocations: 43.97 kB / 0.6716 GB, free: 5.895 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001788/0.4513, allocations: 203.1 kB / 0.6718 GB, free: 5.695 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4513, allocations: 0 / 0.6718 GB, free: 5.695 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002973/0.4516, allocations: 55.98 kB / 0.6718 GB, free: 5.641 MB / 490.7 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) * 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.0001532/0.4518, allocations: 119.5 kB / 0.6719 GB, free: 5.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0004879/0.4523, allocations: 342.8 kB / 0.6723 GB, free: 5.16 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4523, allocations: 0 / 0.6723 GB, free: 5.16 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.4524, allocations: 70.31 kB / 0.6723 GB, free: 5.094 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.4526, allocations: 26.58 kB / 0.6724 GB, free: 5.07 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.4531, allocations: 272.2 kB / 0.6726 GB, free: 4.781 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.4534, allocations: 0.7516 MB / 0.6734 GB, free: 4.004 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.242e-05/0.4535, allocations: 8.766 kB / 0.6734 GB, free: 3.996 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.289e-05/0.4535, allocations: 15.44 kB / 0.6734 GB, free: 3.98 MB / 490.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4535, allocations: 0.6562 kB / 0.6734 GB, free: 3.98 MB / 490.7 MB Notification: Performance of Templates: time 0.006398/0.4599, allocations: 3.958 MB / 0.6772 GB, free: 52 kB / 490.7 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)