Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.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 Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.4/2.4, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001575/0.001575, allocations: 175.5 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.725/2.725, allocations: 205.4 MB / 0.5766 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001558/0.001558, allocations: 94.36 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004676, allocations: 12.09 kB / 0.7951 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2035/0.204, allocations: 106.2 MB / 0.8989 GB, free: 65.98 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001775/0.2059, allocations: 1.19 MB / 0.9 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.2069, allocations: 397 kB / 0.9004 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.807e-05/0.207, allocations: 0 / 0.9004 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.295e-05/0.2071, allocations: 3.984 kB / 0.9004 GB, free: 64.38 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.2072, allocations: 23.91 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008017/0.208, allocations: 209.2 kB / 0.9006 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002469/0.2083, allocations: 151.8 kB / 0.9008 GB, free: 64.01 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.174e-05/0.2084, allocations: 16 kB / 0.9008 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.2087, allocations: 163.6 kB / 0.9009 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000247/0.2089, allocations: 123.7 kB / 0.9011 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.153e-05/0.209, allocations: 12 kB / 0.9011 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.007e-05/0.2091, allocations: 8 kB / 0.9011 GB, free: 63.69 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.2093, allocations: 75.78 kB / 0.9012 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.2093, allocations: 65.58 kB / 0.9012 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.2096, allocations: 203.6 kB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.2096, allocations: 0 / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.166e-06/0.2097, allocations: 0 / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.51e-06/0.2097, allocations: 3.938 kB / 0.9014 GB, free: 63.34 MB / 0.6042 GB 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.211, allocations: 0.6103 MB / 0.902 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.211, allocations: 12.03 kB / 0.902 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.2111, allocations: 35.58 kB / 0.9021 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.2115, allocations: 258.4 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/0.2116, allocations: 8 kB / 0.9023 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.2117, allocations: 20 kB / 0.9023 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003912/0.2121, allocations: 160.3 kB / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.2121, allocations: 0 / 0.9025 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.59e-05/0.2121, allocations: 4 kB / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.2121, allocations: 0 / 0.9025 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001921/0.2123, allocations: 43.97 kB / 0.9025 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.2127, allocations: 317.3 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.2131, allocations: 138.6 kB / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.2132, allocations: 0 / 0.903 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005928/0.2138, allocations: 214.4 kB / 0.9032 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/0.2138, allocations: 4 kB / 0.9032 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0008016/0.2146, allocations: 273 kB / 0.9034 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.2147, allocations: 55.41 kB / 0.9035 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.215, allocations: 287 kB / 0.9038 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.488e-05/0.2151, allocations: 41.7 kB / 0.9038 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.557e-05/0.2151, allocations: 89.12 kB / 0.9039 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.962e-05/0.2152, allocations: 51.38 kB / 0.9039 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.498e-05/0.2153, allocations: 8 kB / 0.9039 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.575e-05/0.2153, allocations: 330.8 kB / 0.9043 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003223/0.2157, allocations: 92.17 kB / 0.9043 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003483/0.216, allocations: 142.4 kB / 0.9045 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003217/0.2164, allocations: 157.9 kB / 0.9046 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2164, allocations: 0 / 0.9046 GB, free: 59.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001031/0.2174, allocations: 415.1 kB / 0.905 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.329e-05/0.2175, allocations: 73.58 kB / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.2175, allocations: 4 kB / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.2176, allocations: 0 / 0.9051 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002795/0.2179, allocations: 35.91 kB / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.2179, allocations: 4.188 kB / 0.9051 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009057/0.2188, allocations: 67.86 kB / 0.9052 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.942e-05/0.2189, allocations: 47.98 kB / 0.9052 GB, free: 59.12 MB / 0.6042 GB 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.0002533/0.2192, allocations: 185.6 kB / 0.9054 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.831e-05/0.2193, allocations: 23.72 kB / 0.9054 GB, free: 58.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.055e-05/0.2193, allocations: 30.25 kB / 0.9055 GB, free: 58.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.2194, allocations: 4 kB / 0.9055 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2194, allocations: 0 / 0.9055 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.2194, allocations: 0 / 0.9055 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001027/0.2204, allocations: 0.5606 MB / 0.906 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.2204, allocations: 7.938 kB / 0.906 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.242e-05/0.2205, allocations: 15.98 kB / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.2206, allocations: 0 / 0.906 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.2206, allocations: 11.98 kB / 0.9061 GB, free: 58.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.2206, allocations: 4 kB / 0.9061 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.2206, allocations: 0 / 0.9061 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005819/0.2212, allocations: 324.7 kB / 0.9064 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/0.2215, allocations: 148.8 kB / 0.9065 GB, free: 57.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.158e-05/0.2216, allocations: 11.98 kB / 0.9065 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.2219, allocations: 19.98 kB / 0.9065 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.222, allocations: 15.97 kB / 0.9066 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.874e-05/0.2221, allocations: 27.98 kB / 0.9066 GB, free: 57.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000235/0.2224, allocations: 205.9 kB / 0.9068 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2224, allocations: 0 / 0.9068 GB, free: 57.45 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004878/0.2229, allocations: 55.94 kB / 0.9068 GB, free: 57.39 MB / 0.6042 GB 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.0001518/0.223, allocations: 117.4 kB / 0.9069 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007486/0.2238, allocations: 350.7 kB / 0.9073 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2238, allocations: 0 / 0.9073 GB, free: 56.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002126/0.224, allocations: 67.91 kB / 0.9073 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.2244, allocations: 18.44 kB / 0.9074 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008688/0.2252, allocations: 451.2 kB / 0.9078 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.2255, allocations: 0.7505 MB / 0.9085 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002201/0.2257, allocations: 37.42 kB / 0.9086 GB, free: 55.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001867/0.2259, allocations: 39.42 kB / 0.9086 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of SimCode: time 9.31e-07/0.226, allocations: 0 / 0.9086 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of Templates: time 0.01017/0.2361, allocations: 3.935 MB / 0.9124 GB, free: 51.59 MB / 0.6042 GB