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.0008111/0.0008111, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0008282/0.0008282, allocations: 169.9 kB / 23.97 MB, free: 0.5977 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 0.8559/0.8559, allocations: 177.1 MB / 204.3 MB, free: 5.723 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.542/0.542, allocations: 114 MB / 374.7 MB, free: 8.703 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.282e-06/1.282e-06, allocations: 0 / 0.5554 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.516e-05/1.644e-05, allocations: 2.281 kB / 0.5554 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.00168/0.001697, allocations: 1.533 MB / 0.5569 GB, free: 0.7812 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0008414/0.002538, allocations: 0.5187 MB / 0.5574 GB, free: 264 kB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.002593, allocations: 0 / 0.5574 GB, free: 264 kB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 8.376e-05/0.002677, allocations: 7.938 kB / 0.5574 GB, free: 256 kB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 9.97e-05/0.002777, allocations: 35.78 kB / 0.5574 GB, free: 220 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.003392, allocations: 322.7 kB / 0.5577 GB, free: 15.9 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.003717, allocations: 495.4 kB / 0.5582 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 3.585e-05/0.003753, allocations: 4 kB / 0.5582 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002935/0.004046, allocations: 347.6 kB / 0.5585 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.004225, allocations: 138.8 kB / 0.5587 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 4.356e-05/0.004268, allocations: 28 kB / 0.5587 GB, free: 14.91 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-05/0.004309, allocations: 24 kB / 0.5587 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 8.95e-05/0.004399, allocations: 123.6 kB / 0.5588 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 9.151e-05/0.00449, allocations: 127.7 kB / 0.559 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0003112/0.004801, allocations: 458.8 kB / 0.5594 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.804e-06/0.004803, allocations: 0 / 0.5594 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 8.22e-07/0.004804, allocations: 0 / 0.5594 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.004808, allocations: 0 / 0.5594 GB, free: 14.2 MB / 0.5261 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.0007462/0.005555, allocations: 0.8028 MB / 0.5602 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.005589, allocations: 12.03 kB / 0.5602 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.719e-05/0.005666, allocations: 56.66 kB / 0.5602 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.005908, allocations: 259.9 kB / 0.5605 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.005943, allocations: 16.36 kB / 0.5605 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.321e-05/0.005986, allocations: 28.36 kB / 0.5605 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006959/0.006682, allocations: 226 kB / 0.5607 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.006689, allocations: 192 / 0.5607 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.006711, allocations: 12.36 kB / 0.5608 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.006716, allocations: 4.375 kB / 0.5608 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003523/0.007068, allocations: 111.9 kB / 0.5609 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002291/0.007298, allocations: 277.1 kB / 0.5611 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004834/0.007781, allocations: 186.4 kB / 0.5613 GB, free: 12.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003342/0.008115, allocations: 112.8 kB / 0.5614 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.098e-05/0.008136, allocations: 4 kB / 0.5614 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004342/0.00857, allocations: 243.1 kB / 0.5617 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 1.122e-06/0.008571, allocations: 3.938 kB / 0.5617 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.001208/0.009779, allocations: 0.5206 MB / 0.5622 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/0.009811, allocations: 59.39 kB / 0.5622 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002518/0.01006, allocations: 413.9 kB / 0.5626 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.357e-05/0.0101, allocations: 41.69 kB / 0.5627 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.281e-05/0.01015, allocations: 105.4 kB / 0.5628 GB, free: 10.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.03e-05/0.01018, allocations: 35.69 kB / 0.5628 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.01029, allocations: 137.3 kB / 0.5629 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.04e-05/0.01036, allocations: 318.8 kB / 0.5632 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.01056, allocations: 195.3 kB / 0.5634 GB, free: 9.855 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.01076, allocations: 241.3 kB / 0.5636 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002196/0.01098, allocations: 279.3 kB / 0.5639 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.01099, allocations: 0 / 0.5639 GB, free: 9.281 MB / 0.5261 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004955/0.01148, allocations: 0.551 MB / 0.5644 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.01153, allocations: 83.41 kB / 0.5645 GB, free: 8.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.01153, allocations: 4 kB / 0.5645 GB, free: 8.602 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.01155, allocations: 4 kB / 0.5645 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.219e-05/0.01164, allocations: 27.91 kB / 0.5646 GB, free: 8.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01165, allocations: 7.938 kB / 0.5646 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.01187, allocations: 63.84 kB / 0.5646 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.104e-05/0.01192, allocations: 55.98 kB / 0.5647 GB, free: 8.445 MB / 0.5261 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.0001343/0.01206, allocations: 201.7 kB / 0.5649 GB, free: 8.242 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.01209, allocations: 47.75 kB / 0.5649 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.01213, allocations: 39.67 kB / 0.565 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01213, allocations: 0 / 0.565 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.01214, allocations: 0 / 0.565 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01214, allocations: 3.938 kB / 0.565 GB, free: 8.152 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001071/0.01321, allocations: 0.7228 MB / 0.5657 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01321, allocations: 0 / 0.5657 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.672e-05/0.01323, allocations: 4 kB / 0.5657 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01323, allocations: 0 / 0.5657 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.01325, allocations: 27.91 kB / 0.5657 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01326, allocations: 0 / 0.5657 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01326, allocations: 0 / 0.5657 GB, free: 7.359 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007988/0.01406, allocations: 0.5072 MB / 0.5662 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001524/0.01421, allocations: 129.6 kB / 0.5663 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.117e-05/0.01425, allocations: 15.92 kB / 0.5663 GB, free: 6.691 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002062/0.01446, allocations: 35.97 kB / 0.5664 GB, free: 6.656 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.538e-05/0.01448, allocations: 7.984 kB / 0.5664 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/0.01452, allocations: 63.97 kB / 0.5664 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001749/0.0147, allocations: 295.1 kB / 0.5667 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7e-08/0.0147, allocations: 0 / 0.5667 GB, free: 6.301 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002035/0.0149, allocations: 71.94 kB / 0.5668 GB, free: 6.23 MB / 0.5261 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 8.615e-05/0.01499, allocations: 117.2 kB / 0.5669 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006658/0.01565, allocations: 0.4895 MB / 0.5674 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01565, allocations: 0 / 0.5674 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005964/0.01625, allocations: 127.8 kB / 0.5675 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.01648, allocations: 28.42 kB / 0.5675 GB, free: 5.43 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007941/0.01727, allocations: 0.6028 MB / 0.5681 GB, free: 4.793 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.01737, allocations: 174.8 kB / 0.5683 GB, free: 4.605 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.01741, allocations: 12.5 kB / 0.5683 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of SimCode: time 5.71e-07/0.01741, allocations: 0 / 0.5683 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of Templates: time 0.003289/0.0207, allocations: 3.729 MB / 0.5719 GB, free: 0.832 MB / 0.5261 GB " [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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.770140487700701] Failed to read output from testmodel.py, exit status != 0: 0.024839844554662704 0.032679737 0.026334228 Calling exit ...