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.432/2.432, allocations: 285 MB / 292.5 MB, free: 10.53 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.001393/0.001393, allocations: 172.9 kB / 360.7 MB, free: 7.215 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.989/1.989, allocations: 205.3 MB / 0.6192 GB, free: 12.11 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.001537/0.001537, allocations: 83.97 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.879e-05/2.899e-05, allocations: 4 kB / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8324/0.8325, allocations: 115.3 MB / 0.9634 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2496/1.082, allocations: 138.9 MB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004706/1.083, allocations: 68.77 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02823/1.111, allocations: 4.421 MB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.294e-06/1.111, allocations: 0 / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.38e-05/1.111, allocations: 4 kB / 1.103 GB, free: 13.14 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.001289/1.112, allocations: 0.5832 MB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/1.112, allocations: 8.031 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/1.113, allocations: 32.92 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005002/1.113, allocations: 254.6 kB / 1.104 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.252e-05/1.113, allocations: 4.938 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/1.113, allocations: 19.98 kB / 1.104 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001798/1.113, allocations: 35.98 kB / 1.104 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003462/1.114, allocations: 141.5 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/1.114, allocations: 0 / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/1.114, allocations: 0 / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.417e-06/1.114, allocations: 3.984 kB / 1.105 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/1.114, allocations: 309.7 kB / 1.105 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/1.115, allocations: 118.7 kB / 1.105 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001546/1.115, allocations: 49.23 kB / 1.105 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/1.115, allocations: 4 kB / 1.105 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006042/1.116, allocations: 212.1 kB / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=18): time 3.206e-06/1.116, allocations: 0 / 1.105 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18): time 0.0007172/1.116, allocations: 215.4 kB / 1.105 GB, free: 11 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/1.116, allocations: 59.39 kB / 1.105 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004039/1.117, allocations: 242.3 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/1.117, allocations: 45.62 kB / 1.106 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/1.117, allocations: 85.45 kB / 1.106 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.739e-05/1.117, allocations: 39.52 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/1.117, allocations: 4 kB / 1.106 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001585/1.117, allocations: 322.8 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003166/1.118, allocations: 91.3 kB / 1.106 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003699/1.118, allocations: 138.2 kB / 1.106 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/1.118, allocations: 69.62 kB / 1.106 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/1.118, allocations: 0 / 1.106 GB, free: 9.859 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001003/1.119, allocations: 330 kB / 1.107 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.12, allocations: 79.38 kB / 1.107 GB, free: 9.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/1.12, allocations: 4 kB / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.12, allocations: 0 / 1.107 GB, free: 9.441 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/1.12, allocations: 27.92 kB / 1.107 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.645e-06/1.12, allocations: 0 / 1.107 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006473/1.121, allocations: 48.06 kB / 1.107 GB, free: 9.367 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/1.121, allocations: 51.98 kB / 1.107 GB, free: 9.316 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.0002288/1.121, allocations: 135.8 kB / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.62e-05/1.121, allocations: 27.67 kB / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/1.121, allocations: 26.03 kB / 1.107 GB, free: 9.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.121, allocations: 4 kB / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.121, allocations: 0 / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/1.121, allocations: 0 / 1.107 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/1.122, allocations: 0.526 MB / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/1.122, allocations: 0 / 1.108 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.463e-05/1.122, allocations: 8 kB / 1.108 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/1.122, allocations: 0 / 1.108 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.433e-05/1.123, allocations: 21.28 kB / 1.108 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/1.123, allocations: 0 / 1.108 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.123, allocations: 0 / 1.108 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005945/1.123, allocations: 309 kB / 1.108 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/1.124, allocations: 156.7 kB / 1.108 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.714e-05/1.124, allocations: 8 kB / 1.108 GB, free: 8.023 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/1.124, allocations: 7.984 kB / 1.108 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-05/1.124, allocations: 15.98 kB / 1.108 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.633e-05/1.124, allocations: 27.98 kB / 1.108 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000289/1.124, allocations: 198 kB / 1.108 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.8e-07/1.124, allocations: 0 / 1.108 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0005927/1.125, allocations: 49.31 kB / 1.108 GB, free: 7.734 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.0002185/1.125, allocations: 116.6 kB / 1.109 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0008044/1.126, allocations: 330.7 kB / 1.109 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/1.126, allocations: 0 / 1.109 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002219/1.126, allocations: 78.23 kB / 1.109 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/1.127, allocations: 12.88 kB / 1.109 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008072/1.128, allocations: 277.2 kB / 1.109 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004484/1.128, allocations: 0.7466 MB / 1.11 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.000257/1.128, allocations: 45.19 kB / 1.11 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/1.128, allocations: 35.42 kB / 1.11 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of SimCode: time 9.92e-07/1.128, allocations: 0 / 1.11 GB, free: 6.047 MB / 0.7136 GB Notification: Performance of Templates: time 0.01263/1.141, allocations: 4.168 MB / 1.114 GB, free: 1.93 MB / 0.7136 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)