Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 112.5 kB / 17.13 MB, free: 5.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 198 kB / 20.08 MB, free: 2.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 248.5 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002355/0.002355, allocations: 285.3 kB / 303.6 MB, free: 3.629 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.025/1.025, allocations: 180.9 MB / 0.5268 GB, free: 2.695 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002664/0.002664, allocations: 96.17 kB / 0.7259 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4811/0.4837, allocations: 94.17 MB / 0.8178 GB, free: 7.426 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002149/0.4859, allocations: 1.519 MB / 0.8193 GB, free: 6.371 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.4869, allocations: 0.5582 MB / 0.8199 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.487, allocations: 1.156 kB / 0.8199 GB, free: 6.008 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.139e-05/0.4871, allocations: 7.875 kB / 0.8199 GB, free: 6 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 9.703e-05/0.4872, allocations: 27.33 kB / 0.8199 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006474/0.4878, allocations: 307.3 kB / 0.8202 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004373/0.4882, allocations: 487.6 kB / 0.8207 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.738e-05/0.4883, allocations: 3.531 kB / 0.8207 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003013/0.4886, allocations: 278.4 kB / 0.8209 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.4888, allocations: 142.7 kB / 0.8211 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.81e-05/0.4889, allocations: 26.78 kB / 0.8211 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.339e-05/0.489, allocations: 26.97 kB / 0.8211 GB, free: 5.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.4892, allocations: 118.4 kB / 0.8212 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000176/0.4893, allocations: 181.4 kB / 0.8214 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004393/0.4898, allocations: 426.8 kB / 0.8218 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4898, allocations: 3.938 kB / 0.8218 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4898, allocations: 0 / 0.8218 GB, free: 5.223 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.4898, allocations: 4 kB / 0.8218 GB, free: 5.219 MB / 0.5762 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.0009657/0.4908, allocations: 0.8773 MB / 0.8227 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.4908, allocations: 8.484 kB / 0.8227 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.4909, allocations: 52.77 kB / 0.8227 GB, free: 4.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.4912, allocations: 319.2 kB / 0.823 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.385e-05/0.4912, allocations: 17.48 kB / 0.823 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.142e-05/0.4913, allocations: 26.06 kB / 0.8231 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009549/0.4922, allocations: 217 kB / 0.8233 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.4922, allocations: 192 / 0.8233 GB, free: 4.102 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.4923, allocations: 9.109 kB / 0.8233 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4923, allocations: 2.469 kB / 0.8233 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007782/0.4931, allocations: 97.83 kB / 0.8234 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.4935, allocations: 394.8 kB / 0.8238 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.4945, allocations: 159.9 kB / 0.8239 GB, free: 3.766 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007527/0.4953, allocations: 102.3 kB / 0.824 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/0.4953, allocations: 9.469 kB / 0.824 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009378/0.4962, allocations: 225 kB / 0.8242 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.4962, allocations: 4 kB / 0.8242 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002627/0.4988, allocations: 481.2 kB / 0.8247 GB, free: 3.543 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.4989, allocations: 67.22 kB / 0.8248 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.4993, allocations: 413.3 kB / 0.8252 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.595e-05/0.4994, allocations: 40.41 kB / 0.8252 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.4994, allocations: 101.9 kB / 0.8253 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.55e-05/0.4995, allocations: 39.89 kB / 0.8253 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001792/0.4996, allocations: 128.3 kB / 0.8254 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.163e-05/0.4997, allocations: 321.7 kB / 0.8258 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.4999, allocations: 118.3 kB / 0.8259 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000251/0.5002, allocations: 166.9 kB / 0.826 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002944/0.5005, allocations: 274.6 kB / 0.8263 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.5005, allocations: 0 / 0.8263 GB, free: 2.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007219/0.5012, allocations: 490.1 kB / 0.8268 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.838e-05/0.5013, allocations: 92.48 kB / 0.8268 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.5013, allocations: 2.719 kB / 0.8268 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5013, allocations: 7.531 kB / 0.8269 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001575/0.5014, allocations: 22 kB / 0.8269 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.5014, allocations: 2.781 kB / 0.8269 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004875/0.5019, allocations: 58.66 kB / 0.8269 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.502, allocations: 63.08 kB / 0.827 GB, free: 2.109 MB / 0.5762 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.0002125/0.5022, allocations: 192.2 kB / 0.8272 GB, free: 1.973 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.356e-05/0.5023, allocations: 50.25 kB / 0.8272 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.414e-05/0.5023, allocations: 44.61 kB / 0.8273 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.145e-06/0.5023, allocations: 3 kB / 0.8273 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.5023, allocations: 0.7031 kB / 0.8273 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5023, allocations: 4.562 kB / 0.8273 GB, free: 1.914 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002091/0.5044, allocations: 0.7534 MB / 0.828 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5044, allocations: 0 / 0.828 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.5045, allocations: 6.562 kB / 0.828 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.5045, allocations: 0.9375 kB / 0.828 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.5045, allocations: 18.66 kB / 0.828 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.5045, allocations: 0 / 0.828 GB, free: 1.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.5045, allocations: 4.781 kB / 0.828 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.5062, allocations: 480.1 kB / 0.8285 GB, free: 1.289 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002455/0.5065, allocations: 201.4 kB / 0.8287 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.848e-05/0.5066, allocations: 9.25 kB / 0.8287 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004796/0.507, allocations: 32.81 kB / 0.8287 GB, free: 1.145 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.275e-05/0.5071, allocations: 13.19 kB / 0.8287 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.97e-05/0.5071, allocations: 56.52 kB / 0.8288 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002685/0.5074, allocations: 294.9 kB / 0.8291 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.5074, allocations: 0 / 0.8291 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004178/0.5078, allocations: 66.97 kB / 0.8291 GB, free: 0.9961 MB / 0.5762 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.0001264/0.5079, allocations: 116.5 kB / 0.8293 GB, free: 0.8984 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001282/0.5092, allocations: 411.8 kB / 0.8296 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.5092, allocations: 1.562 kB / 0.8296 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007831/0.51, allocations: 114.7 kB / 0.8298 GB, free: 0.6797 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.5104, allocations: 34.5 kB / 0.8298 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.5118, allocations: 0.5964 MB / 0.8304 GB, free: 328 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.5122, allocations: 0.7673 MB / 0.8311 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.5122, allocations: 17.39 kB / 0.8311 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of SimCode: time 1.042e-06/0.5122, allocations: 0 / 0.8311 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of Templates: time 0.00666/0.5189, allocations: 3.743 MB / 0.8348 GB, free: 15.04 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.038761812029406] Failed to read output from testmodel.py, exit status != 0: 0.5266595419961959 0.539852463 0.047344032 Calling exit ...