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.19/2.19, allocations: 252.6 MB / 265.2 MB, free: 5.723 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.001381, allocations: 177.6 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.4 MB / 0.5754 GB, free: 10.48 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.001057/0.001057, allocations: 102.3 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.081e-05/4.084e-05, allocations: 12 kB / 0.7911 GB, free: 96.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2204, allocations: 106.2 MB / 0.8949 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8206/1.041, allocations: 133.3 MB / 1.025 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/1.041, allocations: 70.89 kB / 1.025 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02248/1.064, allocations: 4.452 MB / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.803e-06/1.064, allocations: 0 / 1.029 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.141e-05/1.064, allocations: 8 kB / 1.029 GB, free: 13.37 MB / 0.6511 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.001188/1.065, allocations: 0.5801 MB / 1.03 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/1.065, allocations: 8.031 kB / 1.03 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/1.065, allocations: 31.72 kB / 1.03 GB, free: 12.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004798/1.066, allocations: 264.2 kB / 1.03 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.677e-05/1.066, allocations: 10.69 kB / 1.03 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.904e-05/1.066, allocations: 15.98 kB / 1.03 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/1.066, allocations: 138.5 kB / 1.03 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.066, allocations: 3.984 kB / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/1.067, allocations: 4 kB / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/1.067, allocations: 0 / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/1.067, allocations: 52.86 kB / 1.031 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/1.067, allocations: 341.5 kB / 1.031 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003701/1.068, allocations: 122.8 kB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/1.068, allocations: 55.28 kB / 1.031 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/1.068, allocations: 4 kB / 1.031 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006183/1.069, allocations: 217 kB / 1.031 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=18): time 3.126e-06/1.069, allocations: 3.938 kB / 1.031 GB, free: 11.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=18): time 0.0007521/1.069, allocations: 213.9 kB / 1.031 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/1.069, allocations: 70.95 kB / 1.031 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004137/1.07, allocations: 251 kB / 1.032 GB, free: 11.08 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.128e-05/1.07, allocations: 37.02 kB / 1.032 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.455e-05/1.07, allocations: 92.62 kB / 1.032 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.024e-05/1.07, allocations: 49.81 kB / 1.032 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.196e-05/1.07, allocations: 6.875 kB / 1.032 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.07, allocations: 326.3 kB / 1.032 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003634/1.071, allocations: 95.66 kB / 1.032 GB, free: 10.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/1.071, allocations: 151.9 kB / 1.032 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/1.072, allocations: 145.3 kB / 1.033 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/1.072, allocations: 4 kB / 1.033 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001176/1.073, allocations: 415.7 kB / 1.033 GB, free: 9.898 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.073, allocations: 70.64 kB / 1.033 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/1.073, allocations: 0 / 1.033 GB, free: 9.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/1.073, allocations: 4 kB / 1.033 GB, free: 9.816 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/1.073, allocations: 31.53 kB / 1.033 GB, free: 9.789 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/1.073, allocations: 11.88 kB / 1.033 GB, free: 9.777 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006501/1.074, allocations: 51.19 kB / 1.033 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001318/1.074, allocations: 51.92 kB / 1.033 GB, free: 9.684 MB / 0.6511 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 () * 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.0002593/1.074, allocations: 138.8 kB / 1.033 GB, free: 9.551 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.384e-05/1.074, allocations: 27.62 kB / 1.033 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001168/1.075, allocations: 32.28 kB / 1.033 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/1.075, allocations: 0 / 1.033 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.075, allocations: 4 kB / 1.033 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/1.075, allocations: 3.984 kB / 1.033 GB, free: 9.492 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00119/1.076, allocations: 0.5502 MB / 1.034 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.076, allocations: 3.938 kB / 1.034 GB, free: 8.953 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.94e-05/1.076, allocations: 11.98 kB / 1.034 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.605e-06/1.076, allocations: 0 / 1.034 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.878e-05/1.076, allocations: 7.984 kB / 1.034 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/1.076, allocations: 7.984 kB / 1.034 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.076, allocations: 3.938 kB / 1.034 GB, free: 8.922 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006348/1.077, allocations: 331.2 kB / 1.034 GB, free: 8.621 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002923/1.077, allocations: 150.2 kB / 1.034 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.188e-05/1.077, allocations: 7.75 kB / 1.034 GB, free: 8.465 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002971/1.077, allocations: 11.98 kB / 1.034 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.713e-05/1.078, allocations: 18.97 kB / 1.034 GB, free: 8.438 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.523e-05/1.078, allocations: 27.98 kB / 1.035 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000319/1.078, allocations: 211.4 kB / 1.035 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/1.078, allocations: 0 / 1.035 GB, free: 8.238 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006396/1.079, allocations: 55.11 kB / 1.035 GB, free: 8.191 MB / 0.6511 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) * 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.0002498/1.079, allocations: 116.3 kB / 1.035 GB, free: 8.074 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0009643/1.08, allocations: 346.4 kB / 1.035 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/1.08, allocations: 0 / 1.035 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/1.08, allocations: 66.05 kB / 1.035 GB, free: 7.727 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003804/1.081, allocations: 27.45 kB / 1.035 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008595/1.081, allocations: 279.3 kB / 1.036 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000479/1.082, allocations: 0.7474 MB / 1.036 GB, free: 6.672 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002795/1.082, allocations: 45.14 kB / 1.036 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002139/1.082, allocations: 35.42 kB / 1.036 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of SimCode: time 1.442e-06/1.082, allocations: 0 / 1.036 GB, free: 6.594 MB / 0.6511 GB Notification: Performance of Templates: time 0.01299/1.095, allocations: 4.339 MB / 1.041 GB, free: 2.254 MB / 0.6511 GB