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.006321/0.006321, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001153/0.001153, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.44/1.44, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.06/1.06, allocations: 143 MB / 433.6 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001228, allocations: 63.89 kB / 0.5955 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4395, allocations: 82.03 MB / 0.6756 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002748/0.4423, allocations: 1.474 MB / 0.677 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.4434, allocations: 442.6 kB / 0.6775 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.5e-05/0.4435, allocations: 1.312 kB / 0.6775 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.085e-05/0.4436, allocations: 7.875 kB / 0.6775 GB, free: 144 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 9.451e-05/0.4437, allocations: 24.77 kB / 0.6775 GB, free: 128 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.4444, allocations: 251.3 kB / 0.6777 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.4447, allocations: 332.1 kB / 0.678 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.4448, allocations: 9.375 kB / 0.6781 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.4451, allocations: 202.2 kB / 0.6782 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.4453, allocations: 113.9 kB / 0.6784 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.988e-05/0.4454, allocations: 19.16 kB / 0.6784 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 5.999e-05/0.4454, allocations: 19.31 kB / 0.6784 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001078/0.4456, allocations: 81.42 kB / 0.6785 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.4457, allocations: 125.2 kB / 0.6786 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003182/0.446, allocations: 306.1 kB / 0.6789 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.446, allocations: 0 / 0.6789 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.615e-06/0.446, allocations: 0 / 0.6789 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.4461, allocations: 5.406 kB / 0.6789 GB, free: 15.24 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.001145/0.4472, allocations: 0.7378 MB / 0.6796 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.4473, allocations: 9.969 kB / 0.6796 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.4474, allocations: 34.56 kB / 0.6796 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.4477, allocations: 263.5 kB / 0.6799 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.4477, allocations: 11.64 kB / 0.6799 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.882e-05/0.4478, allocations: 22.47 kB / 0.6799 GB, free: 14.24 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009558/0.4487, allocations: 204 kB / 0.6801 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.4488, allocations: 0 / 0.6801 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.928e-05/0.4488, allocations: 5.109 kB / 0.6801 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.4488, allocations: 2.375 kB / 0.6801 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007579/0.4496, allocations: 99.23 kB / 0.6802 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003549/0.4499, allocations: 308.9 kB / 0.6805 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.451, allocations: 177.3 kB / 0.6807 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007612/0.4518, allocations: 111.9 kB / 0.6808 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.4518, allocations: 2.219 kB / 0.6808 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000985/0.4528, allocations: 214.6 kB / 0.681 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 1.643e-06/0.4528, allocations: 4 kB / 0.681 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002578/0.4554, allocations: 441.9 kB / 0.6814 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.4555, allocations: 67.89 kB / 0.6815 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/0.4558, allocations: 292.4 kB / 0.6818 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.669e-05/0.4558, allocations: 35.73 kB / 0.6818 GB, free: 13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.664e-05/0.4559, allocations: 93.64 kB / 0.6819 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.567e-05/0.4559, allocations: 33.52 kB / 0.6819 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.4561, allocations: 102.3 kB / 0.682 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.4562, allocations: 321.6 kB / 0.6823 GB, free: 12.5 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.4564, allocations: 88.94 kB / 0.6824 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.4566, allocations: 135.5 kB / 0.6825 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/0.4569, allocations: 236.8 kB / 0.6828 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.457, allocations: 3.938 kB / 0.6828 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006062/0.4576, allocations: 400.7 kB / 0.6832 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-05/0.4577, allocations: 71.77 kB / 0.6832 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/0.4577, allocations: 5.359 kB / 0.6832 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.4577, allocations: 6.938 kB / 0.6832 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001754/0.4579, allocations: 27.05 kB / 0.6833 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.4579, allocations: 2.75 kB / 0.6833 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004595/0.4584, allocations: 51.42 kB / 0.6833 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.4585, allocations: 44.23 kB / 0.6834 GB, free: 11.82 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.0002193/0.4587, allocations: 169.4 kB / 0.6835 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.551e-05/0.4587, allocations: 27.94 kB / 0.6835 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.322e-05/0.4588, allocations: 28.55 kB / 0.6836 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.4588, allocations: 1.375 kB / 0.6836 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.4589, allocations: 4.984 kB / 0.6836 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.4589, allocations: 4 kB / 0.6836 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.4611, allocations: 0.6941 MB / 0.6843 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.4611, allocations: 0 / 0.6843 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.808e-05/0.4611, allocations: 8.828 kB / 0.6843 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4611, allocations: 0 / 0.6843 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.135e-05/0.4612, allocations: 16.8 kB / 0.6843 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4612, allocations: 1.344 kB / 0.6843 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.4612, allocations: 0 / 0.6843 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.4629, allocations: 449.2 kB / 0.6847 GB, free: 10.85 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001744/0.4631, allocations: 157.4 kB / 0.6849 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.4632, allocations: 13.58 kB / 0.6849 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/0.4637, allocations: 30.91 kB / 0.6849 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/0.4637, allocations: 12.02 kB / 0.6849 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.793e-05/0.4638, allocations: 46.47 kB / 0.685 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001868/0.464, allocations: 209.9 kB / 0.6852 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.464, allocations: 0 / 0.6852 GB, free: 10.53 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003395/0.4643, allocations: 49.67 kB / 0.6852 GB, free: 10.52 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.0001785/0.4645, allocations: 120.1 kB / 0.6853 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001208/0.4657, allocations: 385.7 kB / 0.6857 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.4657, allocations: 0 / 0.6857 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007813/0.4665, allocations: 109 kB / 0.6858 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003706/0.4669, allocations: 29.55 kB / 0.6858 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.4682, allocations: 431.2 kB / 0.6862 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.4685, allocations: 0.742 MB / 0.687 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.038e-05/0.4686, allocations: 13.2 kB / 0.687 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.973e-05/0.4687, allocations: 18.75 kB / 0.687 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of SimCode: time 2.81e-07/0.4687, allocations: 4 kB / 0.687 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of Templates: time 0.006799/0.4755, allocations: 3.686 MB / 0.6906 GB, free: 6.789 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)