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/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/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") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.7503/0.7504, allocations: 117.9 MB / 133.9 MB, free: 4.508 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009919/0.0009921, allocations: 183.1 kB / 161.7 MB, free: 2.723 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.4 MB / 394.8 MB, free: 20.9 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000894/0.0008938, allocations: 94.28 kB / 470.1 MB, free: 12.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004527/0.0004529, allocations: 12 kB / 0.5423 GB, free: 6.852 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4226/0.423, allocations: 74.52 MB / 0.6151 GB, free: 54.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1628/0.5859, allocations: 103.4 MB / 0.7161 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/0.5864, allocations: 75.95 kB / 0.7162 GB, free: 14.48 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01493/0.6013, allocations: 4.69 MB / 0.7208 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.825e-06/0.6014, allocations: 0 / 0.7208 GB, free: 9.785 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.535e-05/0.6014, allocations: 4 kB / 0.7208 GB, free: 9.781 MB / 0.4948 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.001073/0.6025, allocations: 0.5717 MB / 0.7213 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.6025, allocations: 8.031 kB / 0.7213 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/0.6027, allocations: 28.66 kB / 0.7214 GB, free: 9.098 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.6029, allocations: 196.9 kB / 0.7215 GB, free: 8.863 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-05/0.6029, allocations: 16.3 kB / 0.7216 GB, free: 8.848 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.355e-05/0.603, allocations: 20.38 kB / 0.7216 GB, free: 8.828 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.6033, allocations: 134.1 kB / 0.7217 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.6033, allocations: 192 / 0.7217 GB, free: 8.691 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.6034, allocations: 15.88 kB / 0.7217 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.6034, allocations: 0 / 0.7217 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.6035, allocations: 47.97 kB / 0.7218 GB, free: 8.629 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.604, allocations: 305.3 kB / 0.7221 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.6043, allocations: 130.6 kB / 0.7222 GB, free: 8.145 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.6044, allocations: 52.84 kB / 0.7222 GB, free: 8.09 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/0.6045, allocations: 11.98 kB / 0.7222 GB, free: 8.078 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000419/0.6049, allocations: 197 kB / 0.7224 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=18): time 2.164e-06/0.6049, allocations: 0 / 0.7224 GB, free: 7.875 MB / 0.4948 GB Notification: Performance of matching and sorting (n=18): time 0.0006245/0.6055, allocations: 262.5 kB / 0.7227 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.442e-05/0.6056, allocations: 59.39 kB / 0.7227 GB, free: 7.543 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/0.6059, allocations: 220.1 kB / 0.7229 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.6059, allocations: 41.7 kB / 0.723 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.606, allocations: 96.83 kB / 0.7231 GB, free: 7.18 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.225e-05/0.6061, allocations: 43.5 kB / 0.7231 GB, free: 7.137 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.6061, allocations: 15.92 kB / 0.7231 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6063, allocations: 318.8 kB / 0.7234 GB, free: 6.801 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.6066, allocations: 100.2 kB / 0.7235 GB, free: 6.703 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/0.6068, allocations: 150.3 kB / 0.7237 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.6072, allocations: 234.2 kB / 0.7239 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.6073, allocations: 4 kB / 0.7239 GB, free: 6.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0008267/0.6081, allocations: 419.3 kB / 0.7243 GB, free: 5.844 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.647e-05/0.6082, allocations: 75.38 kB / 0.7244 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.6082, allocations: 0 / 0.7244 GB, free: 5.758 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.6082, allocations: 4 kB / 0.7244 GB, free: 5.754 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.6084, allocations: 27.92 kB / 0.7244 GB, free: 5.727 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.6084, allocations: 7.938 kB / 0.7244 GB, free: 5.719 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.6088, allocations: 55.94 kB / 0.7245 GB, free: 5.664 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-05/0.6089, allocations: 39.98 kB / 0.7245 GB, free: 5.625 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.firstDaySampling,$whenCondition1,calendarTime2016.daySampleTrigger,$whenCondition2,calendarTime2016.hourSampleTrigger,$whenCondition4,$whenCondition3,$PRE.calendarTime2016.year,calendarTime2016.year,$PRE.calendarTime2016.month,calendarTime2016.month,$PRE.calendarTime2016.day,calendarTime2016.day,$PRE.calendarTime2016.hour,calendarTime2016.hour,$PRE.calendarTime2016.weekDay,calendarTime2016.weekDay,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.yearIndex,calendarTime2016.yearIndex,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.epochLastMonth) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002401/0.6092, allocations: 165.7 kB / 0.7247 GB, free: 5.453 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.6092, allocations: 15.81 kB / 0.7247 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.205e-05/0.6093, allocations: 25.86 kB / 0.7247 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.6093, allocations: 3.938 kB / 0.7247 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.6093, allocations: 0 / 0.7247 GB, free: 5.402 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.6093, allocations: 11.98 kB / 0.7247 GB, free: 5.391 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009283/0.6103, allocations: 0.5229 MB / 0.7252 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.6103, allocations: 7.922 kB / 0.7252 GB, free: 4.805 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.824e-05/0.6103, allocations: 11.94 kB / 0.7252 GB, free: 4.793 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.6104, allocations: 4 kB / 0.7253 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.6104, allocations: 7.984 kB / 0.7253 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.6104, allocations: 0 / 0.7253 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.6104, allocations: 0 / 0.7253 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.6108, allocations: 312.2 kB / 0.7256 GB, free: 4.461 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.611, allocations: 140.7 kB / 0.7257 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.967e-05/0.6111, allocations: 8 kB / 0.7257 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.6112, allocations: 15.98 kB / 0.7257 GB, free: 4.281 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.517e-05/0.6113, allocations: 19.97 kB / 0.7257 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.6114, allocations: 19.98 kB / 0.7258 GB, free: 4.242 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001771/0.6116, allocations: 161.8 kB / 0.7259 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.685e-06/0.6116, allocations: 0 / 0.7259 GB, free: 4.086 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003776/0.6119, allocations: 63.92 kB / 0.726 GB, free: 4.023 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition4,$whenCondition3,$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.firstHourSampling,calendarTime2016.hour,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.year) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002715/0.6122, allocations: 118.1 kB / 0.7261 GB, free: 3.898 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0007419/0.613, allocations: 344.9 kB / 0.7264 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.613, allocations: 0 / 0.7264 GB, free: 3.539 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000169/0.6132, allocations: 67.97 kB / 0.7265 GB, free: 3.473 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.6136, allocations: 24.53 kB / 0.7265 GB, free: 3.449 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/0.6145, allocations: 363.1 kB / 0.7268 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005703/0.6151, allocations: 0.7281 MB / 0.7276 GB, free: 2.316 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001526/0.6153, allocations: 33.08 kB / 0.7276 GB, free: 2.285 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.6154, allocations: 27.42 kB / 0.7276 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of SimCode: time 7.71e-07/0.6154, allocations: 0 / 0.7276 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of Templates: time 0.01096/0.6264, allocations: 4.012 MB / 0.7315 GB, free: 14.24 MB / 0.5105 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)