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.001272/0.001272, allocations: 108.3 kB / 16.37 MB, free: 6.309 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.001104/0.001105, allocations: 189.8 kB / 17.3 MB, free: 5.871 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.334/1.334, 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.777/1.777, allocations: 292.3 MB / 0.5496 GB, free: 17.67 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.001436/0.001437, allocations: 71.91 kB / 0.6729 GB, free: 5.871 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2109/0.2124, allocations: 114.6 MB / 0.7848 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002889/0.2153, allocations: 1.494 MB / 0.7862 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009447/0.2163, allocations: 431.3 kB / 0.7866 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.752e-05/0.2163, allocations: 4 kB / 0.7867 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.526e-05/0.2165, allocations: 7.875 kB / 0.7867 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.2166, allocations: 28.22 kB / 0.7867 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.2173, allocations: 246.5 kB / 0.7869 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0003889/0.2177, allocations: 323.5 kB / 0.7872 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.2177, allocations: 7.984 kB / 0.7872 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002863/0.218, allocations: 191.7 kB / 0.7874 GB, free: 492 kB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002489/0.2183, allocations: 116 kB / 0.7875 GB, free: 376 kB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 5.844e-05/0.2184, allocations: 20 kB / 0.7875 GB, free: 356 kB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 4.885e-05/0.2184, allocations: 24 kB / 0.7876 GB, free: 332 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.2185, allocations: 79.77 kB / 0.7876 GB, free: 252 kB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001477/0.2187, allocations: 123.4 kB / 0.7878 GB, free: 128 kB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.3842/0.6028, allocations: 293 kB / 0.788 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.6029, allocations: 0 / 0.788 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6029, allocations: 0 / 0.788 GB, free: 47.19 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.6029, allocations: 2.625 kB / 0.788 GB, free: 47.19 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.0009038/0.6038, allocations: 0.7366 MB / 0.7888 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.6039, allocations: 9.688 kB / 0.7888 GB, free: 46.58 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.416e-05/0.604, allocations: 33.59 kB / 0.7888 GB, free: 46.57 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.6042, allocations: 267.7 kB / 0.7891 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.79e-05/0.6043, allocations: 19.11 kB / 0.7891 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.6043, allocations: 14.91 kB / 0.7891 GB, free: 46.35 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008093/0.6052, allocations: 200.7 kB / 0.7893 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6052, allocations: 4.75 kB / 0.7893 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.6052, allocations: 1.312 kB / 0.7893 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.6052, allocations: 7.266 kB / 0.7893 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.6059, allocations: 94.89 kB / 0.7894 GB, free: 46.31 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.6061, allocations: 319 kB / 0.7897 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009121/0.6071, allocations: 174 kB / 0.7899 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006362/0.6077, allocations: 107 kB / 0.79 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.6077, allocations: 2.938 kB / 0.79 GB, free: 46.09 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008363/0.6086, allocations: 213.8 kB / 0.7902 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=16): time 1.814e-06/0.6086, allocations: 0 / 0.7902 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of matching and sorting (n=16): time 0.002207/0.6108, allocations: 450.5 kB / 0.7906 GB, free: 45.99 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.636e-05/0.6109, allocations: 66.41 kB / 0.7907 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002401/0.6111, allocations: 291.7 kB / 0.7909 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.589e-05/0.6112, allocations: 40.23 kB / 0.791 GB, free: 45.79 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.707e-05/0.6112, allocations: 89.3 kB / 0.7911 GB, free: 45.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.6113, allocations: 39.75 kB / 0.7911 GB, free: 45.68 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/0.6114, allocations: 98.11 kB / 0.7912 GB, free: 45.66 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.08e-05/0.6115, allocations: 324.6 kB / 0.7915 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001704/0.6116, allocations: 80.47 kB / 0.7916 GB, free: 45.34 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.6118, allocations: 135.3 kB / 0.7917 GB, free: 45.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.6121, allocations: 244.3 kB / 0.7919 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.6121, allocations: 0.5938 kB / 0.7919 GB, free: 45.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005549/0.6127, allocations: 391.2 kB / 0.7923 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.867e-05/0.6127, allocations: 81.23 kB / 0.7924 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.6127, allocations: 1.031 kB / 0.7924 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.6128, allocations: 3.375 kB / 0.7924 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.6129, allocations: 23.53 kB / 0.7924 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.6129, allocations: 4.25 kB / 0.7924 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/0.6134, allocations: 53.95 kB / 0.7925 GB, free: 45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.858e-05/0.6134, allocations: 47.25 kB / 0.7925 GB, free: 45 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.0001598/0.6136, allocations: 169.7 kB / 0.7927 GB, free: 44.88 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.001e-05/0.6136, allocations: 28.5 kB / 0.7927 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.373e-05/0.6137, allocations: 30.03 kB / 0.7927 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.6137, allocations: 2.578 kB / 0.7927 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.6137, allocations: 0 / 0.7927 GB, free: 44.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001499/0.6139, allocations: 161.5 kB / 0.7929 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.159e-05/0.6139, allocations: 10.72 kB / 0.7929 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/0.6143, allocations: 33.84 kB / 0.7929 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.6144, allocations: 11.98 kB / 0.793 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00142/0.6158, allocations: 411.2 kB / 0.7933 GB, free: 44.64 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001414/0.6172, allocations: 0.5103 MB / 0.7938 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006268/0.6179, allocations: 114.4 kB / 0.7939 GB, free: 44.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0001383/0.618, allocations: 207.8 kB / 0.7941 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of Backend: time 4.11e-07/0.618, allocations: 3.469 kB / 0.7942 GB, free: 44.34 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0006295/0.6187, allocations: 359.6 kB / 0.7945 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006049/0.6193, allocations: 0.7907 MB / 0.7953 GB, free: 43.49 MB / 0.6544 GB Notification: Performance of Templates: time 0.006659/0.6259, allocations: 3.766 MB / 0.7989 GB, free: 43.25 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)