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.001359/0.001359, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001428/0.001428, allocations: 189.8 kB / 16.25 MB, free: 6.625 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.367/1.367, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.657/1.657, allocations: 292.2 MB / 0.5485 GB, free: 13.63 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.002501/0.002502, allocations: 69.5 kB / 0.671 GB, free: 26.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2234, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.00245/0.2259, allocations: 1.541 MB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008323/0.2268, allocations: 436.3 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.108e-05/0.2268, allocations: 4 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.628e-05/0.2269, allocations: 3.938 kB / 0.7848 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.871e-05/0.227, allocations: 16.3 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005744/0.2276, allocations: 235.1 kB / 0.785 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.228, allocations: 323.9 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.52e-05/0.228, allocations: 4 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.2283, allocations: 246.2 kB / 0.7856 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.2285, allocations: 127.6 kB / 0.7857 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.275e-05/0.2286, allocations: 20 kB / 0.7857 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.948e-05/0.2286, allocations: 16 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.2287, allocations: 87.77 kB / 0.7858 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.2289, allocations: 135.3 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002862/0.2292, allocations: 299.3 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2292, allocations: 3.938 kB / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2292, allocations: 0 / 0.7862 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.2292, allocations: 0 / 0.7862 GB, free: 10.45 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.001018/0.2302, allocations: 0.746 MB / 0.7869 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2303, allocations: 8.031 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.424e-05/0.2304, allocations: 31.72 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.2307, allocations: 266.2 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.2307, allocations: 15.98 kB / 0.7873 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.727e-05/0.2308, allocations: 20 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009652/0.2318, allocations: 197.5 kB / 0.7875 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2318, allocations: 3.938 kB / 0.7875 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.289e-05/0.2318, allocations: 7.969 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2318, allocations: 4 kB / 0.7875 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007795/0.2326, allocations: 95.92 kB / 0.7876 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.233, allocations: 321.3 kB / 0.7879 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.234, allocations: 174.4 kB / 0.788 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007437/0.2348, allocations: 104.8 kB / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.2348, allocations: 0 / 0.7881 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009603/0.2358, allocations: 219.1 kB / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.2358, allocations: 0 / 0.7883 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002501/0.2383, allocations: 451.9 kB / 0.7888 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.2384, allocations: 67.38 kB / 0.7888 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002807/0.2387, allocations: 290.9 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.699e-05/0.2387, allocations: 37.7 kB / 0.7892 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.518e-05/0.2388, allocations: 93.12 kB / 0.7892 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.2389, allocations: 35.55 kB / 0.7893 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.239, allocations: 109.4 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.2392, allocations: 322.8 kB / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001956/0.2394, allocations: 75.95 kB / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002413/0.2396, allocations: 133.9 kB / 0.7899 GB, free: 6.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003219/0.24, allocations: 241.2 kB / 0.7901 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.24, allocations: 0 / 0.7901 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006658/0.2406, allocations: 399.3 kB / 0.7905 GB, free: 5.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.072e-05/0.2407, allocations: 75.33 kB / 0.7906 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.2407, allocations: 4 kB / 0.7906 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2408, allocations: 0 / 0.7906 GB, free: 5.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.2409, allocations: 31.91 kB / 0.7906 GB, free: 5.602 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.241, allocations: 4 kB / 0.7906 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005069/0.2415, allocations: 56.05 kB / 0.7907 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.2415, allocations: 35.98 kB / 0.7907 GB, free: 5.508 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.0001839/0.2417, allocations: 177 kB / 0.7909 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.2418, allocations: 31.59 kB / 0.7909 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.137e-05/0.2419, allocations: 26.3 kB / 0.7909 GB, free: 5.273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2419, allocations: 4 kB / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.2419, allocations: 0 / 0.7909 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2419, allocations: 3.984 kB / 0.7909 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.2439, allocations: 0.6975 MB / 0.7916 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.2439, allocations: 0 / 0.7916 GB, free: 4.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.422e-05/0.244, allocations: 4 kB / 0.7916 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.244, allocations: 4 kB / 0.7916 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.244, allocations: 19.97 kB / 0.7916 GB, free: 4.484 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.244, allocations: 4 kB / 0.7916 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.244, allocations: 0 / 0.7916 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/0.2457, allocations: 450.8 kB / 0.7921 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.2459, allocations: 164.6 kB / 0.7922 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.164e-05/0.246, allocations: 15.98 kB / 0.7922 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004719/0.2464, allocations: 31.97 kB / 0.7923 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/0.2465, allocations: 7.984 kB / 0.7923 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.2465, allocations: 35.98 kB / 0.7923 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001825/0.2467, allocations: 217.9 kB / 0.7925 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2467, allocations: 0 / 0.7925 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003222/0.2471, allocations: 51.98 kB / 0.7926 GB, free: 3.492 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.0001472/0.2472, allocations: 105.8 kB / 0.7927 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.2484, allocations: 401.2 kB / 0.7931 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2484, allocations: 0 / 0.7931 GB, free: 2.965 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0007539/0.2491, allocations: 115.8 kB / 0.7932 GB, free: 2.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.2495, allocations: 27.42 kB / 0.7932 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2508, allocations: 0.5036 MB / 0.7937 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002975/0.2511, allocations: 0.7435 MB / 0.7944 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.077e-05/0.2512, allocations: 9.094 kB / 0.7944 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.119e-05/0.2512, allocations: 19.42 kB / 0.7944 GB, free: 1.5 MB / 0.6075 GB Notification: Performance of SimCode: time 3.8e-07/0.2512, allocations: 4 kB / 0.7944 GB, free: 1.496 MB / 0.6075 GB Notification: Performance of Templates: time 0.006474/0.2577, allocations: 3.747 MB / 0.7981 GB, free: 13.77 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)