Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.694/2.694, allocations: 284.8 MB / 297.3 MB, free: 6.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.00141, allocations: 184.8 kB / 365.7 MB, free: 2.57 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.996/1.996, allocations: 205.1 MB / 0.6241 GB, free: 8.172 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001096/0.001095, allocations: 90.98 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.912e-05/4.937e-05, allocations: 4 kB / 0.8574 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.077/1.077, allocations: 115.2 MB / 0.97 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3273/1.404, allocations: 139.6 MB / 1.106 GB, free: 12.83 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003867/1.404, allocations: 69.72 kB / 1.106 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03292/1.437, allocations: 4.451 MB / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.294e-06/1.437, allocations: 0 / 1.111 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.767e-05/1.438, allocations: 0 / 1.111 GB, free: 8.379 MB / 0.7136 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.001689/1.439, allocations: 0.5788 MB / 1.111 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/1.439, allocations: 8.031 kB / 1.111 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002135/1.44, allocations: 42.66 kB / 1.111 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006518/1.44, allocations: 242.6 kB / 1.112 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/1.44, allocations: 15.98 kB / 1.112 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/1.44, allocations: 23.94 kB / 1.112 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000588/1.441, allocations: 141.4 kB / 1.112 GB, free: 7.227 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.441, allocations: 4 kB / 1.112 GB, free: 7.223 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/1.441, allocations: 4 kB / 1.112 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/1.441, allocations: 4 kB / 1.112 GB, free: 7.215 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002737/1.441, allocations: 43.98 kB / 1.112 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007914/1.442, allocations: 337.1 kB / 1.112 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005531/1.443, allocations: 126.7 kB / 1.112 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002798/1.443, allocations: 60.84 kB / 1.112 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/1.443, allocations: 0 / 1.112 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009295/1.444, allocations: 212.1 kB / 1.112 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 4.879e-06/1.444, allocations: 4 kB / 1.112 GB, free: 6.375 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.00121/1.445, allocations: 222.3 kB / 1.113 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/1.446, allocations: 59.41 kB / 1.113 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006233/1.446, allocations: 251.4 kB / 1.113 GB, free: 5.828 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001915/1.446, allocations: 41.69 kB / 1.113 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001407/1.447, allocations: 89.14 kB / 1.113 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/1.447, allocations: 43.5 kB / 1.113 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/1.447, allocations: 8 kB / 1.113 GB, free: 5.637 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001982/1.447, allocations: 322.8 kB / 1.113 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005956/1.448, allocations: 96.2 kB / 1.114 GB, free: 5.215 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006468/1.448, allocations: 150.4 kB / 1.114 GB, free: 5.047 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/1.449, allocations: 164 kB / 1.114 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/1.449, allocations: 0 / 1.114 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001775/1.451, allocations: 411 kB / 1.114 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001395/1.451, allocations: 76 kB / 1.114 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/1.451, allocations: 0 / 1.114 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/1.451, allocations: 4 kB / 1.114 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003967/1.451, allocations: 35.61 kB / 1.114 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.796e-05/1.452, allocations: 4 kB / 1.114 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009853/1.453, allocations: 39.88 kB / 1.114 GB, free: 4.289 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/1.453, allocations: 55.98 kB / 1.114 GB, free: 4.234 MB / 0.7136 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.0003101/1.453, allocations: 139.9 kB / 1.115 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/1.453, allocations: 27.72 kB / 1.115 GB, free: 4.066 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/1.453, allocations: 30.03 kB / 1.115 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.032e-05/1.453, allocations: 4 kB / 1.115 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.453, allocations: 0 / 1.115 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/1.453, allocations: 0 / 1.115 GB, free: 4.035 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/1.455, allocations: 0.5612 MB / 1.115 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/1.455, allocations: 3.984 kB / 1.115 GB, free: 3.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/1.455, allocations: 4 kB / 1.115 GB, free: 3.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/1.455, allocations: 4.938 kB / 1.115 GB, free: 3.406 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.776e-05/1.456, allocations: 15.98 kB / 1.115 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/1.456, allocations: 0 / 1.115 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/1.456, allocations: 0 / 1.115 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009909/1.457, allocations: 326.2 kB / 1.116 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004454/1.457, allocations: 152.7 kB / 1.116 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/1.457, allocations: 8 kB / 1.116 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/1.458, allocations: 15.98 kB / 1.116 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/1.458, allocations: 15.98 kB / 1.116 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/1.458, allocations: 28.61 kB / 1.116 GB, free: 2.824 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004855/1.458, allocations: 208.7 kB / 1.116 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.62e-07/1.458, allocations: 0 / 1.116 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008957/1.459, allocations: 52.38 kB / 1.116 GB, free: 2.57 MB / 0.7136 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.000309/1.46, allocations: 126.7 kB / 1.116 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001381/1.461, allocations: 347.1 kB / 1.116 GB, free: 2.074 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.461, allocations: 4.062 kB / 1.116 GB, free: 2.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003445/1.462, allocations: 67.92 kB / 1.117 GB, free: 2.004 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000514/1.462, allocations: 24.83 kB / 1.117 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/1.463, allocations: 282 kB / 1.117 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005592/1.464, allocations: 0.7531 MB / 1.118 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0003586/1.464, allocations: 36.89 kB / 1.118 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/1.465, allocations: 35.42 kB / 1.118 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of SimCode: time 1.433e-06/1.465, allocations: 0 / 1.118 GB, free: 0.8438 MB / 0.7136 GB Notification: Performance of Templates: time 0.01782/1.482, allocations: 4.342 MB / 1.122 GB, free: 12.55 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)