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.001145/0.001145, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001743/0.002888, allocations: 449.7 kB / 10.37 MB, free: 328 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.001121/0.001121, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001482/0.002603, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9753/0.9753, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08981/1.065, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.995/1.995, allocations: 389.9 MB / 0.6191 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4889/2.484, allocations: 127.1 MB / 0.7432 GB, free: 4.617 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.523e-06/1.523e-06, allocations: 0 / 0.7444 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.454e-05, allocations: 6.641 kB / 0.7444 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003057/0.003081, allocations: 1.609 MB / 0.746 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001313/0.004395, allocations: 0.5424 MB / 0.7465 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.597e-05/0.004471, allocations: 4.703 kB / 0.7465 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.4e-05/0.004535, allocations: 7.922 kB / 0.7466 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.004659, allocations: 34.55 kB / 0.7466 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008651/0.005524, allocations: 333.6 kB / 0.7469 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0009201/0.006444, allocations: 0.4906 MB / 0.7474 GB, free: 408 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 4.863e-05/0.006493, allocations: 11.92 kB / 0.7474 GB, free: 396 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005594/0.007052, allocations: 368.2 kB / 0.7477 GB, free: 28 kB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003675/0.00742, allocations: 136.1 kB / 0.7479 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 9.44e-05/0.007514, allocations: 24 kB / 0.7479 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.168e-05/0.007586, allocations: 28.59 kB / 0.7479 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000124/0.00771, allocations: 107.7 kB / 0.748 GB, free: 15.74 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001498/0.00786, allocations: 101.3 kB / 0.7481 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.008299, allocations: 335 kB / 0.7484 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.305e-05/0.008322, allocations: 0 / 0.7484 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.463e-06/0.008324, allocations: 0 / 0.7484 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.811e-05/0.008352, allocations: 6.25 kB / 0.7484 GB, free: 15.31 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.001343/0.009694, allocations: 0.8166 MB / 0.7492 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.009732, allocations: 8.031 kB / 0.7493 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.009855, allocations: 48.88 kB / 0.7493 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/0.01017, allocations: 230.5 kB / 0.7495 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/0.01022, allocations: 20.36 kB / 0.7495 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-05/0.01029, allocations: 32.36 kB / 0.7496 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004604/0.01075, allocations: 173.3 kB / 0.7497 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.01076, allocations: 2.969 kB / 0.7497 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.01079, allocations: 4.359 kB / 0.7497 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.01079, allocations: 384 / 0.7497 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001232/0.01092, allocations: 39.17 kB / 0.7498 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002338/0.01115, allocations: 117.4 kB / 0.7499 GB, free: 13.74 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.01138, allocations: 99.59 kB / 0.75 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.01149, allocations: 40.91 kB / 0.75 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.927e-05/0.01152, allocations: 9.219 kB / 0.75 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.01179, allocations: 155.7 kB / 0.7502 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.894e-06/0.01179, allocations: 1.312 kB / 0.7502 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0004916/0.01228, allocations: 204.7 kB / 0.7504 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.01233, allocations: 62.34 kB / 0.7504 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.01263, allocations: 327.3 kB / 0.7508 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.983e-05/0.01268, allocations: 41.69 kB / 0.7508 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.01274, allocations: 93.44 kB / 0.7509 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.755e-05/0.01279, allocations: 39.73 kB / 0.7509 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002313/0.01302, allocations: 105.4 kB / 0.751 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.01312, allocations: 330.7 kB / 0.7513 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.01335, allocations: 167.2 kB / 0.7515 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.01359, allocations: 202.8 kB / 0.7517 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.01386, allocations: 244.7 kB / 0.7519 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.01387, allocations: 0.7812 kB / 0.7519 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005629/0.01443, allocations: 429.2 kB / 0.7523 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.542e-05/0.01452, allocations: 88.02 kB / 0.7524 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.01452, allocations: 5.922 kB / 0.7524 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.01454, allocations: 4 kB / 0.7524 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.01472, allocations: 39.91 kB / 0.7525 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.01473, allocations: 7.938 kB / 0.7525 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.01499, allocations: 46.31 kB / 0.7525 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.791e-05/0.01507, allocations: 55.91 kB / 0.7526 GB, free: 10.84 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.0001608/0.01523, allocations: 148.5 kB / 0.7527 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.01529, allocations: 27.97 kB / 0.7527 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.119e-05/0.01536, allocations: 31.69 kB / 0.7528 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01536, allocations: 4 kB / 0.7528 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.01536, allocations: 2.312 kB / 0.7528 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.01537, allocations: 0 / 0.7528 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006224/0.01599, allocations: 367.4 kB / 0.7531 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.01599, allocations: 0 / 0.7531 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.387e-05/0.01604, allocations: 11.92 kB / 0.7531 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/0.01626, allocations: 120.5 kB / 0.7532 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.01626, allocations: 0 / 0.7532 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.426e-05/0.01629, allocations: 15.97 kB / 0.7533 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-06/0.0163, allocations: 9.781 kB / 0.7533 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.0163, allocations: 0 / 0.7533 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003335/0.01664, allocations: 233.4 kB / 0.7535 GB, free: 9.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.01671, allocations: 16.67 kB / 0.7535 GB, free: 9.844 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.01697, allocations: 32.73 kB / 0.7535 GB, free: 9.816 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.01701, allocations: 19.91 kB / 0.7536 GB, free: 9.797 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-05/0.01706, allocations: 39.98 kB / 0.7536 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001511/0.01721, allocations: 145.4 kB / 0.7537 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.01721, allocations: 0 / 0.7537 GB, free: 9.617 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003364/0.01755, allocations: 68.75 kB / 0.7538 GB, free: 9.551 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.0001544/0.0177, allocations: 100.5 kB / 0.7539 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005841/0.01829, allocations: 398.4 kB / 0.7543 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.385e-05/0.0183, allocations: 8 kB / 0.7543 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001265/0.01843, allocations: 59.33 kB / 0.7543 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004622/0.01889, allocations: 66.83 kB / 0.7544 GB, free: 8.898 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001406/0.0203, allocations: 459.9 kB / 0.7548 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.302e-05/0.02037, allocations: 97.05 kB / 0.7549 GB, free: 8.312 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.01e-05/0.02043, allocations: 10.69 kB / 0.7549 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.02068, allocations: 123.2 kB / 0.7551 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of SimCode: time 1.212e-06/0.02068, allocations: 0 / 0.7551 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of Templates: time 0.008414/0.02909, allocations: 5.457 MB / 0.7604 GB, free: 2.746 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.083269141614437]