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.001434/0.001434, allocations: 103 kB / 16.36 MB, free: 6.336 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.001602/0.001602, allocations: 198.3 kB / 17.3 MB, free: 5.883 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.17 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.8902/0.8902, allocations: 143.1 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002676/0.002677, allocations: 63.89 kB / 0.5156 GB, free: 14.45 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3934/0.3961, allocations: 82.04 MB / 0.5957 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002244/0.3984, allocations: 1.473 MB / 0.5971 GB, free: 14.65 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007692/0.3992, allocations: 433.1 kB / 0.5975 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.3992, allocations: 0 / 0.5975 GB, free: 14.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.856e-05/0.3994, allocations: 11.88 kB / 0.5975 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.809e-05/0.3994, allocations: 25.5 kB / 0.5976 GB, free: 14.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005679/0.4, allocations: 251 kB / 0.5978 GB, free: 13.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002887/0.4003, allocations: 323.5 kB / 0.5981 GB, free: 13.64 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.844e-05/0.4004, allocations: 4 kB / 0.5981 GB, free: 13.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.4006, allocations: 207.6 kB / 0.5983 GB, free: 13.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.4009, allocations: 109.4 kB / 0.5984 GB, free: 13.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.109e-05/0.401, allocations: 20 kB / 0.5984 GB, free: 13.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.559e-05/0.4011, allocations: 21.09 kB / 0.5985 GB, free: 13.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.569e-05/0.4011, allocations: 79.77 kB / 0.5985 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001116/0.4013, allocations: 135.2 kB / 0.5987 GB, free: 13.07 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002382/0.4015, allocations: 303.5 kB / 0.599 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4015, allocations: 1.938 kB / 0.599 GB, free: 12.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4015, allocations: 0 / 0.599 GB, free: 12.78 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.291e-06/0.4015, allocations: 0 / 0.599 GB, free: 12.78 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.0009015/0.4024, allocations: 0.7393 MB / 0.5997 GB, free: 11.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.4025, allocations: 12.03 kB / 0.5997 GB, free: 11.95 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.038e-05/0.4026, allocations: 32.56 kB / 0.5997 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.4029, allocations: 263.6 kB / 0.6 GB, free: 11.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.4029, allocations: 12.38 kB / 0.6 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/0.403, allocations: 31.91 kB / 0.6 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007978/0.4038, allocations: 199.6 kB / 0.6002 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.4038, allocations: 0 / 0.6002 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.361e-05/0.4038, allocations: 7.984 kB / 0.6002 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.4038, allocations: 0 / 0.6002 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006275/0.4044, allocations: 97.3 kB / 0.6003 GB, free: 11.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002574/0.4047, allocations: 314.2 kB / 0.6006 GB, free: 10.93 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008546/0.4056, allocations: 176.8 kB / 0.6008 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006141/0.4062, allocations: 103.4 kB / 0.6009 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.4062, allocations: 4 kB / 0.6009 GB, free: 10.64 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007664/0.407, allocations: 213.3 kB / 0.6011 GB, free: 10.42 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.764e-06/0.407, allocations: 5.438 kB / 0.6011 GB, free: 10.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=16): time 0.002066/0.4091, allocations: 440.6 kB / 0.6015 GB, free: 9.984 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.4091, allocations: 55.41 kB / 0.6016 GB, free: 9.918 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.4093, allocations: 299.6 kB / 0.6018 GB, free: 9.605 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.4094, allocations: 37.7 kB / 0.6019 GB, free: 9.562 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.254e-05/0.4094, allocations: 89.91 kB / 0.602 GB, free: 9.473 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.4095, allocations: 39.55 kB / 0.602 GB, free: 9.434 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.4096, allocations: 100.5 kB / 0.6021 GB, free: 9.332 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.33e-05/0.4096, allocations: 326.8 kB / 0.6024 GB, free: 9.004 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.4098, allocations: 79.94 kB / 0.6025 GB, free: 8.926 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001713/0.41, allocations: 136.1 kB / 0.6026 GB, free: 8.773 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000234/0.4102, allocations: 238.7 kB / 0.6028 GB, free: 8.512 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.4102, allocations: 3.938 kB / 0.6029 GB, free: 8.508 MB / 446.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005449/0.4108, allocations: 385.9 kB / 0.6032 GB, free: 8.113 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.931e-05/0.4109, allocations: 75.39 kB / 0.6033 GB, free: 8.027 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.4109, allocations: 5.531 kB / 0.6033 GB, free: 8.023 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.4109, allocations: 8 kB / 0.6033 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.4111, allocations: 19.97 kB / 0.6033 GB, free: 7.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.4111, allocations: 11.92 kB / 0.6033 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/0.4115, allocations: 58.36 kB / 0.6034 GB, free: 7.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.4115, allocations: 43.98 kB / 0.6034 GB, free: 7.887 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.0001332/0.4117, allocations: 170.7 kB / 0.6036 GB, free: 7.711 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.713e-05/0.4117, allocations: 23.72 kB / 0.6036 GB, free: 7.688 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.864e-05/0.4118, allocations: 27.3 kB / 0.6036 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4118, allocations: 7.938 kB / 0.6037 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4118, allocations: 0 / 0.6037 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.4118, allocations: 5.328 kB / 0.6037 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.4136, allocations: 0.6913 MB / 0.6043 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4136, allocations: 0 / 0.6043 GB, free: 6.906 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.4136, allocations: 11.92 kB / 0.6043 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4136, allocations: 5.359 kB / 0.6043 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.4137, allocations: 19.98 kB / 0.6044 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4137, allocations: 0 / 0.6044 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.4137, allocations: 0 / 0.6044 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.4151, allocations: 446.8 kB / 0.6048 GB, free: 6.422 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001792/0.4153, allocations: 162.2 kB / 0.6049 GB, free: 6.246 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.335e-05/0.4153, allocations: 15.98 kB / 0.605 GB, free: 6.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.4158, allocations: 29.31 kB / 0.605 GB, free: 6.203 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.4158, allocations: 7.984 kB / 0.605 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.4159, allocations: 47.91 kB / 0.605 GB, free: 6.148 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001389/0.416, allocations: 207.3 kB / 0.6052 GB, free: 5.949 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.416, allocations: 4 kB / 0.6052 GB, free: 5.945 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003142/0.4163, allocations: 47.98 kB / 0.6053 GB, free: 5.898 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.0001292/0.4165, allocations: 125.8 kB / 0.6054 GB, free: 5.766 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00099/0.4175, allocations: 378 kB / 0.6058 GB, free: 5.375 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.4175, allocations: 0 / 0.6058 GB, free: 5.375 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006472/0.4181, allocations: 120.2 kB / 0.6059 GB, free: 5.262 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000372/0.4185, allocations: 22.98 kB / 0.6059 GB, free: 5.242 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.4196, allocations: 429 kB / 0.6063 GB, free: 4.805 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.4198, allocations: 0.7407 MB / 0.607 GB, free: 4.035 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.318e-05/0.4198, allocations: 11.94 kB / 0.6071 GB, free: 4.027 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.85e-05/0.4199, allocations: 23.42 kB / 0.6071 GB, free: 4.004 MB / 446.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4199, allocations: 0 / 0.6071 GB, free: 4.004 MB / 446.1 MB Notification: Performance of Templates: time 0.005821/0.4257, allocations: 3.666 MB / 0.6107 GB, free: 428 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 cvode -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1)