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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.0009016/0.0009018, allocations: 172.7 kB / 16.76 MB, free: 5.059 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4481/0.4481, allocations: 86.27 MB / 103.8 MB, free: 14.57 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.413/1.413, allocations: 223.3 MB / 348.4 MB, free: 5.023 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00078/0.0007801, allocations: 94.64 kB / 420.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004181/0.0004182, allocations: 12 kB / 0.4901 GB, free: 8.027 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4022, allocations: 71.03 MB / 0.5594 GB, free: 43.71 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.5593, allocations: 102 MB / 0.6591 GB, free: 7.5 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.5597, allocations: 72.47 kB / 0.6591 GB, free: 7.43 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01348/0.5732, allocations: 4.487 MB / 0.6635 GB, free: 2.945 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5732, allocations: 0 / 0.6635 GB, free: 2.945 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.822e-05/0.5732, allocations: 4 kB / 0.6635 GB, free: 2.941 MB / 474.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.001109/0.5743, allocations: 0.6183 MB / 0.6641 GB, free: 2.246 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.5744, allocations: 15.97 kB / 0.6641 GB, free: 2.23 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001811/0.5746, allocations: 32.64 kB / 0.6642 GB, free: 2.199 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004419/0.575, allocations: 259.7 kB / 0.6644 GB, free: 1.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.5751, allocations: 8.375 kB / 0.6644 GB, free: 1.902 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.456e-05/0.5752, allocations: 16.38 kB / 0.6644 GB, free: 1.887 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.5755, allocations: 146.1 kB / 0.6646 GB, free: 1.738 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.5755, allocations: 192 / 0.6646 GB, free: 1.738 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.5755, allocations: 3.938 kB / 0.6646 GB, free: 1.734 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.5755, allocations: 4 kB / 0.6646 GB, free: 1.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.5757, allocations: 47.97 kB / 0.6646 GB, free: 1.684 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000438/0.5761, allocations: 333.2 kB / 0.6649 GB, free: 1.309 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002812/0.5764, allocations: 132.9 kB / 0.6651 GB, free: 1.172 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.5766, allocations: 56.83 kB / 0.6651 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.5766, allocations: 0 / 0.6651 GB, free: 1.113 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004775/0.5771, allocations: 222 kB / 0.6653 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of pre-optimization done (n=18): time 2.034e-06/0.5771, allocations: 0 / 0.6653 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006046/0.5777, allocations: 273 kB / 0.6656 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.5778, allocations: 63.41 kB / 0.6657 GB, free: 0.5391 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.5781, allocations: 283 kB / 0.6659 GB, free: 252 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.482e-05/0.5782, allocations: 45.69 kB / 0.666 GB, free: 200 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.669e-05/0.5783, allocations: 89.08 kB / 0.6661 GB, free: 108 kB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.5783, allocations: 43.5 kB / 0.6661 GB, free: 64 kB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.92e-05/0.5784, allocations: 8 kB / 0.6661 GB, free: 56 kB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5785, allocations: 326.8 kB / 0.6664 GB, free: 15.73 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.5788, allocations: 100.2 kB / 0.6665 GB, free: 15.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.5792, allocations: 161 kB / 0.6667 GB, free: 15.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003783/0.5795, allocations: 241.2 kB / 0.6669 GB, free: 15.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.5796, allocations: 0 / 0.6669 GB, free: 15.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000813/0.5804, allocations: 430.9 kB / 0.6673 GB, free: 14.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.096e-05/0.5805, allocations: 76.78 kB / 0.6674 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.5805, allocations: 0 / 0.6674 GB, free: 14.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.5805, allocations: 4 kB / 0.6674 GB, free: 14.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.5807, allocations: 32.05 kB / 0.6674 GB, free: 14.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.5807, allocations: 8 kB / 0.6674 GB, free: 14.61 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.5811, allocations: 43.88 kB / 0.6675 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.28e-05/0.5812, allocations: 55.97 kB / 0.6675 GB, free: 14.52 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: 26 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$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 (28): * Single equations (assignments): 26 * 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.0002462/0.5814, allocations: 178 kB / 0.6677 GB, free: 14.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.472e-05/0.5815, allocations: 23.72 kB / 0.6677 GB, free: 14.31 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.124e-05/0.5816, allocations: 34.19 kB / 0.6677 GB, free: 14.28 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.5816, allocations: 15.92 kB / 0.6678 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5816, allocations: 0 / 0.6678 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.5816, allocations: 3.984 kB / 0.6678 GB, free: 14.26 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008629/0.5825, allocations: 0.5529 MB / 0.6683 GB, free: 13.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5825, allocations: 3.938 kB / 0.6683 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.872e-05/0.5826, allocations: 8 kB / 0.6683 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.5826, allocations: 0 / 0.6683 GB, free: 13.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.543e-05/0.5826, allocations: 23.97 kB / 0.6683 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.5827, allocations: 0 / 0.6683 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5827, allocations: 0 / 0.6683 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.5831, allocations: 321.4 kB / 0.6686 GB, free: 13.29 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001885/0.5833, allocations: 152.7 kB / 0.6688 GB, free: 13.12 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.995e-05/0.5833, allocations: 8 kB / 0.6688 GB, free: 13.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.5835, allocations: 15.98 kB / 0.6688 GB, free: 13.09 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.47e-05/0.5836, allocations: 15.98 kB / 0.6688 GB, free: 13.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.605e-05/0.5836, allocations: 35.97 kB / 0.6689 GB, free: 13.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001961/0.5838, allocations: 201.9 kB / 0.6691 GB, free: 12.85 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5839, allocations: 0 / 0.6691 GB, free: 12.85 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003388/0.5842, allocations: 56.36 kB / 0.6691 GB, free: 12.79 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: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * 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.0001641/0.5844, allocations: 120.9 kB / 0.6692 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006189/0.585, allocations: 354.5 kB / 0.6696 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.585, allocations: 4.375 kB / 0.6696 GB, free: 12.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001405/0.5852, allocations: 73.94 kB / 0.6696 GB, free: 12.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.5855, allocations: 24.81 kB / 0.6697 GB, free: 12.19 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007946/0.5863, allocations: 447.3 kB / 0.6701 GB, free: 11.73 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.5867, allocations: 0.7398 MB / 0.6708 GB, free: 10.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.5869, allocations: 41.08 kB / 0.6708 GB, free: 10.92 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.587, allocations: 35.42 kB / 0.6709 GB, free: 10.89 MB / 490.7 MB Notification: Performance of SimCode: time 3.41e-07/0.587, allocations: 0 / 0.6709 GB, free: 10.89 MB / 490.7 MB Notification: Performance of Templates: time 0.008907/0.5959, allocations: 4.371 MB / 0.6752 GB, free: 6.516 MB / 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)