Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.742/1.742, allocations: 297.8 MB / 313.7 MB, free: 176 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 183.5 kB / 384.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.2 MB / 0.6626 GB, free: 4.34 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00088/0.0008801, allocations: 91.08 kB / 0.7808 GB, free: 50.38 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004262, allocations: 16 kB / 0.9088 GB, free: 2.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8031/0.8035, allocations: 120.3 MB / 1.026 GB, free: 55.86 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2117/1.015, allocations: 143.1 MB / 1.166 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000276/1.016, allocations: 77.56 kB / 1.166 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01437/1.03, allocations: 4.483 MB / 1.17 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/1.03, allocations: 0 / 1.17 GB, free: 13.71 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.611e-05/1.03, allocations: 4.938 kB / 1.17 GB, free: 13.7 MB / 0.7448 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.001071/1.031, allocations: 0.6111 MB / 1.171 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/1.031, allocations: 12.03 kB / 1.171 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/1.031, allocations: 30.55 kB / 1.171 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000412/1.032, allocations: 270.4 kB / 1.171 GB, free: 12.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.95e-05/1.032, allocations: 13.64 kB / 1.171 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.906e-05/1.032, allocations: 14.33 kB / 1.171 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003934/1.032, allocations: 150.8 kB / 1.172 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.032, allocations: 0.9688 kB / 1.172 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.95e-05/1.032, allocations: 4.734 kB / 1.172 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/1.032, allocations: 7.203 kB / 1.172 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000147/1.033, allocations: 46.88 kB / 1.172 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005084/1.033, allocations: 334.5 kB / 1.172 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000288/1.033, allocations: 125.8 kB / 1.172 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/1.033, allocations: 55.7 kB / 1.172 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/1.034, allocations: 0.6562 kB / 1.172 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004858/1.034, allocations: 224.2 kB / 1.172 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=18): time 1.864e-06/1.034, allocations: 0 / 1.172 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=18): time 0.0006462/1.035, allocations: 266.8 kB / 1.173 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/1.035, allocations: 73.34 kB / 1.173 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/1.035, allocations: 287.7 kB / 1.173 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.216e-05/1.035, allocations: 38.83 kB / 1.173 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.272e-05/1.035, allocations: 95.58 kB / 1.173 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.246e-05/1.035, allocations: 40.55 kB / 1.173 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.374e-05/1.035, allocations: 8 kB / 1.173 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001454/1.036, allocations: 319 kB / 1.173 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003052/1.036, allocations: 100.4 kB / 1.173 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003364/1.036, allocations: 155.4 kB / 1.174 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/1.037, allocations: 248.5 kB / 1.174 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.037, allocations: 0 / 1.174 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008686/1.038, allocations: 429.3 kB / 1.174 GB, free: 9.961 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-05/1.038, allocations: 76.47 kB / 1.174 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/1.038, allocations: 4.609 kB / 1.174 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/1.038, allocations: 4.844 kB / 1.174 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/1.038, allocations: 29.41 kB / 1.174 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.038, allocations: 4.703 kB / 1.174 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003583/1.038, allocations: 45.11 kB / 1.174 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.841e-05/1.038, allocations: 57.16 kB / 1.174 GB, free: 9.758 MB / 0.7448 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.0002299/1.039, allocations: 177.1 kB / 1.175 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/1.039, allocations: 28.23 kB / 1.175 GB, free: 9.559 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.679e-05/1.039, allocations: 29.86 kB / 1.175 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.651e-05/1.039, allocations: 7.938 kB / 1.175 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.039, allocations: 1.125 kB / 1.175 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/1.039, allocations: 9.344 kB / 1.175 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008845/1.04, allocations: 0.5513 MB / 1.175 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.04, allocations: 4.641 kB / 1.175 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-05/1.04, allocations: 13.97 kB / 1.175 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/1.04, allocations: 0 / 1.175 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.942e-05/1.04, allocations: 13.92 kB / 1.175 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.04, allocations: 0.6094 kB / 1.175 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.04, allocations: 0 / 1.175 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/1.04, allocations: 325.4 kB / 1.176 GB, free: 8.648 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/1.04, allocations: 160.5 kB / 1.176 GB, free: 8.496 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.367e-05/1.041, allocations: 9.312 kB / 1.176 GB, free: 8.488 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001611/1.041, allocations: 11.14 kB / 1.176 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/1.041, allocations: 18.75 kB / 1.176 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/1.041, allocations: 30.34 kB / 1.176 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000233/1.041, allocations: 204.7 kB / 1.176 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2e-07/1.041, allocations: 0 / 1.176 GB, free: 8.273 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003466/1.041, allocations: 54.48 kB / 1.176 GB, free: 8.223 MB / 0.7448 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.0001772/1.042, allocations: 127.5 kB / 1.176 GB, free: 8.094 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006115/1.042, allocations: 359.5 kB / 1.177 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/1.042, allocations: 0 / 1.177 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/1.042, allocations: 71.91 kB / 1.177 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/1.043, allocations: 29.86 kB / 1.177 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007495/1.043, allocations: 446.2 kB / 1.177 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/1.044, allocations: 0.7438 MB / 1.178 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001486/1.044, allocations: 33.08 kB / 1.178 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/1.044, allocations: 39.41 kB / 1.178 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.044, allocations: 0 / 1.178 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of Templates: time 0.008982/1.053, allocations: 4.367 MB / 1.182 GB, free: 2.074 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)