Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 97.14 kB / 16.27 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.89/1.89, allocations: 292.3 MB / 0.5495 GB, free: 17.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 67.91 kB / 0.6721 GB, free: 6.547 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2219, allocations: 114.6 MB / 0.784 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002697/0.2246, allocations: 1.49 MB / 0.7855 GB, free: 2.375 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009196/0.2256, allocations: 419.3 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.468e-05/0.2256, allocations: 0 / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001014/0.2257, allocations: 11.86 kB / 0.7859 GB, free: 1.949 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.2259, allocations: 28.22 kB / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006921/0.2266, allocations: 252.1 kB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003353/0.2269, allocations: 327.5 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.567e-05/0.227, allocations: 4 kB / 0.7865 GB, free: 1.355 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000251/0.2272, allocations: 191.7 kB / 0.7867 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002106/0.2274, allocations: 112 kB / 0.7868 GB, free: 1.059 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.2275, allocations: 20 kB / 0.7868 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.144e-05/0.2276, allocations: 20 kB / 0.7868 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.2277, allocations: 79.72 kB / 0.7869 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001481/0.2278, allocations: 131.4 kB / 0.787 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0003029/0.2281, allocations: 295.3 kB / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2281, allocations: 0 / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2281, allocations: 0 / 0.7873 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.2282, allocations: 0 / 0.7873 GB, free: 0.5234 MB / 0.6544 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.3557/0.5838, allocations: 0.7435 MB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.5839, allocations: 8.656 kB / 0.788 GB, free: 48.68 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.584, allocations: 32.86 kB / 0.788 GB, free: 48.67 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003047/0.5843, allocations: 264.2 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.5844, allocations: 14.44 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.5845, allocations: 20.45 kB / 0.7883 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009108/0.5854, allocations: 201.9 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.5854, allocations: 1.172 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.5854, allocations: 7.125 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.5855, allocations: 3.656 kB / 0.7885 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000706/0.5862, allocations: 98.11 kB / 0.7886 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003013/0.5865, allocations: 316.7 kB / 0.7889 GB, free: 48.22 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009624/0.5874, allocations: 173.7 kB / 0.7891 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006838/0.5881, allocations: 107.8 kB / 0.7892 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.5882, allocations: 2.625 kB / 0.7892 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009132/0.5891, allocations: 209.1 kB / 0.7894 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.963e-06/0.5891, allocations: 0.8438 kB / 0.7894 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002319/0.5914, allocations: 452.5 kB / 0.7898 GB, free: 48.09 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.5915, allocations: 65.52 kB / 0.7899 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.5917, allocations: 292.8 kB / 0.7902 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.5918, allocations: 39.42 kB / 0.7902 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/0.5918, allocations: 88.11 kB / 0.7903 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.715e-05/0.5919, allocations: 41.61 kB / 0.7903 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.592, allocations: 101 kB / 0.7904 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.887e-05/0.5921, allocations: 323.1 kB / 0.7907 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/0.5923, allocations: 83.58 kB / 0.7908 GB, free: 47.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001974/0.5925, allocations: 136.9 kB / 0.7909 GB, free: 47.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/0.5928, allocations: 236.2 kB / 0.7912 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.5928, allocations: 2.688 kB / 0.7912 GB, free: 47.27 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000554/0.5933, allocations: 395.9 kB / 0.7916 GB, free: 47.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/0.5934, allocations: 75.97 kB / 0.7916 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5934, allocations: 3.5 kB / 0.7916 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.5934, allocations: 4.219 kB / 0.7916 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001611/0.5936, allocations: 26.19 kB / 0.7917 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.5936, allocations: 9.203 kB / 0.7917 GB, free: 47.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004507/0.5941, allocations: 57.06 kB / 0.7917 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-05/0.5941, allocations: 38.64 kB / 0.7918 GB, free: 47.1 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001577/0.5943, allocations: 181.6 kB / 0.7919 GB, free: 46.98 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.5944, allocations: 26 kB / 0.792 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.64e-05/0.5944, allocations: 29.69 kB / 0.792 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.5944, allocations: 3.469 kB / 0.792 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5944, allocations: 3.094 kB / 0.792 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.5944, allocations: 1.75 kB / 0.792 GB, free: 46.96 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001931/0.5964, allocations: 0.6869 MB / 0.7927 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5964, allocations: 0 / 0.7927 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.485e-05/0.5964, allocations: 6.188 kB / 0.7927 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5964, allocations: 3.375 kB / 0.7927 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.024e-05/0.5965, allocations: 16.78 kB / 0.7927 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.5965, allocations: 3.406 kB / 0.7927 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.5965, allocations: 4.344 kB / 0.7927 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00156/0.5981, allocations: 454.5 kB / 0.7931 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001509/0.5982, allocations: 157 kB / 0.7933 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.73e-05/0.5983, allocations: 10.22 kB / 0.7933 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.5987, allocations: 31.14 kB / 0.7933 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.269e-05/0.5988, allocations: 12.06 kB / 0.7933 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.948e-05/0.5988, allocations: 41.42 kB / 0.7934 GB, free: 46.4 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001625/0.599, allocations: 214.6 kB / 0.7936 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.599, allocations: 0 / 0.7936 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000339/0.5994, allocations: 50.88 kB / 0.7936 GB, free: 46.32 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$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.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001524/0.5995, allocations: 121.5 kB / 0.7937 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.6006, allocations: 387.5 kB / 0.7941 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6007, allocations: 1.812 kB / 0.7941 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0007174/0.6014, allocations: 122.3 kB / 0.7942 GB, free: 46.1 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00035/0.6017, allocations: 29.88 kB / 0.7943 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.6029, allocations: 466.9 kB / 0.7947 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001787/0.6031, allocations: 0.7408 MB / 0.7954 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.6032, allocations: 15.73 kB / 0.7954 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.6032, allocations: 0 / 0.7954 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of Templates: time 0.004901/0.6081, allocations: 2.864 MB / 0.7982 GB, free: 44.98 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.makefile (rm -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1)