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.006638/0.006638, allocations: 101 kB / 15.73 MB, free: 6.055 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.001423/0.001423, allocations: 196.6 kB / 16.68 MB, free: 5.969 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.37/1.37, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.8775/0.8775, allocations: 143.1 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 64.59 kB / 0.5955 GB, free: 12.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.168, allocations: 82.03 MB / 0.6756 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003087/0.1711, allocations: 1.484 MB / 0.677 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.1724, allocations: 445.2 kB / 0.6775 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.1725, allocations: 4 kB / 0.6775 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.1726, allocations: 11.86 kB / 0.6775 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.1727, allocations: 24.17 kB / 0.6775 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008887/0.1736, allocations: 242.6 kB / 0.6777 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0006771/0.1743, allocations: 323.6 kB / 0.678 GB, free: 7.855 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.356e-05/0.1744, allocations: 11.98 kB / 0.6781 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.1749, allocations: 199.6 kB / 0.6782 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003344/0.1752, allocations: 126.5 kB / 0.6784 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.787e-05/0.1753, allocations: 16 kB / 0.6784 GB, free: 7.512 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.296e-05/0.1754, allocations: 20 kB / 0.6784 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.1755, allocations: 79.78 kB / 0.6785 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002362/0.1758, allocations: 123.4 kB / 0.6786 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0004055/0.1762, allocations: 299 kB / 0.6789 GB, free: 7 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.1762, allocations: 0 / 0.6789 GB, free: 7 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.466e-06/0.1762, allocations: 4 kB / 0.6789 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.312e-05/0.1762, allocations: 4 kB / 0.6789 GB, free: 6.992 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.001108/0.1773, allocations: 0.7384 MB / 0.6796 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.1774, allocations: 8.031 kB / 0.6796 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.1775, allocations: 36.56 kB / 0.6796 GB, free: 6.125 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.1779, allocations: 259.6 kB / 0.6799 GB, free: 5.836 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/0.178, allocations: 12.38 kB / 0.6799 GB, free: 5.824 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.25e-05/0.178, allocations: 23.88 kB / 0.6799 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.1792, allocations: 209.4 kB / 0.6801 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.1792, allocations: 0 / 0.6801 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.831e-05/0.1792, allocations: 7.938 kB / 0.6801 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1792, allocations: 0 / 0.6801 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007555/0.18, allocations: 95.92 kB / 0.6802 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003821/0.1805, allocations: 321.3 kB / 0.6805 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.1815, allocations: 178.3 kB / 0.6807 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007464/0.1823, allocations: 108.8 kB / 0.6808 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.521e-05/0.1823, allocations: 0 / 0.6808 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009826/0.1833, allocations: 207.2 kB / 0.681 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 2.966e-06/0.1833, allocations: 4 kB / 0.681 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002532/0.1859, allocations: 454.6 kB / 0.6814 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001429/0.186, allocations: 63.39 kB / 0.6815 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.1863, allocations: 287 kB / 0.6818 GB, free: 3.797 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.1863, allocations: 37.7 kB / 0.6818 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.118e-05/0.1864, allocations: 93.12 kB / 0.6819 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.844e-05/0.1865, allocations: 43.44 kB / 0.6819 GB, free: 3.617 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.1866, allocations: 97.48 kB / 0.682 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.1867, allocations: 318.8 kB / 0.6823 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001828/0.1869, allocations: 83.95 kB / 0.6824 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.1871, allocations: 143.6 kB / 0.6826 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/0.1874, allocations: 238.7 kB / 0.6828 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.1874, allocations: 3.938 kB / 0.6828 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006078/0.188, allocations: 384.7 kB / 0.6832 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/0.1881, allocations: 75.38 kB / 0.6832 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.1881, allocations: 192 / 0.6832 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.1882, allocations: 8 kB / 0.6832 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.1883, allocations: 27.92 kB / 0.6833 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1884, allocations: 0 / 0.6833 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004475/0.1888, allocations: 55.77 kB / 0.6833 GB, free: 2.113 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.275e-05/0.1889, allocations: 43.97 kB / 0.6834 GB, free: 2.07 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.0001801/0.1891, allocations: 181.6 kB / 0.6835 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.1891, allocations: 27.7 kB / 0.6836 GB, free: 1.855 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.054e-05/0.1892, allocations: 30.3 kB / 0.6836 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1892, allocations: 0 / 0.6836 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.1892, allocations: 0 / 0.6836 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.1892, allocations: 4 kB / 0.6836 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002317/0.1915, allocations: 0.6974 MB / 0.6843 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1915, allocations: 0 / 0.6843 GB, free: 1.062 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.1916, allocations: 8 kB / 0.6843 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1916, allocations: 0 / 0.6843 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.1916, allocations: 19.91 kB / 0.6843 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1916, allocations: 0 / 0.6843 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1916, allocations: 0 / 0.6843 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001792/0.1934, allocations: 454.9 kB / 0.6847 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002053/0.1936, allocations: 164.6 kB / 0.6849 GB, free: 408 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.718e-05/0.1937, allocations: 8 kB / 0.6849 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/0.1942, allocations: 39.95 kB / 0.6849 GB, free: 360 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.021e-05/0.1942, allocations: 4 kB / 0.6849 GB, free: 356 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.1943, allocations: 47.91 kB / 0.685 GB, free: 308 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001937/0.1945, allocations: 213.9 kB / 0.6852 GB, free: 96 kB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1945, allocations: 0 / 0.6852 GB, free: 96 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003138/0.1948, allocations: 44 kB / 0.6852 GB, free: 52 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.0001603/0.195, allocations: 113 kB / 0.6853 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001275/0.1963, allocations: 382.5 kB / 0.6857 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1963, allocations: 0 / 0.6857 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007714/0.1971, allocations: 116.2 kB / 0.6858 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003392/0.1974, allocations: 28.62 kB / 0.6858 GB, free: 15.39 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1988, allocations: 431 kB / 0.6862 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/0.1991, allocations: 0.7396 MB / 0.687 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.504e-05/0.1992, allocations: 13.08 kB / 0.687 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.1992, allocations: 15.44 kB / 0.687 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of SimCode: time 2.61e-07/0.1992, allocations: 4 kB / 0.687 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of Templates: time 0.007365/0.2066, allocations: 3.674 MB / 0.6906 GB, free: 10.48 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)