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.001362/0.001362, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.00153/0.00153, allocations: 213.3 kB / 23.74 MB, free: 4.445 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.496/1.496, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.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 1.01/1.01, allocations: 149.9 MB / 463.8 MB, free: 10.32 MB / 366.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.002461/0.002461, allocations: 66.58 kB / 0.6423 GB, free: 9.637 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1765, allocations: 89.17 MB / 0.7293 GB, free: 0.543 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002976/0.1795, allocations: 1.508 MB / 0.7308 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.1808, allocations: 0.5345 MB / 0.7313 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.203e-05/0.1809, allocations: 0 / 0.7313 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.486e-05/0.181, allocations: 7.938 kB / 0.7313 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001312/0.1811, allocations: 27.78 kB / 0.7314 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009532/0.1821, allocations: 322.6 kB / 0.7317 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006658/0.1827, allocations: 491.4 kB / 0.7321 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.126e-05/0.1828, allocations: 7.984 kB / 0.7322 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000506/0.1833, allocations: 279.6 kB / 0.7324 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003585/0.1836, allocations: 127.7 kB / 0.7325 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.1838, allocations: 24 kB / 0.7326 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.1839, allocations: 28 kB / 0.7326 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000141/0.184, allocations: 119.6 kB / 0.7327 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001898/0.1842, allocations: 155.3 kB / 0.7329 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005087/0.1847, allocations: 430.4 kB / 0.7333 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1847, allocations: 4 kB / 0.7333 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1847, allocations: 0 / 0.7333 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.205e-05/0.1847, allocations: 0 / 0.7333 GB, free: 12.51 MB / 0.5606 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.001429/0.1862, allocations: 0.7988 MB / 0.7341 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.1862, allocations: 12.03 kB / 0.7341 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000141/0.1863, allocations: 52.69 kB / 0.7341 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/0.1868, allocations: 256.7 kB / 0.7344 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.726e-05/0.1869, allocations: 20.36 kB / 0.7344 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-05/0.187, allocations: 32.36 kB / 0.7344 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000953/0.1879, allocations: 210 kB / 0.7346 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.1879, allocations: 192 / 0.7346 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.395e-05/0.188, allocations: 11.92 kB / 0.7346 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.188, allocations: 0 / 0.7346 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007095/0.1887, allocations: 99.92 kB / 0.7347 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004048/0.1891, allocations: 285 kB / 0.735 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.1901, allocations: 166.4 kB / 0.7351 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007089/0.1908, allocations: 105.2 kB / 0.7352 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.1908, allocations: 3.938 kB / 0.7352 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009618/0.1918, allocations: 223.2 kB / 0.7355 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.1918, allocations: 0 / 0.7355 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002493/0.1943, allocations: 491.2 kB / 0.7359 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.1943, allocations: 63.39 kB / 0.736 GB, free: 9.551 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.1948, allocations: 409.9 kB / 0.7364 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.584e-05/0.1949, allocations: 45.69 kB / 0.7364 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.465e-05/0.195, allocations: 93.45 kB / 0.7365 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.195, allocations: 43.67 kB / 0.7366 GB, free: 8.949 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002041/0.1952, allocations: 129.5 kB / 0.7367 GB, free: 8.816 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1954, allocations: 318.8 kB / 0.737 GB, free: 8.496 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.1957, allocations: 191.3 kB / 0.7372 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.196, allocations: 245.2 kB / 0.7374 GB, free: 8.023 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003917/0.1964, allocations: 279.5 kB / 0.7377 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.1964, allocations: 0 / 0.7377 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008879/0.1973, allocations: 0.543 MB / 0.7382 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.713e-05/0.1974, allocations: 79.38 kB / 0.7383 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1974, allocations: 4 kB / 0.7383 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1974, allocations: 3.938 kB / 0.7383 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001703/0.1976, allocations: 27.92 kB / 0.7383 GB, free: 7.02 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1976, allocations: 7.984 kB / 0.7383 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004708/0.1981, allocations: 60.03 kB / 0.7384 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.974e-05/0.1982, allocations: 55.98 kB / 0.7384 GB, free: 6.898 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.000234/0.1984, allocations: 197.7 kB / 0.7386 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.715e-05/0.1985, allocations: 39.72 kB / 0.7387 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.206e-05/0.1986, allocations: 47.61 kB / 0.7387 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1986, allocations: 4 kB / 0.7387 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1986, allocations: 0 / 0.7387 GB, free: 6.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.1986, allocations: 4 kB / 0.7387 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/0.2007, allocations: 0.6777 MB / 0.7394 GB, free: 5.887 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/0.2007, allocations: 3.938 kB / 0.7394 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.768e-05/0.2008, allocations: 11.98 kB / 0.7394 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.2008, allocations: 11.94 kB / 0.7394 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.941e-05/0.2008, allocations: 19.97 kB / 0.7394 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.2008, allocations: 4 kB / 0.7394 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2008, allocations: 0 / 0.7394 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.2025, allocations: 478.2 kB / 0.7399 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003078/0.2028, allocations: 137.5 kB / 0.74 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.2029, allocations: 8 kB / 0.74 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000454/0.2033, allocations: 35.95 kB / 0.74 GB, free: 5.18 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.2034, allocations: 7.984 kB / 0.7401 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/0.2035, allocations: 55.97 kB / 0.7401 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003292/0.2038, allocations: 303 kB / 0.7404 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2038, allocations: 0 / 0.7404 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000373/0.2042, allocations: 64 kB / 0.7405 GB, free: 4.758 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.0001491/0.2043, allocations: 117 kB / 0.7406 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001311/0.2056, allocations: 477.8 kB / 0.741 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2056, allocations: 0 / 0.741 GB, free: 4.129 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007182/0.2063, allocations: 120.2 kB / 0.7411 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.2067, allocations: 29.58 kB / 0.7412 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.2082, allocations: 0.5837 MB / 0.7417 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001854/0.2084, allocations: 167 kB / 0.7419 GB, free: 3.184 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.2084, allocations: 15.42 kB / 0.7419 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.2084, allocations: 0 / 0.7419 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of Templates: time 0.006556/0.215, allocations: 3.742 MB / 0.7456 GB, free: 15.39 MB / 0.5762 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: 8.22000092919916] Failed to read output from testmodel.py, exit status != 0: 0.22483314899727702 0.23876258700000003 0.050904548 Calling exit ...