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.000882/0.0008821, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.007085/0.007085, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.391/1.391, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.667/1.667, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0005946/0.0005947, allocations: 15.94 kB / 0.6743 GB, free: 25.88 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1974/0.198, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.001538/0.1996, allocations: 1.206 MB / 0.789 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009128/0.2005, allocations: 451.4 kB / 0.7895 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.927e-05/0.2006, allocations: 0 / 0.7895 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 7.377e-05/0.2007, allocations: 7.922 kB / 0.7895 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.943e-05/0.2008, allocations: 20.23 kB / 0.7895 GB, free: 9.926 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006278/0.2014, allocations: 232.8 kB / 0.7897 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.2017, allocations: 303.9 kB / 0.79 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.065e-05/0.2018, allocations: 4 kB / 0.79 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000327/0.2021, allocations: 210.3 kB / 0.7902 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.2024, allocations: 123.6 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.446e-05/0.2024, allocations: 12 kB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.874e-05/0.2025, allocations: 8 kB / 0.7904 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.2026, allocations: 83.75 kB / 0.7904 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.2028, allocations: 149 kB / 0.7906 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002906/0.2031, allocations: 295.2 kB / 0.7909 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2031, allocations: 0 / 0.7909 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2031, allocations: 0 / 0.7909 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.2031, allocations: 4 kB / 0.7909 GB, free: 8.527 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.0009111/0.204, allocations: 0.6526 MB / 0.7915 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.2041, allocations: 8.031 kB / 0.7915 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.961e-05/0.2042, allocations: 35.7 kB / 0.7915 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.2045, allocations: 258.3 kB / 0.7918 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.501e-05/0.2045, allocations: 19.98 kB / 0.7918 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.531e-05/0.2046, allocations: 12 kB / 0.7918 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009817/0.2056, allocations: 216.1 kB / 0.792 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.2056, allocations: 3.938 kB / 0.792 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.719e-05/0.2056, allocations: 15.92 kB / 0.792 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.2056, allocations: 0 / 0.792 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007846/0.2064, allocations: 103.9 kB / 0.7921 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.2068, allocations: 325.2 kB / 0.7925 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.2079, allocations: 186.5 kB / 0.7926 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000767/0.2086, allocations: 112.8 kB / 0.7927 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.232e-05/0.2087, allocations: 4.359 kB / 0.7927 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.2097, allocations: 229.3 kB / 0.793 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.2097, allocations: 4 kB / 0.793 GB, free: 6.176 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002587/0.2123, allocations: 477 kB / 0.7934 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.822e-05/0.2124, allocations: 67.39 kB / 0.7935 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.2127, allocations: 287 kB / 0.7938 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.925e-05/0.2127, allocations: 33.7 kB / 0.7938 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.2128, allocations: 97.12 kB / 0.7939 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.2129, allocations: 39.53 kB / 0.7939 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.931e-05/0.2129, allocations: 33.7 kB / 0.794 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.2131, allocations: 326.8 kB / 0.7943 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.2133, allocations: 79.95 kB / 0.7943 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.2135, allocations: 145.8 kB / 0.7945 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.2138, allocations: 239.9 kB / 0.7947 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.2138, allocations: 0 / 0.7947 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006762/0.2145, allocations: 396.5 kB / 0.7951 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.821e-05/0.2146, allocations: 75.33 kB / 0.7952 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.2146, allocations: 4 kB / 0.7952 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2146, allocations: 0 / 0.7952 GB, free: 3.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.2148, allocations: 24.17 kB / 0.7952 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2148, allocations: 11.92 kB / 0.7952 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/0.2153, allocations: 55.88 kB / 0.7953 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.2154, allocations: 47.92 kB / 0.7953 GB, free: 3.645 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.0001788/0.2156, allocations: 177.7 kB / 0.7955 GB, free: 3.461 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.2156, allocations: 27.66 kB / 0.7955 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.983e-05/0.2157, allocations: 26.3 kB / 0.7955 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/0.2157, allocations: 4 kB / 0.7955 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.2157, allocations: 0 / 0.7955 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.2157, allocations: 0 / 0.7955 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002107/0.2178, allocations: 0.7236 MB / 0.7962 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.2178, allocations: 0 / 0.7962 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.833e-05/0.2179, allocations: 7.938 kB / 0.7962 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.2179, allocations: 3.938 kB / 0.7962 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.2179, allocations: 23.97 kB / 0.7963 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.2179, allocations: 0 / 0.7963 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.218, allocations: 0 / 0.7963 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.2197, allocations: 470.9 kB / 0.7967 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.2199, allocations: 160.6 kB / 0.7969 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.22, allocations: 19.97 kB / 0.7969 GB, free: 1.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004791/0.2205, allocations: 31.97 kB / 0.7969 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.2205, allocations: 11.98 kB / 0.7969 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.689e-05/0.2206, allocations: 35.98 kB / 0.797 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001793/0.2207, allocations: 213.9 kB / 0.7972 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2207, allocations: 0 / 0.7972 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003192/0.2211, allocations: 51.98 kB / 0.7972 GB, free: 1.586 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.0001328/0.2212, allocations: 116.9 kB / 0.7973 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001161/0.2224, allocations: 382.6 kB / 0.7977 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2224, allocations: 3.938 kB / 0.7977 GB, free: 1.059 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008102/0.2232, allocations: 132.2 kB / 0.7978 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.2236, allocations: 27.81 kB / 0.7978 GB, free: 0.9062 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.2249, allocations: 0.5106 MB / 0.7983 GB, free: 376 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.2252, allocations: 0.7438 MB / 0.7991 GB, free: 15.6 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.852e-05/0.2253, allocations: 13.08 kB / 0.7991 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.874e-05/0.2253, allocations: 15.38 kB / 0.7991 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of SimCode: time 3.21e-07/0.2254, allocations: 7.938 kB / 0.7991 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of Templates: time 0.00679/0.2321, allocations: 3.592 MB / 0.8026 GB, free: 11.99 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Utilities.Time.Examples.CalendarTime.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: