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.001493/0.001493, allocations: 108.3 kB / 16.64 MB, free: 6.371 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.00202/0.00202, allocations: 189.3 kB / 17.56 MB, free: 5.797 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.383/1.383, allocations: 222.9 MB / 241.3 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7978/0.7977, allocations: 125.4 MB / 416.7 MB, free: 13.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.88 kB / 0.4943 GB, free: 4.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3432, allocations: 78.56 MB / 0.571 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002411/0.3457, allocations: 1.569 MB / 0.5725 GB, free: 30.32 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3468, allocations: 0.5384 MB / 0.5731 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.444e-05/0.3468, allocations: 1.312 kB / 0.5731 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.06e-05/0.3469, allocations: 7.359 kB / 0.5731 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.394e-05/0.347, allocations: 21.88 kB / 0.5731 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006563/0.3477, allocations: 287 kB / 0.5734 GB, free: 29.81 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004941/0.3482, allocations: 0.507 MB / 0.5739 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.394e-05/0.3483, allocations: 5.578 kB / 0.5739 GB, free: 29.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004026/0.3487, allocations: 338.9 kB / 0.5742 GB, free: 29.51 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.3489, allocations: 167.5 kB / 0.5743 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.187e-05/0.349, allocations: 26.75 kB / 0.5744 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.041e-05/0.3491, allocations: 29.19 kB / 0.5744 GB, free: 29.46 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.3492, allocations: 120.1 kB / 0.5745 GB, free: 29.42 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.3494, allocations: 199.8 kB / 0.5747 GB, free: 29.3 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003286/0.3498, allocations: 317.3 kB / 0.575 GB, free: 29.21 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3498, allocations: 0 / 0.575 GB, free: 29.21 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.3498, allocations: 4.5 kB / 0.575 GB, free: 29.21 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3498, allocations: 1.031 kB / 0.575 GB, free: 29.21 MB / 446.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.001058/0.3509, allocations: 0.8616 MB / 0.5758 GB, free: 28.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.3509, allocations: 13.25 kB / 0.5759 GB, free: 28.47 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001174/0.351, allocations: 51.97 kB / 0.5759 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002939/0.3513, allocations: 306.5 kB / 0.5762 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.822e-05/0.3514, allocations: 18.44 kB / 0.5762 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.776e-05/0.3515, allocations: 25.11 kB / 0.5762 GB, free: 28.18 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/0.3525, allocations: 214.7 kB / 0.5764 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3525, allocations: 192 / 0.5764 GB, free: 28.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.242e-05/0.3525, allocations: 10.66 kB / 0.5765 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3525, allocations: 1.375 kB / 0.5765 GB, free: 28.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007987/0.3533, allocations: 102 kB / 0.5766 GB, free: 28.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000459/0.3538, allocations: 401.1 kB / 0.5769 GB, free: 27.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.3549, allocations: 178.9 kB / 0.5771 GB, free: 27.77 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007311/0.3556, allocations: 112.9 kB / 0.5772 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.088e-05/0.3556, allocations: 2.125 kB / 0.5772 GB, free: 27.74 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009485/0.3566, allocations: 228 kB / 0.5774 GB, free: 27.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.3566, allocations: 0 / 0.5774 GB, free: 27.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002523/0.3591, allocations: 486.8 kB / 0.5779 GB, free: 27.55 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.3592, allocations: 64.56 kB / 0.578 GB, free: 27.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.3596, allocations: 410.7 kB / 0.5784 GB, free: 27.26 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.3596, allocations: 41.78 kB / 0.5784 GB, free: 27.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.3597, allocations: 95.84 kB / 0.5785 GB, free: 27.13 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.866e-05/0.3598, allocations: 39.08 kB / 0.5785 GB, free: 27.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000189/0.3599, allocations: 133.3 kB / 0.5787 GB, free: 27.03 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.701e-05/0.36, allocations: 321 kB / 0.579 GB, free: 26.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002357/0.3602, allocations: 117.8 kB / 0.5791 GB, free: 26.66 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002488/0.3605, allocations: 178.5 kB / 0.5792 GB, free: 26.54 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003063/0.3608, allocations: 271.4 kB / 0.5795 GB, free: 26.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3608, allocations: 1.062 kB / 0.5795 GB, free: 26.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007415/0.3616, allocations: 496.6 kB / 0.58 GB, free: 26.07 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.172e-05/0.3617, allocations: 91.88 kB / 0.5801 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.3617, allocations: 1.219 kB / 0.5801 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.3617, allocations: 2.594 kB / 0.5801 GB, free: 25.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.3619, allocations: 26.75 kB / 0.5801 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.3619, allocations: 6.531 kB / 0.5801 GB, free: 25.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004948/0.3624, allocations: 65.89 kB / 0.5802 GB, free: 25.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-05/0.3625, allocations: 61.64 kB / 0.5802 GB, free: 25.94 MB / 446.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.0001873/0.3627, allocations: 192.4 kB / 0.5804 GB, free: 25.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.3627, allocations: 44.25 kB / 0.5804 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.807e-05/0.3628, allocations: 42.81 kB / 0.5805 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3628, allocations: 2.094 kB / 0.5805 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3628, allocations: 0 / 0.5805 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.3628, allocations: 5.359 kB / 0.5805 GB, free: 25.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001995/0.3648, allocations: 0.7428 MB / 0.5812 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3648, allocations: 0 / 0.5812 GB, free: 25.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.3649, allocations: 7.781 kB / 0.5812 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.3649, allocations: 0 / 0.5812 GB, free: 25.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.255e-05/0.3649, allocations: 26.44 kB / 0.5812 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.3649, allocations: 0 / 0.5812 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3649, allocations: 0 / 0.5812 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001651/0.3666, allocations: 479 kB / 0.5817 GB, free: 24.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.3668, allocations: 200 kB / 0.5819 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.08e-05/0.3669, allocations: 8.781 kB / 0.5819 GB, free: 24.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004661/0.3673, allocations: 38.8 kB / 0.5819 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.092e-05/0.3674, allocations: 4.188 kB / 0.5819 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-05/0.3675, allocations: 61.84 kB / 0.582 GB, free: 24.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002552/0.3677, allocations: 298.3 kB / 0.5823 GB, free: 24.55 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3677, allocations: 0 / 0.5823 GB, free: 24.55 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003736/0.3681, allocations: 66.27 kB / 0.5824 GB, free: 24.54 MB / 446.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.0001315/0.3683, allocations: 118.2 kB / 0.5825 GB, free: 24.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001194/0.3695, allocations: 449.9 kB / 0.5829 GB, free: 24.17 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3695, allocations: 0.5938 kB / 0.5829 GB, free: 24.17 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007368/0.3702, allocations: 123.1 kB / 0.583 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003583/0.3706, allocations: 33.55 kB / 0.583 GB, free: 24.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.372, allocations: 0.7121 MB / 0.5837 GB, free: 23.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.3722, allocations: 0.7682 MB / 0.5845 GB, free: 22.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.3723, allocations: 18.64 kB / 0.5845 GB, free: 22.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3723, allocations: 0 / 0.5845 GB, free: 22.86 MB / 446.1 MB Notification: Performance of Templates: time 0.005498/0.3778, allocations: 3.716 MB / 0.5881 GB, free: 20.86 MB / 446.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)