Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007411/0.0007411, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001/0.001742, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007136/0.0007136, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009434/0.001657, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9084/0.9084, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08694/0.9954, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.969/1.969, allocations: 390 MB / 0.6193 GB, free: 11.66 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.528/2.497, allocations: 127.1 MB / 0.7435 GB, free: 4.535 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.7448 GB, free: 3.27 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.017e-05/2.151e-05, allocations: 8.078 kB / 0.7448 GB, free: 3.262 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002114/0.002135, allocations: 1.616 MB / 0.7463 GB, free: 1.668 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009227/0.003058, allocations: 0.5489 MB / 0.7469 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.075e-05/0.003129, allocations: 0.7812 kB / 0.7469 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.232e-05/0.003191, allocations: 11.86 kB / 0.7469 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.003294, allocations: 33.42 kB / 0.7469 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006581/0.003952, allocations: 326.9 kB / 0.7472 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0004865/0.004439, allocations: 498.5 kB / 0.7477 GB, free: 312 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.863e-05/0.004477, allocations: 7.922 kB / 0.7477 GB, free: 304 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003997/0.004877, allocations: 375.6 kB / 0.7481 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002337/0.005111, allocations: 136.5 kB / 0.7482 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.642e-05/0.005167, allocations: 28 kB / 0.7482 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.113e-05/0.005218, allocations: 24 kB / 0.7483 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.005307, allocations: 108.2 kB / 0.7484 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.962e-05/0.005397, allocations: 96.5 kB / 0.7484 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002854/0.005682, allocations: 339 kB / 0.7488 GB, free: 15.22 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.41e-05/0.005696, allocations: 4.594 kB / 0.7488 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.433e-06/0.005698, allocations: 0 / 0.7488 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.005713, allocations: 1.469 kB / 0.7488 GB, free: 15.21 MB / 0.7292 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.001046/0.006759, allocations: 0.8099 MB / 0.7496 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.006791, allocations: 11.97 kB / 0.7496 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.187e-05/0.006883, allocations: 48.88 kB / 0.7496 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000236/0.007119, allocations: 236.8 kB / 0.7499 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.509e-05/0.007154, allocations: 20.36 kB / 0.7499 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.007201, allocations: 24.95 kB / 0.7499 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003122/0.007513, allocations: 178.3 kB / 0.7501 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.007521, allocations: 1.281 kB / 0.7501 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.766e-05/0.007538, allocations: 4.359 kB / 0.7501 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.007544, allocations: 7.281 kB / 0.7501 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.963e-05/0.007614, allocations: 39.73 kB / 0.7501 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002001/0.007814, allocations: 116.9 kB / 0.7502 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001664/0.00798, allocations: 101.3 kB / 0.7503 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.703e-05/0.008047, allocations: 41.69 kB / 0.7504 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.008067, allocations: 5.594 kB / 0.7504 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001705/0.008237, allocations: 142.8 kB / 0.7505 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.008238, allocations: 4 kB / 0.7505 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003178/0.008556, allocations: 202.8 kB / 0.7507 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.008591, allocations: 59.41 kB / 0.7508 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.008783, allocations: 332 kB / 0.7511 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.076e-05/0.008824, allocations: 45.69 kB / 0.7511 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.493e-05/0.008869, allocations: 92.27 kB / 0.7512 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.008903, allocations: 39.72 kB / 0.7512 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/0.009015, allocations: 109.4 kB / 0.7513 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.241e-05/0.009098, allocations: 326.8 kB / 0.7517 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.009252, allocations: 163.2 kB / 0.7518 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.009396, allocations: 205.2 kB / 0.752 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.00958, allocations: 250.1 kB / 0.7523 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.009582, allocations: 0 / 0.7523 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003584/0.009941, allocations: 435.4 kB / 0.7527 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.464e-05/0.01001, allocations: 83.36 kB / 0.7527 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.01001, allocations: 7.984 kB / 0.7528 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.01003, allocations: 7.25 kB / 0.7528 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.01016, allocations: 39.97 kB / 0.7528 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.01017, allocations: 7.938 kB / 0.7528 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001654/0.01033, allocations: 47.81 kB / 0.7529 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-05/0.01039, allocations: 51.91 kB / 0.7529 GB, free: 10.74 MB / 0.7292 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.0001258/0.01051, allocations: 148.5 kB / 0.753 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.01055, allocations: 23.97 kB / 0.7531 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/0.0106, allocations: 38.56 kB / 0.7531 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.0106, allocations: 0 / 0.7531 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.0106, allocations: 0 / 0.7531 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01061, allocations: 0 / 0.7531 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004371/0.01105, allocations: 369.7 kB / 0.7535 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.01105, allocations: 0 / 0.7535 GB, free: 10.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.01108, allocations: 15.92 kB / 0.7535 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.01121, allocations: 116.9 kB / 0.7536 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01122, allocations: 0 / 0.7536 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.01124, allocations: 15.97 kB / 0.7536 GB, free: 10 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.01124, allocations: 4.531 kB / 0.7536 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.01124, allocations: 0 / 0.7536 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.01147, allocations: 233.1 kB / 0.7538 GB, free: 9.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.715e-05/0.01151, allocations: 20.58 kB / 0.7538 GB, free: 9.742 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000182/0.0117, allocations: 21.89 kB / 0.7539 GB, free: 9.723 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.594e-05/0.01172, allocations: 11.92 kB / 0.7539 GB, free: 9.711 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.998e-05/0.01176, allocations: 55.91 kB / 0.7539 GB, free: 9.656 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001142/0.01188, allocations: 141.7 kB / 0.7541 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01188, allocations: 0 / 0.7541 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002152/0.01209, allocations: 69.38 kB / 0.7541 GB, free: 9.453 MB / 0.7292 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.0001205/0.01221, allocations: 100.8 kB / 0.7542 GB, free: 9.352 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004322/0.01264, allocations: 411.6 kB / 0.7546 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/0.01265, allocations: 5.156 kB / 0.7546 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.9e-05/0.01274, allocations: 57.8 kB / 0.7547 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.01299, allocations: 124.9 kB / 0.7548 GB, free: 8.723 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009344/0.01392, allocations: 464.4 kB / 0.7552 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.337e-05/0.01398, allocations: 83.81 kB / 0.7553 GB, free: 8.145 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.212e-05/0.01402, allocations: 15.39 kB / 0.7553 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001836/0.0142, allocations: 123.3 kB / 0.7555 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of SimCode: time 7.12e-07/0.0142, allocations: 0 / 0.7555 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.006727/0.02093, allocations: 5.436 MB / 0.7608 GB, free: 2.602 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.039578446187079]