Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009864/0.0009866, allocations: 104.6 kB / 16.41 MB, free: 6.5 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.001023/0.001023, allocations: 185.6 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.826/0.826, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.34 kB / 0.5962 GB, free: 12.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1552, allocations: 82.04 MB / 0.6763 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003034/0.1583, allocations: 1.484 MB / 0.6777 GB, free: 8.992 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001074/0.1594, allocations: 435.3 kB / 0.6781 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.625e-05/0.1595, allocations: 0 / 0.6781 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.1596, allocations: 7.875 kB / 0.6781 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.1598, allocations: 32.16 kB / 0.6782 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008249/0.1606, allocations: 246.8 kB / 0.6784 GB, free: 8.285 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004774/0.1611, allocations: 323.6 kB / 0.6787 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.838e-05/0.1612, allocations: 12 kB / 0.6787 GB, free: 7.957 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003698/0.1615, allocations: 195.6 kB / 0.6789 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.1619, allocations: 124 kB / 0.679 GB, free: 7.645 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.162, allocations: 20 kB / 0.6791 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.779e-05/0.1621, allocations: 16 kB / 0.6791 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.1622, allocations: 79.78 kB / 0.6791 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001535/0.1623, allocations: 123.4 kB / 0.6793 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003708/0.1627, allocations: 307 kB / 0.6796 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1627, allocations: 0 / 0.6796 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1627, allocations: 0 / 0.6796 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.1627, allocations: 0 / 0.6796 GB, free: 7.109 MB / 0.5137 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.001252/0.164, allocations: 0.7345 MB / 0.6803 GB, free: 6.289 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.1641, allocations: 15.95 kB / 0.6803 GB, free: 6.273 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/0.1642, allocations: 36.56 kB / 0.6803 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.1645, allocations: 267.6 kB / 0.6806 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.971e-05/0.1645, allocations: 8.375 kB / 0.6806 GB, free: 5.934 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.452e-05/0.1646, allocations: 23.94 kB / 0.6806 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.1656, allocations: 201.4 kB / 0.6808 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.1657, allocations: 0 / 0.6808 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.1657, allocations: 3.938 kB / 0.6808 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1657, allocations: 4 kB / 0.6808 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007859/0.1665, allocations: 103.9 kB / 0.6809 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.1669, allocations: 313.3 kB / 0.6812 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.1679, allocations: 174.3 kB / 0.6814 GB, free: 5.062 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007333/0.1687, allocations: 112.8 kB / 0.6815 GB, free: 4.949 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.644e-05/0.1687, allocations: 4 kB / 0.6815 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009625/0.1697, allocations: 207.2 kB / 0.6817 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 2.113e-06/0.1697, allocations: 0 / 0.6817 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002504/0.1722, allocations: 452.9 kB / 0.6821 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.1723, allocations: 63.39 kB / 0.6822 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000285/0.1726, allocations: 287 kB / 0.6824 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.286e-05/0.1726, allocations: 37.7 kB / 0.6825 GB, free: 3.871 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.565e-05/0.1727, allocations: 93.12 kB / 0.6826 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 5.978e-05/0.1728, allocations: 43.44 kB / 0.6826 GB, free: 3.734 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.1729, allocations: 97.48 kB / 0.6827 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1731, allocations: 326.8 kB / 0.683 GB, free: 3.305 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.1733, allocations: 75.95 kB / 0.6831 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002084/0.1735, allocations: 139.6 kB / 0.6832 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.1738, allocations: 247.8 kB / 0.6835 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.1738, allocations: 3.938 kB / 0.6835 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006096/0.1744, allocations: 388.9 kB / 0.6838 GB, free: 2.398 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.639e-05/0.1745, allocations: 75.38 kB / 0.6839 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.1745, allocations: 0 / 0.6839 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.1746, allocations: 4 kB / 0.6839 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.1747, allocations: 23.92 kB / 0.6839 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1748, allocations: 0 / 0.6839 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004509/0.1752, allocations: 59.77 kB / 0.684 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.927e-05/0.1753, allocations: 40.02 kB / 0.684 GB, free: 2.188 MB / 0.5137 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.0002085/0.1755, allocations: 185.6 kB / 0.6842 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.935e-05/0.1756, allocations: 23.72 kB / 0.6842 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.1756, allocations: 26.3 kB / 0.6843 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1756, allocations: 4 kB / 0.6843 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1756, allocations: 0 / 0.6843 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.808e-06/0.1756, allocations: 0 / 0.6843 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00205/0.1777, allocations: 0.7003 MB / 0.6849 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1777, allocations: 0 / 0.6849 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.874e-05/0.1778, allocations: 4 kB / 0.6849 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.1778, allocations: 0 / 0.6849 GB, free: 1.18 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.259e-05/0.1778, allocations: 19.97 kB / 0.685 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.1778, allocations: 0 / 0.685 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1778, allocations: 8 kB / 0.685 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.1795, allocations: 439.4 kB / 0.6854 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.1797, allocations: 172.6 kB / 0.6856 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.604e-05/0.1798, allocations: 8 kB / 0.6856 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004623/0.1803, allocations: 27.97 kB / 0.6856 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.079e-05/0.1803, allocations: 11.98 kB / 0.6856 GB, free: 484 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.605e-05/0.1804, allocations: 51.91 kB / 0.6856 GB, free: 432 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001876/0.1806, allocations: 209.9 kB / 0.6858 GB, free: 224 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1806, allocations: 0 / 0.6858 GB, free: 224 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003478/0.1809, allocations: 48 kB / 0.6859 GB, free: 176 kB / 0.5137 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.0001641/0.1811, allocations: 121 kB / 0.686 GB, free: 40 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001202/0.1823, allocations: 374.5 kB / 0.6864 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.1823, allocations: 0 / 0.6864 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007823/0.1831, allocations: 120.2 kB / 0.6865 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003693/0.1835, allocations: 33.16 kB / 0.6865 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.1849, allocations: 468.6 kB / 0.687 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.1852, allocations: 0.7414 MB / 0.6877 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.107e-05/0.1853, allocations: 15.44 kB / 0.6877 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1853, allocations: 0 / 0.6877 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of Templates: time 0.004969/0.1903, allocations: 2.867 MB / 0.6905 GB, free: 11.37 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)