Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Utilities.Time.Examples.CalendarTime.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004916/0.004916, allocations: 355 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.395/1.395, allocations: 165.8 MB / 182.5 MB, free: 5.359 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.61/3.61, allocations: 410.8 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001732/0.001732, allocations: 205.1 kB / 0.6662 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004507/0.0004509, allocations: 11.94 kB / 0.7423 GB, free: 8.984 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3462, allocations: 67.44 MB / 0.8081 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001374/0.3476, allocations: 1.176 MB / 0.8093 GB, free: 27.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001296/0.3489, allocations: 378.5 kB / 0.8097 GB, free: 27.26 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.983e-05/0.3491, allocations: 0 / 0.8097 GB, free: 27.26 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 4.299e-05/0.3491, allocations: 7.938 kB / 0.8097 GB, free: 27.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.3493, allocations: 23.84 kB / 0.8097 GB, free: 27.23 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.3504, allocations: 206.1 kB / 0.8099 GB, free: 27.03 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.3509, allocations: 235.5 kB / 0.8101 GB, free: 26.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.842e-05/0.351, allocations: 8 kB / 0.8101 GB, free: 26.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004511/0.3515, allocations: 171.6 kB / 0.8103 GB, free: 26.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003644/0.3519, allocations: 127.7 kB / 0.8104 GB, free: 26.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.352, allocations: 8 kB / 0.8104 GB, free: 26.49 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.3521, allocations: 16 kB / 0.8104 GB, free: 26.47 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001473/0.3523, allocations: 79.78 kB / 0.8105 GB, free: 26.39 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.3524, allocations: 65.58 kB / 0.8106 GB, free: 26.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003391/0.3528, allocations: 209.6 kB / 0.8108 GB, free: 26.12 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.229e-06/0.3528, allocations: 0 / 0.8108 GB, free: 26.12 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.358e-06/0.3528, allocations: 0 / 0.8108 GB, free: 26.12 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.915e-06/0.3528, allocations: 4 kB / 0.8108 GB, free: 26.12 MB / 378.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.001438/0.3543, allocations: 0.618 MB / 0.8114 GB, free: 25.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.3544, allocations: 8.031 kB / 0.8114 GB, free: 25.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001675/0.3546, allocations: 31.72 kB / 0.8114 GB, free: 25.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004472/0.355, allocations: 258.4 kB / 0.8116 GB, free: 25.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.669e-05/0.3551, allocations: 8 kB / 0.8117 GB, free: 25.09 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001217/0.3552, allocations: 23.94 kB / 0.8117 GB, free: 25.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005713/0.3558, allocations: 146.2 kB / 0.8118 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3559, allocations: 0 / 0.8118 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.636e-05/0.3559, allocations: 7.984 kB / 0.8118 GB, free: 24.91 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.554e-06/0.356, allocations: 8 kB / 0.8118 GB, free: 24.9 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.3563, allocations: 51.91 kB / 0.8119 GB, free: 24.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005427/0.3569, allocations: 305.4 kB / 0.8122 GB, free: 24.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005186/0.3574, allocations: 118.7 kB / 0.8123 GB, free: 24.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.3577, allocations: 57.7 kB / 0.8123 GB, free: 24.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.3577, allocations: 8 kB / 0.8124 GB, free: 24.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009299/0.3587, allocations: 219 kB / 0.8126 GB, free: 24.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 4.523e-06/0.3587, allocations: 0 / 0.8126 GB, free: 24.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.00135/0.3601, allocations: 277.1 kB / 0.8128 GB, free: 23.81 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.669e-05/0.3602, allocations: 67.33 kB / 0.8129 GB, free: 23.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006156/0.3608, allocations: 290.9 kB / 0.8132 GB, free: 23.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001097/0.361, allocations: 33.7 kB / 0.8132 GB, free: 23.4 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.3611, allocations: 97.12 kB / 0.8133 GB, free: 23.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.124e-05/0.3612, allocations: 43.44 kB / 0.8133 GB, free: 23.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.761e-05/0.3613, allocations: 8 kB / 0.8133 GB, free: 23.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.663e-05/0.3614, allocations: 326.8 kB / 0.8137 GB, free: 22.92 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004945/0.3619, allocations: 100.2 kB / 0.8137 GB, free: 22.82 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005714/0.3625, allocations: 134.4 kB / 0.8139 GB, free: 22.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.363, allocations: 161.8 kB / 0.814 GB, free: 22.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.179e-06/0.3631, allocations: 0 / 0.814 GB, free: 22.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009305/0.364, allocations: 411 kB / 0.8144 GB, free: 22.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.871e-05/0.3641, allocations: 75.38 kB / 0.8145 GB, free: 21.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.541e-06/0.3641, allocations: 4 kB / 0.8145 GB, free: 21.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3642, allocations: 3.953 kB / 0.8145 GB, free: 21.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.3644, allocations: 31.92 kB / 0.8145 GB, free: 21.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.693e-06/0.3644, allocations: 0 / 0.8145 GB, free: 21.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.365, allocations: 79.97 kB / 0.8146 GB, free: 21.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.715e-05/0.3651, allocations: 51.98 kB / 0.8147 GB, free: 21.82 MB / 378.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.000223/0.3654, allocations: 173.7 kB / 0.8148 GB, free: 21.65 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.384e-05/0.3654, allocations: 31.62 kB / 0.8149 GB, free: 21.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/0.3655, allocations: 26.25 kB / 0.8149 GB, free: 21.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.89e-06/0.3655, allocations: 11.94 kB / 0.8149 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.198e-06/0.3655, allocations: 0 / 0.8149 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.656e-06/0.3656, allocations: 3.984 kB / 0.8149 GB, free: 21.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008707/0.3664, allocations: 0.5565 MB / 0.8154 GB, free: 20.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.3665, allocations: 0 / 0.8154 GB, free: 20.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.908e-05/0.3665, allocations: 11.98 kB / 0.8154 GB, free: 20.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.358e-06/0.3666, allocations: 7.953 kB / 0.8155 GB, free: 20.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.211e-05/0.3666, allocations: 11.98 kB / 0.8155 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.088e-06/0.3666, allocations: 4 kB / 0.8155 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.41e-06/0.3666, allocations: 0 / 0.8155 GB, free: 20.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.3671, allocations: 315 kB / 0.8158 GB, free: 20.6 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.3673, allocations: 160.6 kB / 0.8159 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.097e-05/0.3674, allocations: 19.94 kB / 0.8159 GB, free: 20.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002838/0.3677, allocations: 15.98 kB / 0.816 GB, free: 20.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.352e-05/0.3678, allocations: 11.98 kB / 0.816 GB, free: 20.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.062e-05/0.3679, allocations: 35.97 kB / 0.816 GB, free: 20.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001982/0.3681, allocations: 201.9 kB / 0.8162 GB, free: 20.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.57e-07/0.3681, allocations: 0 / 0.8162 GB, free: 20.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004507/0.3685, allocations: 55.92 kB / 0.8162 GB, free: 20.09 MB / 378.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.0001321/0.3687, allocations: 113.2 kB / 0.8164 GB, free: 19.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006502/0.3694, allocations: 354.8 kB / 0.8167 GB, free: 19.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.288e-06/0.3694, allocations: 0 / 0.8167 GB, free: 19.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.3696, allocations: 75.89 kB / 0.8168 GB, free: 19.53 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004265/0.37, allocations: 20.88 kB / 0.8168 GB, free: 19.51 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007767/0.3708, allocations: 442.2 kB / 0.8172 GB, free: 19.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/0.371, allocations: 0.7523 MB / 0.8179 GB, free: 18.27 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002291/0.3713, allocations: 37.42 kB / 0.818 GB, free: 18.24 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000163/0.3714, allocations: 31.42 kB / 0.818 GB, free: 18.21 MB / 378.7 MB Notification: Performance of SimCode: time 1.678e-06/0.3715, allocations: 0 / 0.818 GB, free: 18.21 MB / 378.7 MB Notification: Performance of Templates: time 0.008869/0.3803, allocations: 3.934 MB / 0.8219 GB, free: 14.29 MB / 378.7 MB