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.001582/0.001582, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002009/0.002009, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.37/1.37, allocations: 205.1 MB / 222.4 MB, free: 4.566 MB / 174.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.683/1.683, allocations: 292.3 MB / 0.5489 GB, free: 12.87 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.001464/0.001464, allocations: 66.73 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1991/0.2006, allocations: 114.5 MB / 0.7833 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002604/0.2032, allocations: 1.495 MB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000931/0.2042, allocations: 419.4 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.084e-05/0.2042, allocations: 7.938 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.111e-05/0.2043, allocations: 11.86 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.861e-05/0.2044, allocations: 24.23 kB / 0.7852 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006067/0.205, allocations: 249.9 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003105/0.2053, allocations: 319.5 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.175e-05/0.2054, allocations: 11.92 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.2056, allocations: 195.8 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.2058, allocations: 112 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.2059, allocations: 20 kB / 0.7861 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.974e-05/0.206, allocations: 20 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.484e-05/0.2061, allocations: 79.78 kB / 0.7862 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.2062, allocations: 135.3 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.2065, allocations: 291.3 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2065, allocations: 0 / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.243e-06/0.2065, allocations: 0 / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2065, allocations: 4 kB / 0.7866 GB, free: 10.13 MB / 0.6075 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.000974/0.2075, allocations: 0.7422 MB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.2076, allocations: 8.031 kB / 0.7874 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.655e-05/0.2077, allocations: 36.66 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.208, allocations: 263.6 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.04e-05/0.208, allocations: 12.38 kB / 0.7877 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.095e-05/0.2081, allocations: 23.92 kB / 0.7877 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009552/0.209, allocations: 201.4 kB / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2091, allocations: 0 / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.2091, allocations: 0 / 0.7879 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.2091, allocations: 4 kB / 0.7879 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007772/0.2099, allocations: 107.9 kB / 0.788 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003524/0.2103, allocations: 317.2 kB / 0.7883 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.2113, allocations: 177.1 kB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007664/0.2121, allocations: 108.8 kB / 0.7885 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.2121, allocations: 4 kB / 0.7886 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009359/0.2131, allocations: 218.4 kB / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.2131, allocations: 0 / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002523/0.2156, allocations: 441 kB / 0.7892 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.2157, allocations: 59.41 kB / 0.7892 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.216, allocations: 298.8 kB / 0.7895 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.216, allocations: 37.7 kB / 0.7896 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.077e-05/0.2161, allocations: 89.14 kB / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.697e-05/0.2162, allocations: 43.53 kB / 0.7897 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.2163, allocations: 97.48 kB / 0.7898 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2164, allocations: 322.8 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/0.2167, allocations: 87.88 kB / 0.7902 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002272/0.2169, allocations: 134 kB / 0.7903 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.2172, allocations: 236.1 kB / 0.7905 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.2172, allocations: 3.938 kB / 0.7905 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006621/0.2179, allocations: 400.5 kB / 0.7909 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.821e-05/0.218, allocations: 80.31 kB / 0.791 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.218, allocations: 4 kB / 0.791 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.218, allocations: 0 / 0.791 GB, free: 5.312 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001628/0.2182, allocations: 27.86 kB / 0.791 GB, free: 5.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2182, allocations: 4 kB / 0.791 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004821/0.2187, allocations: 56.05 kB / 0.7911 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/0.2188, allocations: 39.98 kB / 0.7911 GB, free: 5.188 MB / 0.6075 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.0001798/0.2189, allocations: 180.9 kB / 0.7913 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.781e-05/0.219, allocations: 23.72 kB / 0.7913 GB, free: 4.98 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.873e-05/0.2191, allocations: 38.28 kB / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2191, allocations: 0 / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2191, allocations: 0 / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.2191, allocations: 0 / 0.7913 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002161/0.2213, allocations: 0.6972 MB / 0.792 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2213, allocations: 0 / 0.792 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.2213, allocations: 4 kB / 0.792 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.2213, allocations: 4 kB / 0.792 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.977e-05/0.2214, allocations: 19.97 kB / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2214, allocations: 0 / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2214, allocations: 0 / 0.7921 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001754/0.2231, allocations: 450 kB / 0.7925 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.2233, allocations: 164.6 kB / 0.7926 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.97e-05/0.2234, allocations: 8 kB / 0.7926 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005002/0.2239, allocations: 39.89 kB / 0.7927 GB, free: 3.484 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.142e-05/0.224, allocations: 4 kB / 0.7927 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.799e-05/0.224, allocations: 47.91 kB / 0.7927 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001825/0.2242, allocations: 217.9 kB / 0.7929 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2242, allocations: 4 kB / 0.7929 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003319/0.2246, allocations: 44 kB / 0.793 GB, free: 3.176 MB / 0.6075 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.0001438/0.2247, allocations: 117 kB / 0.7931 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.2259, allocations: 378.5 kB / 0.7935 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2259, allocations: 4.375 kB / 0.7935 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008027/0.2267, allocations: 123.8 kB / 0.7936 GB, free: 2.531 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.2271, allocations: 26.12 kB / 0.7936 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001313/0.2284, allocations: 440 kB / 0.794 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.2287, allocations: 0.7396 MB / 0.7947 GB, free: 1.293 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.926e-05/0.2288, allocations: 13.08 kB / 0.7948 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.2289, allocations: 19.42 kB / 0.7948 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2289, allocations: 0 / 0.7948 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of Templates: time 0.006734/0.2356, allocations: 3.671 MB / 0.7984 GB, free: 13.61 MB / 0.6231 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)