Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.229/2.229, allocations: 251.3 MB / 266.2 MB, free: 11.51 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001275/0.001274, allocations: 181.6 kB / 325.8 MB, free: 2.781 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.567/2.567, allocations: 205.4 MB / 0.5767 GB, free: 21.07 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009164/0.0009163, allocations: 102.9 kB / 0.6813 GB, free: 13.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004556/0.0004556, allocations: 15.19 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2419, allocations: 106.3 MB / 0.899 GB, free: 65.92 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001805/0.2438, allocations: 1.198 MB / 0.9002 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.2449, allocations: 401.6 kB / 0.9006 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.504e-05/0.245, allocations: 3.938 kB / 0.9006 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.202e-05/0.2451, allocations: 3.984 kB / 0.9006 GB, free: 64.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001104/0.2452, allocations: 27.84 kB / 0.9006 GB, free: 64.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008167/0.246, allocations: 209.3 kB / 0.9008 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.2464, allocations: 243.5 kB / 0.901 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.255e-05/0.2464, allocations: 8 kB / 0.901 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000432/0.2469, allocations: 219.6 kB / 0.9013 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002592/0.2471, allocations: 135.7 kB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.441e-05/0.2472, allocations: 8 kB / 0.9014 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.47e-05/0.2473, allocations: 16 kB / 0.9014 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001096/0.2475, allocations: 75.78 kB / 0.9015 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.312e-05/0.2475, allocations: 69.58 kB / 0.9015 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000245/0.2478, allocations: 199.5 kB / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2478, allocations: 0 / 0.9017 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.903e-06/0.2478, allocations: 3.938 kB / 0.9017 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.2478, allocations: 0 / 0.9017 GB, free: 63.11 MB / 0.6042 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.0013/0.2492, allocations: 0.6143 MB / 0.9023 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2492, allocations: 12.03 kB / 0.9024 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001151/0.2493, allocations: 32.56 kB / 0.9024 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003412/0.2497, allocations: 255.9 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.2497, allocations: 8.375 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-05/0.2498, allocations: 20.38 kB / 0.9027 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004083/0.2503, allocations: 152.6 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2503, allocations: 4.125 kB / 0.9028 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.2503, allocations: 11.86 kB / 0.9028 GB, free: 61.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.2503, allocations: 4 kB / 0.9028 GB, free: 61.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001996/0.2505, allocations: 51.97 kB / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.251, allocations: 305.3 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000401/0.2514, allocations: 130.7 kB / 0.9033 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.2516, allocations: 56.77 kB / 0.9033 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.477e-05/0.2517, allocations: 12 kB / 0.9034 GB, free: 61.29 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006006/0.2523, allocations: 209.3 kB / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 2.605e-06/0.2523, allocations: 0 / 0.9036 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0008279/0.2532, allocations: 283.2 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.2532, allocations: 63.38 kB / 0.9039 GB, free: 60.71 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003321/0.2536, allocations: 287 kB / 0.9042 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.938e-05/0.2536, allocations: 33.7 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.2537, allocations: 93.12 kB / 0.9043 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.2538, allocations: 43.45 kB / 0.9043 GB, free: 60.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.652e-05/0.2538, allocations: 8 kB / 0.9043 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.669e-05/0.2539, allocations: 326.8 kB / 0.9046 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000328/0.2543, allocations: 96.17 kB / 0.9047 GB, free: 59.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003531/0.2546, allocations: 138.4 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003533/0.255, allocations: 155.3 kB / 0.905 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.255, allocations: 4 kB / 0.905 GB, free: 59.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0009909/0.256, allocations: 419.8 kB / 0.9054 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.625e-05/0.2561, allocations: 75.38 kB / 0.9055 GB, free: 58.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2561, allocations: 4 kB / 0.9055 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/0.2562, allocations: 3.938 kB / 0.9055 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.2564, allocations: 31.86 kB / 0.9055 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.2565, allocations: 0 / 0.9055 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008942/0.2574, allocations: 72.03 kB / 0.9056 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/0.2575, allocations: 55.98 kB / 0.9056 GB, free: 58.81 MB / 0.6042 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.0002457/0.2577, allocations: 169.7 kB / 0.9058 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.2578, allocations: 31.66 kB / 0.9058 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.051e-05/0.2579, allocations: 34.25 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.2579, allocations: 3.938 kB / 0.9059 GB, free: 58.57 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.2579, allocations: 7.984 kB / 0.9059 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2579, allocations: 0 / 0.9059 GB, free: 58.56 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.259, allocations: 0.5551 MB / 0.9064 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.259, allocations: 3.938 kB / 0.9064 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-05/0.2591, allocations: 4 kB / 0.9064 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.2591, allocations: 11.98 kB / 0.9064 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.2592, allocations: 7.984 kB / 0.9064 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2592, allocations: 4 kB / 0.9065 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2592, allocations: 4 kB / 0.9065 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.2598, allocations: 315 kB / 0.9068 GB, free: 57.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002347/0.26, allocations: 160.7 kB / 0.9069 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.176e-05/0.2601, allocations: 15.92 kB / 0.9069 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003543/0.2605, allocations: 12 kB / 0.9069 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.208e-05/0.2606, allocations: 19.97 kB / 0.907 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/0.2607, allocations: 27.98 kB / 0.907 GB, free: 57.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002277/0.2609, allocations: 205.9 kB / 0.9072 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2609, allocations: 0 / 0.9072 GB, free: 57.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004585/0.2614, allocations: 55.98 kB / 0.9072 GB, free: 57.09 MB / 0.6042 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.0001574/0.2615, allocations: 109.5 kB / 0.9073 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007833/0.2623, allocations: 352 kB / 0.9077 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2624, allocations: 4 kB / 0.9077 GB, free: 56.6 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.2626, allocations: 71.89 kB / 0.9077 GB, free: 56.53 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.2631, allocations: 24.81 kB / 0.9078 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008674/0.264, allocations: 443.1 kB / 0.9082 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.2642, allocations: 0.7436 MB / 0.9089 GB, free: 55.27 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.2644, allocations: 41.42 kB / 0.909 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001843/0.2646, allocations: 35.42 kB / 0.909 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of SimCode: time 1.182e-06/0.2646, allocations: 4 kB / 0.909 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.01442/0.2791, allocations: 3.932 MB / 0.9128 GB, free: 51.29 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)