Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 252 MB / 267.6 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 183.3 kB / 327.3 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 0.5783 GB, free: 20.22 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008433/0.0008428, allocations: 86.3 kB / 0.6829 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005337/0.0005338, allocations: 9.125 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2708, allocations: 106.3 MB / 0.9008 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001619/0.2725, allocations: 1.183 MB / 0.902 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007976/0.2733, allocations: 407.2 kB / 0.9024 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.452e-05/0.2734, allocations: 3.938 kB / 0.9024 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001098/0.2735, allocations: 0 / 0.9024 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.2736, allocations: 27.84 kB / 0.9024 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.2742, allocations: 208.5 kB / 0.9026 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002191/0.2744, allocations: 243.5 kB / 0.9028 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.725e-05/0.2745, allocations: 12 kB / 0.9028 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002663/0.2748, allocations: 215.6 kB / 0.903 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001813/0.275, allocations: 131.7 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.743e-05/0.2751, allocations: 8 kB / 0.9032 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.349e-05/0.2751, allocations: 11.94 kB / 0.9032 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-05/0.2752, allocations: 79.83 kB / 0.9033 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.185e-05/0.2753, allocations: 69.58 kB / 0.9033 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.2755, allocations: 199.8 kB / 0.9035 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.2755, allocations: 0 / 0.9035 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.476e-06/0.2755, allocations: 0 / 0.9035 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2755, allocations: 3.938 kB / 0.9035 GB, free: 61.12 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.0009992/0.2765, allocations: 0.6219 MB / 0.9041 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.2766, allocations: 8.031 kB / 0.9041 GB, free: 60.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.2767, allocations: 35.62 kB / 0.9042 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.2769, allocations: 250.6 kB / 0.9044 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.323e-05/0.277, allocations: 19.94 kB / 0.9044 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.116e-05/0.277, allocations: 31.92 kB / 0.9045 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.2773, allocations: 137.5 kB / 0.9046 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.868e-06/0.2773, allocations: 0 / 0.9046 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/0.2773, allocations: 8 kB / 0.9046 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2774, allocations: 0 / 0.9046 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001445/0.2775, allocations: 47.91 kB / 0.9046 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000282/0.2778, allocations: 313.3 kB / 0.9049 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.2781, allocations: 130.7 kB / 0.9051 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001121/0.2782, allocations: 52.84 kB / 0.9051 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.2782, allocations: 11.91 kB / 0.9051 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004084/0.2786, allocations: 215.2 kB / 0.9053 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 1.493e-06/0.2786, allocations: 0 / 0.9053 GB, free: 59.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005076/0.2791, allocations: 277 kB / 0.9056 GB, free: 58.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/0.2792, allocations: 59.41 kB / 0.9057 GB, free: 58.73 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/0.2794, allocations: 283 kB / 0.9059 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.344e-05/0.2795, allocations: 41.69 kB / 0.906 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/0.2795, allocations: 89.14 kB / 0.9061 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.129e-05/0.2796, allocations: 51.44 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.2796, allocations: 8 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.947e-05/0.2797, allocations: 326.8 kB / 0.9064 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001907/0.2799, allocations: 92.17 kB / 0.9065 GB, free: 57.82 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.2801, allocations: 146.4 kB / 0.9066 GB, free: 57.66 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.2803, allocations: 160.1 kB / 0.9068 GB, free: 57.49 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2803, allocations: 3.938 kB / 0.9068 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005778/0.2809, allocations: 412 kB / 0.9072 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.281, allocations: 75.39 kB / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.281, allocations: 192 / 0.9073 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.281, allocations: 8 kB / 0.9073 GB, free: 56.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.2812, allocations: 27.91 kB / 0.9073 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.2812, allocations: 4 kB / 0.9073 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005493/0.2818, allocations: 71.86 kB / 0.9074 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.678e-05/0.2818, allocations: 55.98 kB / 0.9074 GB, free: 56.82 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.0001677/0.282, allocations: 177.6 kB / 0.9076 GB, free: 56.63 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.2821, allocations: 23.72 kB / 0.9076 GB, free: 56.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.053e-05/0.2821, allocations: 30.25 kB / 0.9077 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2821, allocations: 0 / 0.9077 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.2821, allocations: 0 / 0.9077 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2821, allocations: 3.984 kB / 0.9077 GB, free: 56.58 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006606/0.2828, allocations: 0.5635 MB / 0.9082 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2828, allocations: 4 kB / 0.9082 GB, free: 55.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.2829, allocations: 15.92 kB / 0.9082 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2829, allocations: 0 / 0.9082 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.2829, allocations: 11.98 kB / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2829, allocations: 0 / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2829, allocations: 0 / 0.9082 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003326/0.2833, allocations: 327 kB / 0.9085 GB, free: 55.59 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/0.2834, allocations: 164.6 kB / 0.9087 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.164e-05/0.2835, allocations: 8 kB / 0.9087 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.2837, allocations: 11.98 kB / 0.9087 GB, free: 55.39 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.951e-05/0.2838, allocations: 19.97 kB / 0.9087 GB, free: 55.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.2838, allocations: 27.98 kB / 0.9088 GB, free: 55.35 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001529/0.284, allocations: 209.9 kB / 0.909 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.284, allocations: 0 / 0.909 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002913/0.2843, allocations: 44 kB / 0.909 GB, free: 55.1 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.0001578/0.2845, allocations: 125.5 kB / 0.9091 GB, free: 54.97 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005099/0.285, allocations: 338.8 kB / 0.9095 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.285, allocations: 0 / 0.9095 GB, free: 54.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.2851, allocations: 74.25 kB / 0.9095 GB, free: 54.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.2855, allocations: 20.88 kB / 0.9095 GB, free: 54.52 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.2862, allocations: 488.8 kB / 0.91 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002475/0.2865, allocations: 0.7507 MB / 0.9107 GB, free: 53.23 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.2866, allocations: 31.42 kB / 0.9108 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of SimCode: time 2.5e-07/0.2866, allocations: 0 / 0.9108 GB, free: 53.2 MB / 0.6042 GB Notification: Performance of Templates: time 0.004538/0.2912, allocations: 2.993 MB / 0.9137 GB, free: 50.22 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)