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.002638/0.002638, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.002202/0.002202, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 1.608/1.608, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 178] 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 3.084/3.084, allocations: 389.5 MB / 0.6343 GB, free: 12.6 MB / 0.6042 GB " [Timeout remaining time 176] 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.473e-06/1.473e-06, allocations: 0 / 1.001 GB, free: 13.08 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.08e-05/3.227e-05, allocations: 2.281 kB / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003282/0.003314, allocations: 1.53 MB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00154/0.004854, allocations: 0.5227 MB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.004914, allocations: 7.938 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.005017, allocations: 3.938 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001326/0.005149, allocations: 39.5 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008974/0.006047, allocations: 326.3 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0006268/0.006673, allocations: 491.4 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.501e-05/0.006728, allocations: 4 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005473/0.007276, allocations: 347.6 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003137/0.007589, allocations: 131.7 kB / 1.004 GB, free: 9.695 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001379/0.007727, allocations: 28 kB / 1.004 GB, free: 9.668 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001293/0.007857, allocations: 28 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.008024, allocations: 119.6 kB / 1.005 GB, free: 9.523 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001987/0.008223, allocations: 131.7 kB / 1.005 GB, free: 9.395 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0006541/0.008877, allocations: 454.8 kB / 1.005 GB, free: 8.949 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.008884, allocations: 4 kB / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.313e-06/0.008885, allocations: 0 / 1.005 GB, free: 8.945 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.008892, allocations: 0 / 1.005 GB, free: 8.945 MB / 0.9636 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.001446/0.01034, allocations: 0.8028 MB / 1.006 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.01038, allocations: 9.344 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.01052, allocations: 56.66 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.01097, allocations: 263.9 kB / 1.006 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.149e-05/0.01102, allocations: 16.36 kB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.01109, allocations: 24.38 kB / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.0121, allocations: 229.1 kB / 1.006 GB, free: 7.461 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.01211, allocations: 4.188 kB / 1.006 GB, free: 7.457 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.038e-05/0.01214, allocations: 8.375 kB / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.01214, allocations: 384 / 1.006 GB, free: 7.449 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000769/0.01291, allocations: 111.9 kB / 1.007 GB, free: 7.34 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.01336, allocations: 285 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001061/0.01442, allocations: 182.4 kB / 1.007 GB, free: 6.844 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007518/0.01517, allocations: 116.8 kB / 1.007 GB, free: 6.727 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.379e-05/0.01521, allocations: 7.984 kB / 1.007 GB, free: 6.719 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009504/0.01616, allocations: 235.1 kB / 1.007 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.974e-06/0.01616, allocations: 0 / 1.007 GB, free: 6.477 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16): time 0.002639/0.0188, allocations: 0.5244 MB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.01887, allocations: 59.41 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000542/0.01941, allocations: 421.8 kB / 1.008 GB, free: 5.453 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.844e-05/0.01948, allocations: 37.7 kB / 1.008 GB, free: 5.41 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.01959, allocations: 93.44 kB / 1.008 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 6.02e-05/0.01965, allocations: 39.78 kB / 1.008 GB, free: 5.277 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.01988, allocations: 125.4 kB / 1.009 GB, free: 5.148 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001833/0.02007, allocations: 326.8 kB / 1.009 GB, free: 4.82 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.02042, allocations: 195.2 kB / 1.009 GB, free: 4.617 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.0211, allocations: 251.9 kB / 1.009 GB, free: 4.34 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004433/0.02155, allocations: 271.3 kB / 1.01 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.02155, allocations: 0 / 1.01 GB, free: 4.043 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00101/0.02256, allocations: 0.5587 MB / 1.01 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/0.02267, allocations: 87.38 kB / 1.01 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.02268, allocations: 0 / 1.01 GB, free: 3.355 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.0227, allocations: 7.984 kB / 1.01 GB, free: 3.348 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.02288, allocations: 19.92 kB / 1.01 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/0.0229, allocations: 7.938 kB / 1.01 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004802/0.02338, allocations: 59.91 kB / 1.01 GB, free: 3.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/0.0235, allocations: 64.08 kB / 1.01 GB, free: 3.199 MB / 0.9636 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.0002888/0.02378, allocations: 209.6 kB / 1.011 GB, free: 2.988 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.02386, allocations: 39.77 kB / 1.011 GB, free: 2.949 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.173e-05/0.02394, allocations: 35.69 kB / 1.011 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.02394, allocations: 0 / 1.011 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.02395, allocations: 0 / 1.011 GB, free: 2.914 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.112e-05/0.02396, allocations: 11.92 kB / 1.011 GB, free: 2.902 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/0.02626, allocations: 0.709 MB / 1.011 GB, free: 2.152 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.02626, allocations: 3.938 kB / 1.011 GB, free: 2.148 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.006e-05/0.0263, allocations: 4 kB / 1.011 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.02631, allocations: 0 / 1.011 GB, free: 2.145 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.02637, allocations: 27.91 kB / 1.011 GB, free: 2.117 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.02637, allocations: 4 kB / 1.011 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.02638, allocations: 0 / 1.011 GB, free: 2.113 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001777/0.02815, allocations: 0.5018 MB / 1.012 GB, free: 1.598 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.02846, allocations: 141.5 kB / 1.012 GB, free: 1.457 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/0.02853, allocations: 11.94 kB / 1.012 GB, free: 1.445 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.02897, allocations: 39.97 kB / 1.012 GB, free: 1.406 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.02902, allocations: 11.98 kB / 1.012 GB, free: 1.395 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.108e-05/0.0291, allocations: 55.97 kB / 1.012 GB, free: 1.34 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003812/0.02948, allocations: 299.1 kB / 1.012 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of sort global known variables: time 9e-08/0.02948, allocations: 0 / 1.012 GB, free: 1.043 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003905/0.02987, allocations: 67.98 kB / 1.012 GB, free: 0.9766 MB / 0.9636 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.0001934/0.03006, allocations: 109.2 kB / 1.013 GB, free: 0.8633 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001404/0.03147, allocations: 497.9 kB / 1.013 GB, free: 348 kB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.03147, allocations: 0 / 1.013 GB, free: 348 kB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007476/0.03222, allocations: 119.9 kB / 1.013 GB, free: 228 kB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.0326, allocations: 32.81 kB / 1.013 GB, free: 200 kB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.03422, allocations: 0.5699 MB / 1.014 GB, free: 15.6 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/0.03443, allocations: 163 kB / 1.014 GB, free: 15.41 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 6.676e-05/0.0345, allocations: 9.156 kB / 1.014 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.03455, allocations: 20.48 kB / 1.014 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of SimCode: time 7.02e-07/0.03455, allocations: 0 / 1.014 GB, free: 15.38 MB / 0.9792 GB Notification: Performance of Templates: time 0.01172/0.04628, allocations: 5.952 MB / 1.02 GB, free: 9.371 MB / 0.9792 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: 8.777036484330893]