Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.782/1.782, allocations: 288.3 MB / 303.2 MB, free: 8.168 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001126/0.001126, allocations: 185.6 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 0.6306 GB, free: 9.98 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008809/0.0008807, allocations: 98.84 kB / 0.7439 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003938, allocations: 10.88 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.233, allocations: 115.3 MB / 0.9794 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8173/1.05, allocations: 139.8 MB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001808/1.051, allocations: 67.88 kB / 1.116 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01244/1.063, allocations: 4.449 MB / 1.12 GB, free: 31.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.512e-06/1.063, allocations: 0 / 1.12 GB, free: 31.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.179e-05/1.063, allocations: 3.844 kB / 1.12 GB, free: 31.89 MB / 0.698 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.0008987/1.064, allocations: 0.6185 MB / 1.121 GB, free: 31.33 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/1.064, allocations: 15.2 kB / 1.121 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.565e-05/1.064, allocations: 34.62 kB / 1.121 GB, free: 31.31 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/1.064, allocations: 258.2 kB / 1.121 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.369e-05/1.064, allocations: 11.78 kB / 1.121 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.389e-05/1.065, allocations: 18.16 kB / 1.121 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000284/1.065, allocations: 145.1 kB / 1.121 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.555e-06/1.065, allocations: 0 / 1.121 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/1.065, allocations: 11 kB / 1.121 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/1.065, allocations: 0 / 1.121 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001141/1.065, allocations: 44.45 kB / 1.121 GB, free: 31.05 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/1.065, allocations: 325.4 kB / 1.122 GB, free: 30.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/1.066, allocations: 134.1 kB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/1.066, allocations: 7.844 kB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003525/1.066, allocations: 213.4 kB / 1.122 GB, free: 30.76 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.056e-06/1.066, allocations: 4 kB / 1.122 GB, free: 30.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0005336/1.067, allocations: 270 kB / 1.122 GB, free: 30.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/1.067, allocations: 57.97 kB / 1.122 GB, free: 30.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002337/1.067, allocations: 254.1 kB / 1.123 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.537e-05/1.067, allocations: 44.42 kB / 1.123 GB, free: 30.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.277e-05/1.067, allocations: 88.83 kB / 1.123 GB, free: 30.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.533e-05/1.067, allocations: 44.14 kB / 1.123 GB, free: 30.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-05/1.067, allocations: 11.38 kB / 1.123 GB, free: 30.41 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.067, allocations: 321.6 kB / 1.123 GB, free: 30.09 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/1.067, allocations: 105.2 kB / 1.123 GB, free: 30.09 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002429/1.068, allocations: 158.5 kB / 1.123 GB, free: 30.03 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/1.068, allocations: 157.4 kB / 1.124 GB, free: 29.96 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/1.068, allocations: 0 / 1.124 GB, free: 29.96 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0006737/1.069, allocations: 428.7 kB / 1.124 GB, free: 29.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.599e-05/1.069, allocations: 76.58 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/1.069, allocations: 0 / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/1.069, allocations: 3.875 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/1.069, allocations: 24.64 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/1.069, allocations: 3.781 kB / 1.124 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003549/1.069, allocations: 54.25 kB / 1.124 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/1.069, allocations: 55.52 kB / 1.124 GB, free: 29.77 MB / 0.698 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.0001856/1.07, allocations: 170.7 kB / 1.124 GB, free: 29.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/1.07, allocations: 30.11 kB / 1.124 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.145e-05/1.07, allocations: 31.58 kB / 1.124 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/1.07, allocations: 7.812 kB / 1.124 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/1.07, allocations: 0 / 1.124 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/1.07, allocations: 2.484 kB / 1.124 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007387/1.07, allocations: 0.5529 MB / 1.125 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/1.07, allocations: 0 / 1.125 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.972e-05/1.07, allocations: 11.84 kB / 1.125 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.07, allocations: 0 / 1.125 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.639e-05/1.07, allocations: 15.81 kB / 1.125 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.07, allocations: 0 / 1.125 GB, free: 29.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.071, allocations: 7.938 kB / 1.125 GB, free: 29.29 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/1.071, allocations: 325.5 kB / 1.125 GB, free: 29.14 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/1.071, allocations: 155.6 kB / 1.125 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/1.071, allocations: 10.28 kB / 1.125 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/1.071, allocations: 10.66 kB / 1.125 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/1.071, allocations: 17.52 kB / 1.126 GB, free: 29.03 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/1.071, allocations: 29.61 kB / 1.126 GB, free: 29.03 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001536/1.072, allocations: 210 kB / 1.126 GB, free: 28.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.072, allocations: 0 / 1.126 GB, free: 28.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002968/1.072, allocations: 56.59 kB / 1.126 GB, free: 28.94 MB / 0.698 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.0001641/1.072, allocations: 123.7 kB / 1.126 GB, free: 28.84 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005298/1.073, allocations: 351 kB / 1.126 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/1.073, allocations: 0 / 1.126 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/1.073, allocations: 74.67 kB / 1.126 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002253/1.073, allocations: 28 kB / 1.126 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006215/1.074, allocations: 451.6 kB / 1.127 GB, free: 28.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/1.074, allocations: 0.746 MB / 1.128 GB, free: 27.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001522/1.074, allocations: 37.23 kB / 1.128 GB, free: 27.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/1.074, allocations: 36.02 kB / 1.128 GB, free: 27.7 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/1.074, allocations: 0 / 1.128 GB, free: 27.7 MB / 0.698 GB Notification: Performance of Templates: time 0.006972/1.081, allocations: 4.353 MB / 1.132 GB, free: 26.53 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)