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.671/2.671, allocations: 287.5 MB / 302.4 MB, free: 8.172 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.001455/0.001455, allocations: 181.1 kB / 371 MB, free: 10.76 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 2.05/2.05, allocations: 205.4 MB / 0.6297 GB, free: 10.48 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002156/0.002155, allocations: 85.36 kB / 0.743 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006779/0.0006783, allocations: 11.34 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2791, allocations: 115.3 MB / 0.9784 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9069/1.186, allocations: 139.7 MB / 1.115 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.186, allocations: 76.94 kB / 1.115 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02146/1.208, allocations: 4.451 MB / 1.119 GB, free: 31.23 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.134e-06/1.208, allocations: 0 / 1.119 GB, free: 31.23 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2e-05/1.208, allocations: 3.844 kB / 1.119 GB, free: 31.23 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.001223/1.209, allocations: 0.6183 MB / 1.12 GB, free: 30.67 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.209, allocations: 15.48 kB / 1.12 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/1.209, allocations: 33.77 kB / 1.12 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/1.21, allocations: 247.8 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.396e-05/1.21, allocations: 17.67 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.277e-05/1.21, allocations: 18.31 kB / 1.12 GB, free: 30.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004017/1.21, allocations: 141.2 kB / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.21, allocations: 0 / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/1.21, allocations: 6.344 kB / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/1.211, allocations: 3.844 kB / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/1.211, allocations: 41.97 kB / 1.12 GB, free: 30.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004242/1.211, allocations: 336.4 kB / 1.121 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/1.212, allocations: 129.4 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/1.212, allocations: 3.656 kB / 1.121 GB, free: 30.17 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005541/1.212, allocations: 222.6 kB / 1.121 GB, free: 30.1 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 2.134e-06/1.212, allocations: 0 / 1.121 GB, free: 30.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0008251/1.213, allocations: 263.4 kB / 1.121 GB, free: 30.05 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/1.213, allocations: 58.39 kB / 1.121 GB, free: 29.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/1.213, allocations: 261 kB / 1.121 GB, free: 29.89 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.544e-05/1.214, allocations: 41.23 kB / 1.122 GB, free: 29.86 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 9.107e-05/1.214, allocations: 91.94 kB / 1.122 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.852e-05/1.214, allocations: 41.34 kB / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.506e-05/1.214, allocations: 10.27 kB / 1.122 GB, free: 29.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001303/1.214, allocations: 325 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/1.214, allocations: 97.83 kB / 1.122 GB, free: 29.44 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/1.215, allocations: 159.6 kB / 1.122 GB, free: 29.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/1.215, allocations: 155.3 kB / 1.122 GB, free: 29.31 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/1.215, allocations: 3.953 kB / 1.122 GB, free: 29.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.001143/1.216, allocations: 424 kB / 1.123 GB, free: 29.19 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.708e-05/1.216, allocations: 74.7 kB / 1.123 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/1.216, allocations: 0 / 1.123 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/1.217, allocations: 3.906 kB / 1.123 GB, free: 29.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000245/1.217, allocations: 28.58 kB / 1.123 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/1.217, allocations: 3.875 kB / 1.123 GB, free: 29.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000613/1.217, allocations: 55.58 kB / 1.123 GB, free: 29.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/1.218, allocations: 49.36 kB / 1.123 GB, free: 29.11 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.0003082/1.218, allocations: 184.1 kB / 1.123 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.921e-05/1.218, allocations: 31.08 kB / 1.123 GB, free: 28.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/1.218, allocations: 24.09 kB / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/1.218, allocations: 6.109 kB / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.218, allocations: 0 / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/1.218, allocations: 0 / 1.123 GB, free: 28.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001041/1.219, allocations: 0.5633 MB / 1.124 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.219, allocations: 0 / 1.124 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.828e-05/1.219, allocations: 6.781 kB / 1.124 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/1.219, allocations: 3.812 kB / 1.124 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.747e-05/1.219, allocations: 13.14 kB / 1.124 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/1.219, allocations: 3.938 kB / 1.124 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.219, allocations: 3.812 kB / 1.124 GB, free: 28.64 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006701/1.22, allocations: 314.9 kB / 1.124 GB, free: 28.49 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002491/1.22, allocations: 168.2 kB / 1.124 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/1.22, allocations: 7.812 kB / 1.124 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002851/1.221, allocations: 10.62 kB / 1.124 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/1.221, allocations: 17.48 kB / 1.124 GB, free: 28.37 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-05/1.221, allocations: 29.12 kB / 1.124 GB, free: 28.37 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002649/1.221, allocations: 209 kB / 1.125 GB, free: 28.29 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.221, allocations: 0 / 1.125 GB, free: 28.29 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005168/1.222, allocations: 50.91 kB / 1.125 GB, free: 28.29 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.0002204/1.222, allocations: 123.3 kB / 1.125 GB, free: 28.19 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008725/1.223, allocations: 355.4 kB / 1.125 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.223, allocations: 3.938 kB / 1.125 GB, free: 28.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002066/1.223, allocations: 69.8 kB / 1.125 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/1.223, allocations: 26.08 kB / 1.125 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009105/1.224, allocations: 446.6 kB / 1.126 GB, free: 27.78 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004487/1.225, allocations: 0.7533 MB / 1.126 GB, free: 27.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002433/1.225, allocations: 34.84 kB / 1.126 GB, free: 27.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/1.225, allocations: 40.36 kB / 1.126 GB, free: 27.05 MB / 0.698 GB Notification: Performance of SimCode: time 1.233e-06/1.225, allocations: 0 / 1.126 GB, free: 27.05 MB / 0.698 GB Notification: Performance of Templates: time 0.01104/1.236, allocations: 4.346 MB / 1.131 GB, free: 26.56 MB / 0.698 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)