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.001063/0.001063, allocations: 99.7 kB / 16.35 MB, free: 5.828 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.001158/0.001158, allocations: 197.2 kB / 17.3 MB, free: 5.484 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.354/1.354, 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.8971/0.8971, allocations: 143.1 MB / 434.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002425/0.002425, allocations: 79.88 kB / 0.5156 GB, free: 14.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3699, allocations: 82.02 MB / 0.5957 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002695/0.3727, allocations: 1.475 MB / 0.5971 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008257/0.3736, allocations: 439.2 kB / 0.5975 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.3736, allocations: 0 / 0.5975 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001042/0.3738, allocations: 16.77 kB / 0.5976 GB, free: 14.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.3739, allocations: 16.23 kB / 0.5976 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007401/0.3747, allocations: 255.4 kB / 0.5978 GB, free: 13.94 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003624/0.375, allocations: 327.5 kB / 0.5981 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.18e-05/0.3751, allocations: 4.812 kB / 0.5981 GB, free: 13.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.3754, allocations: 199.7 kB / 0.5983 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002174/0.3756, allocations: 114.9 kB / 0.5984 GB, free: 13.31 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.3757, allocations: 20 kB / 0.5985 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.651e-05/0.3757, allocations: 20 kB / 0.5985 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.237e-05/0.3758, allocations: 75.78 kB / 0.5985 GB, free: 13.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.3759, allocations: 127.3 kB / 0.5987 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.3762, allocations: 306.9 kB / 0.599 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3762, allocations: 1.469 kB / 0.599 GB, free: 12.77 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3762, allocations: 0 / 0.599 GB, free: 12.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.3762, allocations: 0 / 0.599 GB, free: 12.77 MB / 446.1 MB 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.0009072/0.3771, allocations: 0.7372 MB / 0.5997 GB, free: 11.95 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.3772, allocations: 13.5 kB / 0.5997 GB, free: 11.94 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.599e-05/0.3773, allocations: 32.56 kB / 0.5997 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.3775, allocations: 267.6 kB / 0.6 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.473e-05/0.3776, allocations: 13.72 kB / 0.6 GB, free: 11.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.527e-05/0.3776, allocations: 23.92 kB / 0.6 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008305/0.3785, allocations: 198.8 kB / 0.6002 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.3785, allocations: 0 / 0.6002 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.3785, allocations: 9.438 kB / 0.6002 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3785, allocations: 4 kB / 0.6002 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000654/0.3792, allocations: 97.25 kB / 0.6003 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/0.3795, allocations: 309.3 kB / 0.6006 GB, free: 10.92 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000876/0.3804, allocations: 181.6 kB / 0.6008 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006361/0.381, allocations: 106.2 kB / 0.6009 GB, free: 10.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.3811, allocations: 9.344 kB / 0.6009 GB, free: 10.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008137/0.3819, allocations: 211 kB / 0.6011 GB, free: 10.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 2.675e-06/0.3819, allocations: 1.219 kB / 0.6011 GB, free: 10.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002117/0.384, allocations: 444.7 kB / 0.6015 GB, free: 9.973 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.041e-05/0.3841, allocations: 63.39 kB / 0.6016 GB, free: 9.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.3843, allocations: 296.4 kB / 0.6019 GB, free: 9.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.3843, allocations: 37.69 kB / 0.6019 GB, free: 9.547 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.38e-05/0.3844, allocations: 89.14 kB / 0.602 GB, free: 9.457 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.3844, allocations: 40.89 kB / 0.602 GB, free: 9.418 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.3846, allocations: 97.42 kB / 0.6021 GB, free: 9.316 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.959e-05/0.3846, allocations: 324.2 kB / 0.6024 GB, free: 8.992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.3848, allocations: 79.95 kB / 0.6025 GB, free: 8.914 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.385, allocations: 139.5 kB / 0.6026 GB, free: 8.758 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002607/0.3852, allocations: 231.8 kB / 0.6028 GB, free: 8.504 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3852, allocations: 3.938 kB / 0.6029 GB, free: 8.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005259/0.3858, allocations: 398.2 kB / 0.6032 GB, free: 8.094 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.3858, allocations: 71.39 kB / 0.6033 GB, free: 8.012 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.3859, allocations: 4 kB / 0.6033 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/0.3859, allocations: 0.7188 kB / 0.6033 GB, free: 8.008 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001709/0.3861, allocations: 27.97 kB / 0.6033 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.3861, allocations: 8.625 kB / 0.6033 GB, free: 7.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004223/0.3865, allocations: 57.3 kB / 0.6034 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.3866, allocations: 37.31 kB / 0.6034 GB, free: 7.883 MB / 446.1 MB 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.0001311/0.3867, allocations: 173.7 kB / 0.6036 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.006e-05/0.3868, allocations: 24.53 kB / 0.6036 GB, free: 7.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.3868, allocations: 26.3 kB / 0.6036 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.3868, allocations: 4.906 kB / 0.6036 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3868, allocations: 0 / 0.6036 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3868, allocations: 1.281 kB / 0.6036 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001801/0.3886, allocations: 0.6962 MB / 0.6043 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3887, allocations: 0 / 0.6043 GB, free: 6.898 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.447e-05/0.3887, allocations: 7.938 kB / 0.6043 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.3887, allocations: 1.938 kB / 0.6043 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.3887, allocations: 19.97 kB / 0.6044 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.3888, allocations: 0 / 0.6044 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3888, allocations: 0 / 0.6044 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.3902, allocations: 448 kB / 0.6048 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.3904, allocations: 161.5 kB / 0.6049 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.436e-05/0.3904, allocations: 15.98 kB / 0.605 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.3909, allocations: 34.34 kB / 0.605 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.3909, allocations: 7.984 kB / 0.605 GB, free: 6.191 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.384e-05/0.391, allocations: 40.64 kB / 0.605 GB, free: 6.152 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001385/0.3911, allocations: 215.4 kB / 0.6052 GB, free: 5.945 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3911, allocations: 0 / 0.6052 GB, free: 5.945 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003113/0.3914, allocations: 55.98 kB / 0.6053 GB, free: 5.891 MB / 446.1 MB 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.0001268/0.3916, allocations: 118.4 kB / 0.6054 GB, free: 5.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009712/0.3925, allocations: 386.1 kB / 0.6058 GB, free: 5.367 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3926, allocations: 0 / 0.6058 GB, free: 5.367 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006642/0.3932, allocations: 121.4 kB / 0.6059 GB, free: 5.25 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/0.3936, allocations: 23.3 kB / 0.6059 GB, free: 5.23 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.3947, allocations: 424.4 kB / 0.6063 GB, free: 4.797 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.3948, allocations: 0.7442 MB / 0.607 GB, free: 4.023 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.694e-05/0.3949, allocations: 17.16 kB / 0.6071 GB, free: 4.012 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.3949, allocations: 19.42 kB / 0.6071 GB, free: 3.992 MB / 446.1 MB Notification: Performance of SimCode: time 3.5e-07/0.3949, allocations: 0 / 0.6071 GB, free: 3.992 MB / 446.1 MB Notification: Performance of Templates: time 0.006117/0.4011, allocations: 3.67 MB / 0.6107 GB, free: 408 kB / 446.1 MB 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 -s gbode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)