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.001027/0.001027, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001383/0.00241, allocations: 452 kB / 10.43 MB, free: 268 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.00103/0.00103, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001367/0.002397, allocations: 483.5 kB / 11.8 MB, free: 2.363 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 1.082/1.082, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1124/1.194, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6652/0.6652, allocations: 120.1 MB / 364.2 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07146/0.7366, allocations: 38.16 MB / 402.4 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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.313e-06/1.313e-06, allocations: 0 / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.387e-05/1.518e-05, allocations: 2.312 kB / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.00181/0.001825, allocations: 1.6 MB / 405.3 MB, free: 9.363 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008398/0.002665, allocations: 0.5614 MB / 405.8 MB, free: 8.801 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.084e-05/0.002726, allocations: 0 / 405.8 MB, free: 8.801 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 5.563e-05/0.002781, allocations: 3.938 kB / 405.8 MB, free: 8.797 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.576e-05/0.002867, allocations: 23.86 kB / 405.9 MB, free: 8.773 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.003457, allocations: 339.1 kB / 406.2 MB, free: 8.441 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.003881, allocations: 0.4916 MB / 406.7 MB, free: 7.949 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.764e-05/0.003919, allocations: 4 kB / 406.7 MB, free: 7.945 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003812/0.0043, allocations: 375.6 kB / 407.1 MB, free: 7.578 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.00453, allocations: 139.5 kB / 407.2 MB, free: 7.441 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/0.004584, allocations: 24 kB / 407.2 MB, free: 7.418 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.459e-05/0.004638, allocations: 28 kB / 407.3 MB, free: 7.391 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.052e-05/0.004729, allocations: 111.7 kB / 407.4 MB, free: 7.281 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.055e-05/0.004819, allocations: 95.81 kB / 407.5 MB, free: 7.188 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002699/0.005089, allocations: 331 kB / 407.8 MB, free: 6.863 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.07e-05/0.0051, allocations: 4 kB / 407.8 MB, free: 6.859 MB / 394.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.005101, allocations: 0 / 407.8 MB, free: 6.859 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.005114, allocations: 3.938 kB / 407.8 MB, free: 6.855 MB / 394.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.0009159/0.00603, allocations: 0.8128 MB / 408.6 MB, free: 5.977 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.006062, allocations: 15.97 kB / 408.6 MB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.342e-05/0.006145, allocations: 44.88 kB / 408.7 MB, free: 5.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.006368, allocations: 236.1 kB / 408.9 MB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.261e-05/0.006401, allocations: 16.36 kB / 408.9 MB, free: 5.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.858e-05/0.00645, allocations: 28.36 kB / 408.9 MB, free: 5.617 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.006751, allocations: 182.7 kB / 409.1 MB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.006759, allocations: 192 / 409.1 MB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.006775, allocations: 384 / 409.1 MB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.006782, allocations: 4.375 kB / 409.1 MB, free: 5.426 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.643e-05/0.006848, allocations: 39.86 kB / 409.2 MB, free: 5.387 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001614/0.00701, allocations: 112.9 kB / 409.3 MB, free: 5.262 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.00716, allocations: 98.53 kB / 409.4 MB, free: 5.156 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.84e-05/0.007229, allocations: 45.22 kB / 409.4 MB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.007248, allocations: 0 / 409.4 MB, free: 5.109 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001717/0.00742, allocations: 155.2 kB / 409.6 MB, free: 4.945 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 8.81e-07/0.007421, allocations: 0 / 409.6 MB, free: 4.945 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0003012/0.007722, allocations: 213.4 kB / 409.8 MB, free: 4.73 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.007755, allocations: 63.39 kB / 409.8 MB, free: 4.656 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.00793, allocations: 323.3 kB / 410.1 MB, free: 4.332 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.585e-05/0.007966, allocations: 45.69 kB / 410.2 MB, free: 4.281 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.305e-05/0.008009, allocations: 89.44 kB / 410.3 MB, free: 4.191 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.008042, allocations: 51.59 kB / 410.3 MB, free: 4.141 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.008143, allocations: 105.4 kB / 410.4 MB, free: 4.031 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.59e-05/0.008219, allocations: 326.8 kB / 410.7 MB, free: 3.703 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.008368, allocations: 163.2 kB / 410.9 MB, free: 3.531 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001444/0.008513, allocations: 201.3 kB / 411.1 MB, free: 3.301 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.008685, allocations: 245.2 kB / 411.3 MB, free: 3.027 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.008689, allocations: 4 kB / 411.3 MB, free: 3.023 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003266/0.009016, allocations: 432 kB / 411.8 MB, free: 2.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.569e-05/0.009071, allocations: 87.56 kB / 411.9 MB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.009077, allocations: 4 kB / 411.9 MB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.009089, allocations: 0 / 411.9 MB, free: 2.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.009208, allocations: 43.89 kB / 411.9 MB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.009211, allocations: 4 kB / 411.9 MB, free: 2.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.009395, allocations: 43.88 kB / 411.9 MB, free: 2.379 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-05/0.009442, allocations: 51.92 kB / 412 MB, free: 2.328 MB / 394.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.0001051/0.009547, allocations: 148.5 kB / 412.1 MB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.009583, allocations: 31.91 kB / 412.2 MB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.009624, allocations: 31.69 kB / 412.2 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.009627, allocations: 4 kB / 412.2 MB, free: 2.102 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.009629, allocations: 3.984 kB / 412.2 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.009632, allocations: 0 / 412.2 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003872/0.01002, allocations: 370.8 kB / 412.6 MB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01002, allocations: 0 / 412.6 MB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.395e-05/0.01004, allocations: 4 kB / 412.6 MB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.01017, allocations: 127.5 kB / 412.7 MB, free: 1.578 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01017, allocations: 4 kB / 412.7 MB, free: 1.574 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/0.01019, allocations: 7.984 kB / 412.7 MB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.0102, allocations: 11.92 kB / 412.7 MB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.0102, allocations: 0 / 412.7 MB, free: 1.555 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002016/0.0104, allocations: 239.9 kB / 413 MB, free: 1.305 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.946e-05/0.01044, allocations: 12 kB / 413 MB, free: 1.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001633/0.0106, allocations: 31.97 kB / 413 MB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.038e-05/0.01062, allocations: 11.92 kB / 413 MB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.01066, allocations: 51.97 kB / 413.1 MB, free: 1.199 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.613e-05/0.01074, allocations: 136.7 kB / 413.2 MB, free: 1.062 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01074, allocations: 0 / 413.2 MB, free: 1.062 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001805/0.01092, allocations: 63.98 kB / 413.3 MB, free: 1 MB / 394.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.063e-05/0.01102, allocations: 102.4 kB / 413.4 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.01139, allocations: 406.7 kB / 413.8 MB, free: 464 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.0114, allocations: 7.938 kB / 413.8 MB, free: 456 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 8.006e-05/0.01148, allocations: 62.8 kB / 413.8 MB, free: 392 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002109/0.01169, allocations: 121 kB / 413.9 MB, free: 256 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.01252, allocations: 460.5 kB / 414.4 MB, free: 15.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.242e-05/0.01257, allocations: 87.81 kB / 414.5 MB, free: 15.66 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.32e-05/0.0126, allocations: 13.14 kB / 414.5 MB, free: 15.65 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001541/0.01275, allocations: 119.3 kB / 414.6 MB, free: 15.54 MB / 410.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01276, allocations: 0 / 414.6 MB, free: 15.54 MB / 410.7 MB Notification: Performance of Templates: time 0.005825/0.01858, allocations: 5.41 MB / 420 MB, free: 9.973 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.2545542996376753]