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.002555/0.002555, allocations: 359.9 kB / 16.59 MB, free: 5.562 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.503/1.503, allocations: 165.8 MB / 183.1 MB, free: 5.398 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.724/3.724, allocations: 410.8 MB / 0.6001 GB, free: 15.09 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.001784/0.001784, allocations: 202.7 kB / 0.6668 GB, free: 6.918 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004652, allocations: 12 kB / 0.7429 GB, free: 8.957 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3952/0.3957, allocations: 67.44 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.001581/0.3974, allocations: 1.176 MB / 0.8099 GB, free: 27.61 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009621/0.3984, allocations: 379.4 kB / 0.8102 GB, free: 27.24 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.586e-05/0.3984, allocations: 0 / 0.8102 GB, free: 27.24 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 3.437e-05/0.3985, allocations: 7.938 kB / 0.8103 GB, free: 27.23 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.3986, allocations: 19.84 kB / 0.8103 GB, free: 27.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007424/0.3994, allocations: 211.6 kB / 0.8105 GB, free: 27 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002759/0.3997, allocations: 235.5 kB / 0.8107 GB, free: 26.77 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.373e-05/0.3997, allocations: 8 kB / 0.8107 GB, free: 26.77 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.4, allocations: 163.6 kB / 0.8109 GB, free: 26.61 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002447/0.4003, allocations: 131.7 kB / 0.811 GB, free: 26.48 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.197e-05/0.4004, allocations: 8 kB / 0.811 GB, free: 26.47 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.264e-05/0.4005, allocations: 12 kB / 0.811 GB, free: 26.46 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.4006, allocations: 83.78 kB / 0.8111 GB, free: 26.38 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.221e-05/0.4007, allocations: 65.58 kB / 0.8112 GB, free: 26.3 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.4009, allocations: 205.6 kB / 0.8113 GB, free: 26.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.4009, allocations: 0 / 0.8113 GB, free: 26.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.401, allocations: 4 kB / 0.8114 GB, free: 26.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.401, allocations: 0 / 0.8114 GB, free: 26.1 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.00128/0.4023, allocations: 0.618 MB / 0.812 GB, free: 25.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.4023, allocations: 8.031 kB / 0.812 GB, free: 25.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.4025, allocations: 31.7 kB / 0.812 GB, free: 25.37 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003848/0.4029, allocations: 246.5 kB / 0.8122 GB, free: 25.09 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.445e-05/0.4029, allocations: 19.97 kB / 0.8122 GB, free: 25.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.39e-05/0.403, allocations: 20 kB / 0.8123 GB, free: 25.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.4035, allocations: 151.3 kB / 0.8124 GB, free: 24.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4035, allocations: 0 / 0.8124 GB, free: 24.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.165e-05/0.4035, allocations: 7.984 kB / 0.8124 GB, free: 24.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.4036, allocations: 0 / 0.8124 GB, free: 24.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002211/0.4038, allocations: 55.92 kB / 0.8125 GB, free: 24.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003658/0.4042, allocations: 301.4 kB / 0.8128 GB, free: 24.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.4046, allocations: 126.7 kB / 0.8129 GB, free: 24.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.4048, allocations: 56.83 kB / 0.8129 GB, free: 24.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.4048, allocations: 4 kB / 0.8129 GB, free: 24.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005877/0.4054, allocations: 224 kB / 0.8132 GB, free: 24.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/0.4055, allocations: 0 / 0.8132 GB, free: 24.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007947/0.4063, allocations: 273.1 kB / 0.8134 GB, free: 23.79 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/0.4063, allocations: 67.34 kB / 0.8135 GB, free: 23.71 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003172/0.4066, allocations: 294.9 kB / 0.8138 GB, free: 23.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.214e-05/0.4067, allocations: 33.7 kB / 0.8138 GB, free: 23.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.4068, allocations: 89.14 kB / 0.8139 GB, free: 23.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.612e-05/0.4069, allocations: 47.44 kB / 0.8139 GB, free: 23.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.603e-05/0.4069, allocations: 11.98 kB / 0.8139 GB, free: 23.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.407, allocations: 326.8 kB / 0.8142 GB, free: 22.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003225/0.4073, allocations: 96.17 kB / 0.8143 GB, free: 22.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003409/0.4077, allocations: 138.4 kB / 0.8145 GB, free: 22.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.408, allocations: 153.6 kB / 0.8146 GB, free: 22.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.408, allocations: 0 / 0.8146 GB, free: 22.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009796/0.409, allocations: 415.1 kB / 0.815 GB, free: 22.06 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.915e-05/0.4091, allocations: 86.59 kB / 0.8151 GB, free: 21.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4091, allocations: 4 kB / 0.8151 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4091, allocations: 3.953 kB / 0.8151 GB, free: 21.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.4094, allocations: 27.92 kB / 0.8151 GB, free: 21.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.4094, allocations: 0 / 0.8151 GB, free: 21.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008641/0.4103, allocations: 75.98 kB / 0.8152 GB, free: 21.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.4104, allocations: 59.97 kB / 0.8153 GB, free: 21.8 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.0002097/0.4106, allocations: 173.2 kB / 0.8154 GB, free: 21.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.4107, allocations: 27.62 kB / 0.8154 GB, free: 21.6 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.389e-05/0.4108, allocations: 34.25 kB / 0.8155 GB, free: 21.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.4108, allocations: 3.984 kB / 0.8155 GB, free: 21.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4108, allocations: 3.953 kB / 0.8155 GB, free: 21.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002035/0.411, allocations: 152.8 kB / 0.8156 GB, free: 21.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.851e-05/0.4111, allocations: 11.98 kB / 0.8156 GB, free: 21.38 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/0.4114, allocations: 15.97 kB / 0.8157 GB, free: 21.36 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.065e-05/0.4115, allocations: 19.97 kB / 0.8157 GB, free: 21.34 MB / 378.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006421/0.4121, allocations: 288.8 kB / 0.816 GB, free: 21.05 MB / 378.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005901/0.4127, allocations: 398.2 kB / 0.8163 GB, free: 20.64 MB / 378.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00019/0.4129, allocations: 67.95 kB / 0.8164 GB, free: 20.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002203/0.4132, allocations: 201.9 kB / 0.8166 GB, free: 20.38 MB / 378.7 MB Notification: Performance of Backend: time 6.71e-07/0.4132, allocations: 0 / 0.8166 GB, free: 20.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008864/0.4141, allocations: 384.4 kB / 0.817 GB, free: 19.98 MB / 378.7 MB Notification: Performance of SimCode: time 0.0009122/0.415, allocations: 0.8734 MB / 0.8178 GB, free: 19.05 MB / 378.7 MB Notification: Performance of Templates: time 0.009721/0.4248, allocations: 4.183 MB / 0.8219 GB, free: 14.89 MB / 378.7 MB