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.001128/0.001128, allocations: 105.3 kB / 16.36 MB, free: 6.305 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.00103/0.00103, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.458/1.458, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.8/1.8, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.002728/0.002728, allocations: 71.91 kB / 0.6729 GB, free: 5.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2392, allocations: 114.5 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002655/0.2419, allocations: 1.499 MB / 0.7862 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009182/0.2428, allocations: 423.2 kB / 0.7866 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.149e-05/0.2429, allocations: 3.938 kB / 0.7866 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.884e-05/0.243, allocations: 7.938 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2431, allocations: 28.16 kB / 0.7867 GB, free: 1.211 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000668/0.2438, allocations: 246.9 kB / 0.7869 GB, free: 0.9727 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003849/0.2442, allocations: 327.6 kB / 0.7872 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.721e-05/0.2443, allocations: 11.92 kB / 0.7872 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002702/0.2445, allocations: 191.7 kB / 0.7874 GB, free: 464 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.2448, allocations: 120 kB / 0.7875 GB, free: 344 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.087e-05/0.2449, allocations: 20 kB / 0.7875 GB, free: 324 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.815e-05/0.2449, allocations: 20 kB / 0.7876 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.245, allocations: 83.77 kB / 0.7876 GB, free: 220 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001419/0.2452, allocations: 119.4 kB / 0.7878 GB, free: 100 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3602/0.6054, allocations: 291.4 kB / 0.788 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.6055, allocations: 0 / 0.788 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.375e-06/0.6055, allocations: 0 / 0.788 GB, free: 47.18 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.6055, allocations: 2.625 kB / 0.788 GB, free: 47.18 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.0009844/0.6065, allocations: 0.7373 MB / 0.7888 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.6065, allocations: 8.375 kB / 0.7888 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.726e-05/0.6066, allocations: 36.94 kB / 0.7888 GB, free: 46.56 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.6069, allocations: 258.5 kB / 0.789 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.834e-05/0.6069, allocations: 18.33 kB / 0.7891 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.607, allocations: 18 kB / 0.7891 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008397/0.6078, allocations: 206.4 kB / 0.7893 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.6079, allocations: 1.219 kB / 0.7893 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.511e-05/0.6079, allocations: 3.875 kB / 0.7893 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6079, allocations: 6.453 kB / 0.7893 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006474/0.6085, allocations: 96.02 kB / 0.7894 GB, free: 46.3 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.6089, allocations: 322.7 kB / 0.7897 GB, free: 46.11 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008884/0.6097, allocations: 170.8 kB / 0.7899 GB, free: 46.08 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006249/0.6104, allocations: 103.7 kB / 0.79 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.6104, allocations: 7.859 kB / 0.79 GB, free: 46.07 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008393/0.6113, allocations: 213.1 kB / 0.7902 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 2.685e-06/0.6113, allocations: 0 / 0.7902 GB, free: 46.02 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002176/0.6135, allocations: 448 kB / 0.7906 GB, free: 45.98 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.6135, allocations: 66.25 kB / 0.7907 GB, free: 45.91 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.6138, allocations: 291.8 kB / 0.7909 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/0.6138, allocations: 35.52 kB / 0.791 GB, free: 45.77 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.733e-05/0.6139, allocations: 96.94 kB / 0.7911 GB, free: 45.69 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.6139, allocations: 40.08 kB / 0.7911 GB, free: 45.67 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.614, allocations: 96.62 kB / 0.7912 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.6141, allocations: 320.5 kB / 0.7915 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000171/0.6143, allocations: 81.62 kB / 0.7916 GB, free: 45.33 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.6145, allocations: 136.6 kB / 0.7917 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.6147, allocations: 240.1 kB / 0.7919 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.6147, allocations: 1.562 kB / 0.7919 GB, free: 45.16 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005232/0.6153, allocations: 396.5 kB / 0.7923 GB, free: 45.05 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 5.396e-05/0.6153, allocations: 75.52 kB / 0.7924 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.6153, allocations: 0.6562 kB / 0.7924 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.6154, allocations: 4.344 kB / 0.7924 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.6155, allocations: 21.45 kB / 0.7924 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.6156, allocations: 8.609 kB / 0.7924 GB, free: 44.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003978/0.616, allocations: 59.55 kB / 0.7925 GB, free: 44.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.834e-05/0.616, allocations: 42.27 kB / 0.7925 GB, free: 44.98 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.000159/0.6162, allocations: 166.5 kB / 0.7927 GB, free: 44.87 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/0.6162, allocations: 33.83 kB / 0.7927 GB, free: 44.85 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.6163, allocations: 27.41 kB / 0.7927 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.6163, allocations: 2.109 kB / 0.7927 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.6163, allocations: 1 kB / 0.7927 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.6163, allocations: 0 / 0.7927 GB, free: 44.84 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.6182, allocations: 0.6952 MB / 0.7934 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.6182, allocations: 1.688 kB / 0.7934 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-05/0.6182, allocations: 6.438 kB / 0.7934 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.6182, allocations: 0 / 0.7934 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.6183, allocations: 23.28 kB / 0.7934 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.6183, allocations: 3.281 kB / 0.7934 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.6183, allocations: 3.391 kB / 0.7934 GB, free: 44.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001451/0.6198, allocations: 455.1 kB / 0.7939 GB, free: 44.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001635/0.6199, allocations: 157.9 kB / 0.794 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.62, allocations: 13.08 kB / 0.794 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004101/0.6204, allocations: 30.45 kB / 0.7941 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.6205, allocations: 10.41 kB / 0.7941 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.746e-05/0.6205, allocations: 42.36 kB / 0.7941 GB, free: 44.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001663/0.6207, allocations: 210.7 kB / 0.7943 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6207, allocations: 3.531 kB / 0.7943 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003485/0.621, allocations: 46.31 kB / 0.7944 GB, free: 44.2 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.0001498/0.6212, allocations: 114.7 kB / 0.7945 GB, free: 44.11 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.6223, allocations: 388.3 kB / 0.7949 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6223, allocations: 0 / 0.7949 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006533/0.6229, allocations: 118.8 kB / 0.795 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.6233, allocations: 22.78 kB / 0.795 GB, free: 43.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.6245, allocations: 459 kB / 0.7954 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.6247, allocations: 0.744 MB / 0.7962 GB, free: 43.06 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.808e-05/0.6248, allocations: 18.19 kB / 0.7962 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of SimCode: time 2.01e-07/0.6248, allocations: 0 / 0.7962 GB, free: 43.05 MB / 0.6544 GB Notification: Performance of Templates: time 0.005156/0.63, allocations: 2.846 MB / 0.7989 GB, free: 42.88 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)