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.008699/0.008699, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001749/0.001749, allocations: 200.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.461/1.461, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.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 1.006/1.006, allocations: 143 MB / 433.6 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.14 kB / 0.5955 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4863/0.4876, allocations: 82.03 MB / 0.6756 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002089/0.4897, allocations: 1.472 MB / 0.677 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008506/0.4906, allocations: 448.3 kB / 0.6775 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.284e-05/0.4906, allocations: 1.094 kB / 0.6775 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 9.544e-05/0.4907, allocations: 11.86 kB / 0.6775 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 9.645e-05/0.4908, allocations: 19.72 kB / 0.6775 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006499/0.4915, allocations: 247.5 kB / 0.6777 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.4919, allocations: 329.4 kB / 0.678 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.4919, allocations: 8.766 kB / 0.678 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002722/0.4922, allocations: 197.4 kB / 0.6782 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002291/0.4925, allocations: 109.5 kB / 0.6783 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.622e-05/0.4925, allocations: 24 kB / 0.6784 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.427e-05/0.4926, allocations: 18.88 kB / 0.6784 GB, free: 15.44 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.4927, allocations: 78.47 kB / 0.6785 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.4929, allocations: 136.1 kB / 0.6786 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.4932, allocations: 302.4 kB / 0.6789 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.4932, allocations: 0 / 0.6789 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.734e-06/0.4933, allocations: 0 / 0.6789 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.4933, allocations: 1.156 kB / 0.6789 GB, free: 15.1 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.001063/0.4943, allocations: 0.7504 MB / 0.6796 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.4944, allocations: 12.48 kB / 0.6796 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.273e-05/0.4945, allocations: 31.61 kB / 0.6796 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.4948, allocations: 266.6 kB / 0.6799 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.4948, allocations: 12.62 kB / 0.6799 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.76e-05/0.4949, allocations: 23 kB / 0.6799 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009254/0.4958, allocations: 207.4 kB / 0.6801 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4958, allocations: 4 kB / 0.6801 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.4959, allocations: 1.5 kB / 0.6801 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.4959, allocations: 1.469 kB / 0.6801 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000729/0.4966, allocations: 92.27 kB / 0.6802 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.497, allocations: 325 kB / 0.6805 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009854/0.498, allocations: 172.9 kB / 0.6807 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/0.4987, allocations: 104.2 kB / 0.6808 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.4988, allocations: 2.25 kB / 0.6808 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009017/0.4997, allocations: 222.2 kB / 0.681 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.4997, allocations: 0 / 0.681 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002434/0.5021, allocations: 450.5 kB / 0.6814 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.5022, allocations: 59.52 kB / 0.6815 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.5025, allocations: 288.6 kB / 0.6818 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.5025, allocations: 47.08 kB / 0.6818 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.575e-05/0.5026, allocations: 90.41 kB / 0.6819 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.882e-05/0.5027, allocations: 41.31 kB / 0.6819 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.5028, allocations: 98.23 kB / 0.682 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.503, allocations: 325.6 kB / 0.6824 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002061/0.5032, allocations: 81.14 kB / 0.6824 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002211/0.5034, allocations: 138.9 kB / 0.6826 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003128/0.5037, allocations: 237.6 kB / 0.6828 GB, free: 12 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.5037, allocations: 5.188 kB / 0.6828 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006622/0.5044, allocations: 392.7 kB / 0.6832 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.908e-05/0.5045, allocations: 79.75 kB / 0.6832 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5045, allocations: 1.375 kB / 0.6832 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.5045, allocations: 2.75 kB / 0.6832 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.5047, allocations: 21.67 kB / 0.6833 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.719e-06/0.5047, allocations: 4.125 kB / 0.6833 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004358/0.5052, allocations: 59.66 kB / 0.6833 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.5052, allocations: 43.73 kB / 0.6834 GB, free: 11.65 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.0001908/0.5054, allocations: 174.5 kB / 0.6835 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.521e-05/0.5055, allocations: 22.86 kB / 0.6836 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.307e-05/0.5055, allocations: 29.3 kB / 0.6836 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5055, allocations: 1.375 kB / 0.6836 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5056, allocations: 4 kB / 0.6836 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5056, allocations: 1.375 kB / 0.6836 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.5076, allocations: 0.6936 MB / 0.6843 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.5076, allocations: 4 kB / 0.6843 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.475e-05/0.5077, allocations: 3.844 kB / 0.6843 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5077, allocations: 1.5 kB / 0.6843 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.736e-05/0.5077, allocations: 24.09 kB / 0.6843 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.5077, allocations: 5.641 kB / 0.6843 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5077, allocations: 3.984 kB / 0.6843 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001663/0.5094, allocations: 451.1 kB / 0.6847 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.5096, allocations: 160.7 kB / 0.6849 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.966e-05/0.5097, allocations: 14.03 kB / 0.6849 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004493/0.5101, allocations: 27.47 kB / 0.6849 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.5102, allocations: 12.27 kB / 0.6849 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.083e-05/0.5102, allocations: 54.38 kB / 0.685 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002115/0.5105, allocations: 209.2 kB / 0.6852 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5105, allocations: 1.375 kB / 0.6852 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003363/0.5108, allocations: 44.62 kB / 0.6852 GB, free: 10.34 MB / 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.0001579/0.511, allocations: 115.6 kB / 0.6854 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001195/0.5122, allocations: 384 kB / 0.6857 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5122, allocations: 0 / 0.6857 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007469/0.5129, allocations: 114.1 kB / 0.6858 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.5133, allocations: 32.92 kB / 0.6859 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.5147, allocations: 434.8 kB / 0.6863 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.5151, allocations: 0.7384 MB / 0.687 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.773e-05/0.5151, allocations: 12.42 kB / 0.687 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.5152, allocations: 17.88 kB / 0.687 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.5152, allocations: 0 / 0.687 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of Templates: time 0.008349/0.5235, allocations: 3.679 MB / 0.6906 GB, free: 6.629 MB / 0.5137 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)