Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0008851/0.0008851, allocations: 76.94 kB / 20.72 MB, free: 3.762 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.0009177/0.0009177, allocations: 169 kB / 24.14 MB, free: 352 kB / 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.051/1.051, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6225/0.6225, allocations: 115 MB / 376 MB, free: 7.477 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 428.7 MB, free: 2.848 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.398e-05, allocations: 6.312 kB / 428.7 MB, free: 2.84 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002022/0.002046, allocations: 1.561 MB / 430.2 MB, free: 1.266 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.001203/0.003249, allocations: 0.5303 MB / 430.8 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.054e-05/0.00331, allocations: 0 / 430.8 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 9.361e-05/0.003404, allocations: 11.86 kB / 430.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.003505, allocations: 31.8 kB / 430.8 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006336/0.004139, allocations: 327.2 kB / 431.1 MB, free: 380 kB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.004564, allocations: 483.4 kB / 431.6 MB, free: 15.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.581e-05/0.0046, allocations: 8 kB / 431.6 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003367/0.004936, allocations: 367.5 kB / 432 MB, free: 15.53 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002088/0.005145, allocations: 131.8 kB / 432.1 MB, free: 15.4 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.005192, allocations: 31.98 kB / 432.1 MB, free: 15.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.606e-05/0.005238, allocations: 24 kB / 432.1 MB, free: 15.35 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.677e-05/0.005325, allocations: 115.7 kB / 432.3 MB, free: 15.23 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.823e-05/0.005423, allocations: 127.7 kB / 432.4 MB, free: 15.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002734/0.005696, allocations: 382.9 kB / 432.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.005699, allocations: 0 / 432.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.0057, allocations: 4 kB / 432.8 MB, free: 14.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.005704, allocations: 0 / 432.8 MB, free: 14.73 MB / 410.7 MB 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.000762/0.006466, allocations: 0.7311 MB / 433.5 MB, free: 13.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.006498, allocations: 12.03 kB / 433.5 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/0.006575, allocations: 52.86 kB / 433.6 MB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.006799, allocations: 236 kB / 433.8 MB, free: 13.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.423e-05/0.006833, allocations: 20.36 kB / 433.8 MB, free: 13.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.497e-05/0.006878, allocations: 20.38 kB / 433.8 MB, free: 13.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.007175, allocations: 190.7 kB / 434 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.007182, allocations: 4.188 kB / 434 MB, free: 13.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.606e-05/0.007198, allocations: 4.375 kB / 434 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.007204, allocations: 384 / 434 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.98e-05/0.007273, allocations: 43.92 kB / 434.1 MB, free: 13.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.007432, allocations: 112.9 kB / 434.2 MB, free: 13.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.007577, allocations: 106.5 kB / 434.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.834e-05/0.007645, allocations: 44.83 kB / 434.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.007662, allocations: 4 kB / 434.3 MB, free: 13.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001492/0.007811, allocations: 151.2 kB / 434.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.007812, allocations: 0 / 434.5 MB, free: 12.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003162/0.008128, allocations: 205.5 kB / 434.7 MB, free: 12.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.008163, allocations: 59.39 kB / 434.7 MB, free: 12.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.008343, allocations: 331.3 kB / 435.1 MB, free: 12.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-05/0.008377, allocations: 41.7 kB / 435.1 MB, free: 12.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.256e-05/0.00842, allocations: 101.4 kB / 435.2 MB, free: 12.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.008448, allocations: 35.72 kB / 435.2 MB, free: 12.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.008554, allocations: 117.4 kB / 435.3 MB, free: 11.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.145e-05/0.008626, allocations: 326.8 kB / 435.7 MB, free: 11.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.008773, allocations: 155.3 kB / 435.8 MB, free: 11.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.008916, allocations: 205.3 kB / 436 MB, free: 11.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.009099, allocations: 260.6 kB / 436.3 MB, free: 10.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.009101, allocations: 0 / 436.3 MB, free: 10.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003309/0.009432, allocations: 428.1 kB / 436.7 MB, free: 10.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.22e-05/0.009484, allocations: 82.66 kB / 436.8 MB, free: 10.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.00949, allocations: 4 kB / 436.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.009501, allocations: 0 / 436.8 MB, free: 10.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.009605, allocations: 36.16 kB / 436.8 MB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.009611, allocations: 11.94 kB / 436.8 MB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001611/0.009772, allocations: 43.92 kB / 436.9 MB, free: 10.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-05/0.009819, allocations: 55.91 kB / 436.9 MB, free: 10.26 MB / 410.7 MB 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.000116/0.009935, allocations: 136.6 kB / 437.1 MB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.009975, allocations: 35.89 kB / 437.1 MB, free: 10.08 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.031e-05/0.01001, allocations: 31.69 kB / 437.1 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.01002, allocations: 7.984 kB / 437.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.01002, allocations: 0 / 437.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.01002, allocations: 4 kB / 437.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.01043, allocations: 378.7 kB / 437.5 MB, free: 9.641 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01043, allocations: 4 kB / 437.5 MB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.966e-05/0.01045, allocations: 7.938 kB / 437.5 MB, free: 9.629 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01045, allocations: 3.984 kB / 437.5 MB, free: 9.625 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.01047, allocations: 7.984 kB / 437.5 MB, free: 9.617 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.01047, allocations: 4 kB / 437.5 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.01047, allocations: 0 / 437.5 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004557/0.01093, allocations: 248.6 kB / 437.8 MB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.01106, allocations: 119.5 kB / 437.9 MB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.01111, allocations: 12 kB / 437.9 MB, free: 9.227 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.01127, allocations: 31.97 kB / 437.9 MB, free: 9.195 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.181e-05/0.01129, allocations: 11.92 kB / 437.9 MB, free: 9.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.01133, allocations: 51.97 kB / 438 MB, free: 9.133 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.048e-05/0.01142, allocations: 132.7 kB / 438.1 MB, free: 9 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01142, allocations: 0 / 438.1 MB, free: 9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001991/0.01162, allocations: 71.98 kB / 438.2 MB, free: 8.93 MB / 410.7 MB 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 9.755e-05/0.01172, allocations: 94.34 kB / 438.3 MB, free: 8.828 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003801/0.0121, allocations: 414.8 kB / 438.7 MB, free: 8.383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.0121, allocations: 4 kB / 438.7 MB, free: 8.379 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.194e-05/0.01218, allocations: 61.19 kB / 438.8 MB, free: 8.316 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000178/0.01236, allocations: 41.61 kB / 438.8 MB, free: 8.277 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.01299, allocations: 460.1 kB / 439.2 MB, free: 7.793 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.051e-05/0.01305, allocations: 95.66 kB / 439.3 MB, free: 7.68 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.643e-05/0.01308, allocations: 9.156 kB / 439.3 MB, free: 7.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001628/0.01324, allocations: 127.3 kB / 439.5 MB, free: 7.547 MB / 410.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01325, allocations: 0 / 439.5 MB, free: 7.547 MB / 410.7 MB Notification: Performance of Templates: time 0.006264/0.01951, allocations: 5.401 MB / 444.9 MB, free: 2.035 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.535605262964964]