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.001306/0.001306, allocations: 71.77 kB / 20.51 MB, free: 1.125 MB / 14.72 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.0014/0.0014, allocations: 163 kB / 23.76 MB, free: 4.195 MB / 14.72 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.417/1.417, allocations: 177.2 MB / 204.1 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] 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.9366/0.9366, allocations: 113.9 MB / 374.5 MB, free: 12.86 MB / 350.1 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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 65.83 kB / 0.555 GB, free: 2.73 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1639, allocations: 89.15 MB / 0.6421 GB, free: 9.551 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002701/0.1666, allocations: 1.507 MB / 0.6435 GB, free: 8.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1678, allocations: 0.525 MB / 0.644 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.1679, allocations: 0 / 0.644 GB, free: 7.508 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 9.056e-05/0.168, allocations: 11.86 kB / 0.6441 GB, free: 7.496 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001149/0.1681, allocations: 31.84 kB / 0.6441 GB, free: 7.465 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008058/0.1689, allocations: 324.5 kB / 0.6444 GB, free: 7.152 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005738/0.1695, allocations: 479.5 kB / 0.6449 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.1695, allocations: 4 kB / 0.6449 GB, free: 6.68 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004175/0.1699, allocations: 291.6 kB / 0.6451 GB, free: 6.395 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003096/0.1703, allocations: 131.6 kB / 0.6453 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.78e-05/0.1703, allocations: 32 kB / 0.6453 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.72e-05/0.1704, allocations: 24 kB / 0.6453 GB, free: 6.211 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.1706, allocations: 115.6 kB / 0.6454 GB, free: 6.098 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002111/0.1708, allocations: 159.2 kB / 0.6456 GB, free: 5.941 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005281/0.1713, allocations: 430.4 kB / 0.646 GB, free: 5.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1713, allocations: 4 kB / 0.646 GB, free: 5.516 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1713, allocations: 0 / 0.646 GB, free: 5.516 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.1713, allocations: 0 / 0.646 GB, free: 5.516 MB / 0.545 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.001324/0.1727, allocations: 0.8028 MB / 0.6468 GB, free: 4.641 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1727, allocations: 8.031 kB / 0.6468 GB, free: 4.633 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.1728, allocations: 56.7 kB / 0.6468 GB, free: 4.578 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004037/0.1732, allocations: 260.7 kB / 0.6471 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.235e-05/0.1733, allocations: 12.38 kB / 0.6471 GB, free: 4.285 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.045e-05/0.1733, allocations: 32.36 kB / 0.6471 GB, free: 4.254 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009762/0.1743, allocations: 230 kB / 0.6473 GB, free: 4.023 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1743, allocations: 192 / 0.6473 GB, free: 4.023 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.1743, allocations: 3.938 kB / 0.6474 GB, free: 4.02 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.1744, allocations: 8 kB / 0.6474 GB, free: 4.012 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007768/0.1751, allocations: 111.9 kB / 0.6475 GB, free: 3.902 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004087/0.1755, allocations: 285 kB / 0.6477 GB, free: 3.594 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.1766, allocations: 186.4 kB / 0.6479 GB, free: 3.402 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007539/0.1774, allocations: 117.2 kB / 0.648 GB, free: 3.285 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.1774, allocations: 3.984 kB / 0.648 GB, free: 3.281 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009689/0.1783, allocations: 241.7 kB / 0.6483 GB, free: 3.035 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.572e-06/0.1784, allocations: 0 / 0.6483 GB, free: 3.035 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002554/0.1809, allocations: 0.5322 MB / 0.6488 GB, free: 2.496 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.181, allocations: 55.41 kB / 0.6488 GB, free: 2.43 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/0.1814, allocations: 413.9 kB / 0.6492 GB, free: 2.012 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.445e-05/0.1815, allocations: 41.69 kB / 0.6493 GB, free: 1.965 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.452e-05/0.1815, allocations: 97.44 kB / 0.6494 GB, free: 1.867 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.1816, allocations: 35.69 kB / 0.6494 GB, free: 1.832 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001952/0.1818, allocations: 129.5 kB / 0.6495 GB, free: 1.699 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1819, allocations: 322.8 kB / 0.6498 GB, free: 1.375 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.1823, allocations: 195.3 kB / 0.65 GB, free: 1.172 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003591/0.1826, allocations: 245.3 kB / 0.6502 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003848/0.183, allocations: 275.3 kB / 0.6505 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.183, allocations: 0 / 0.6505 GB, free: 0.5977 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008846/0.1839, allocations: 0.5566 MB / 0.6511 GB, free: 12 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.269e-05/0.184, allocations: 79.56 kB / 0.6511 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.184, allocations: 4 kB / 0.6511 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.184, allocations: 7.938 kB / 0.6511 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000172/0.1842, allocations: 35.84 kB / 0.6512 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/0.1842, allocations: 0 / 0.6512 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004885/0.1847, allocations: 67.84 kB / 0.6512 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-05/0.1848, allocations: 55.98 kB / 0.6513 GB, free: 15.75 MB / 0.5606 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.0002303/0.185, allocations: 205.6 kB / 0.6515 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.102e-05/0.1851, allocations: 39.72 kB / 0.6515 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.093e-05/0.1851, allocations: 43.62 kB / 0.6516 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1851, allocations: 4 kB / 0.6516 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1851, allocations: 0 / 0.6516 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1851, allocations: 3.984 kB / 0.6516 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002207/0.1873, allocations: 0.7129 MB / 0.6523 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1873, allocations: 3.938 kB / 0.6523 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.712e-05/0.1874, allocations: 8 kB / 0.6523 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1874, allocations: 0 / 0.6523 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.029e-05/0.1874, allocations: 27.97 kB / 0.6523 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1874, allocations: 0 / 0.6523 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1874, allocations: 0 / 0.6523 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.1892, allocations: 0.5062 MB / 0.6528 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.1895, allocations: 129.5 kB / 0.6529 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.085e-05/0.1896, allocations: 11.98 kB / 0.6529 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004811/0.19, allocations: 43.91 kB / 0.653 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.968e-05/0.1901, allocations: 7.984 kB / 0.653 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.671e-05/0.1901, allocations: 59.97 kB / 0.653 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003177/0.1905, allocations: 299.1 kB / 0.6533 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1905, allocations: 0 / 0.6533 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003721/0.1908, allocations: 67.98 kB / 0.6534 GB, free: 13.54 MB / 0.5606 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.0001424/0.191, allocations: 113.2 kB / 0.6535 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001327/0.1923, allocations: 494 kB / 0.654 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.1923, allocations: 8.125 kB / 0.654 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007665/0.1931, allocations: 119.9 kB / 0.6541 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.1935, allocations: 33.56 kB / 0.6541 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.195, allocations: 0.5703 MB / 0.6547 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001749/0.1952, allocations: 167 kB / 0.6548 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.66e-05/0.1952, allocations: 13.14 kB / 0.6549 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.734e-05/0.1953, allocations: 24.48 kB / 0.6549 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.1953, allocations: 0 / 0.6549 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of Templates: time 0.0101/0.2054, allocations: 6.102 MB / 0.6608 GB, free: 5.766 MB / 0.5606 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.342767775990069] Failed to read output from testmodel.py, exit status != 0: 0.21372593194246292 0.22782197999999995 0.053523088 Calling exit ...