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.0016/0.0016, allocations: 105 kB / 20.45 MB, free: 1.5 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.002031/0.002031, allocations: 219.9 kB / 23.76 MB, free: 4.711 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.445/1.445, allocations: 230.6 MB / 257.5 MB, free: 7.996 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 0.9736/0.9736, allocations: 150 MB / 463.9 MB, free: 10.54 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.002256/0.002256, allocations: 68.56 kB / 0.6425 GB, free: 9.992 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1729, allocations: 89.17 MB / 0.7295 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002988/0.1759, allocations: 1.541 MB / 0.731 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001364/0.1773, allocations: 0.5462 MB / 0.7316 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.414e-05/0.1773, allocations: 4 kB / 0.7316 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.1775, allocations: 11.86 kB / 0.7316 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.1776, allocations: 27.84 kB / 0.7316 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009343/0.1785, allocations: 314.3 kB / 0.7319 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0006335/0.1792, allocations: 487.4 kB / 0.7324 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.371e-05/0.1792, allocations: 4 kB / 0.7324 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004943/0.1797, allocations: 279.6 kB / 0.7327 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003689/0.1801, allocations: 148.6 kB / 0.7328 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.528e-05/0.1801, allocations: 24 kB / 0.7328 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.797e-05/0.1802, allocations: 28 kB / 0.7328 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.1804, allocations: 115.7 kB / 0.733 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002157/0.1806, allocations: 195 kB / 0.7331 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.1811, allocations: 422.4 kB / 0.7335 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1811, allocations: 0 / 0.7335 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1811, allocations: 0 / 0.7335 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.1811, allocations: 0 / 0.7335 GB, free: 12.77 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.001377/0.1825, allocations: 0.7989 MB / 0.7343 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1825, allocations: 12.03 kB / 0.7343 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.1826, allocations: 56.62 kB / 0.7344 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004462/0.1831, allocations: 260.7 kB / 0.7346 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/0.1831, allocations: 28.3 kB / 0.7347 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.809e-05/0.1832, allocations: 24.36 kB / 0.7347 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009434/0.1842, allocations: 206 kB / 0.7349 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.1842, allocations: 192 / 0.7349 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.1842, allocations: 15.92 kB / 0.7349 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1842, allocations: 0 / 0.7349 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000735/0.1849, allocations: 105.9 kB / 0.735 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.1854, allocations: 360.3 kB / 0.7353 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009697/0.1864, allocations: 162.5 kB / 0.7355 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.1871, allocations: 97.16 kB / 0.7356 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.1871, allocations: 15.91 kB / 0.7356 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009294/0.1881, allocations: 219.2 kB / 0.7358 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.003e-06/0.1881, allocations: 0 / 0.7358 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.00242/0.1905, allocations: 495.5 kB / 0.7363 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.1905, allocations: 59.41 kB / 0.7364 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005226/0.1911, allocations: 413.9 kB / 0.7367 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/0.1911, allocations: 37.7 kB / 0.7368 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/0.1912, allocations: 101.4 kB / 0.7369 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.756e-05/0.1913, allocations: 39.69 kB / 0.7369 GB, free: 9.109 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.1915, allocations: 133.5 kB / 0.737 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001783/0.1917, allocations: 322.8 kB / 0.7374 GB, free: 8.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000264/0.1919, allocations: 115.9 kB / 0.7375 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.1922, allocations: 161.9 kB / 0.7376 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000402/0.1927, allocations: 277.2 kB / 0.7379 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.1927, allocations: 0 / 0.7379 GB, free: 8.051 MB / 0.5606 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000879/0.1935, allocations: 494.3 kB / 0.7384 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.632e-05/0.1936, allocations: 95.25 kB / 0.7384 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1936, allocations: 0 / 0.7384 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.1937, allocations: 4 kB / 0.7384 GB, free: 7.441 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.1938, allocations: 23.97 kB / 0.7385 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1938, allocations: 3.938 kB / 0.7385 GB, free: 7.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004866/0.1943, allocations: 63.78 kB / 0.7385 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.804e-05/0.1944, allocations: 64.08 kB / 0.7386 GB, free: 7.289 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.0002949/0.1947, allocations: 193.8 kB / 0.7388 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.1948, allocations: 47.64 kB / 0.7388 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.341e-05/0.1949, allocations: 39.69 kB / 0.7389 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1949, allocations: 0 / 0.7389 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1949, allocations: 0 / 0.7389 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1949, allocations: 0 / 0.7389 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002201/0.1971, allocations: 0.7239 MB / 0.7396 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1971, allocations: 3.984 kB / 0.7396 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.516e-05/0.1971, allocations: 4 kB / 0.7396 GB, free: 6.223 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1971, allocations: 3.938 kB / 0.7396 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.541e-05/0.1972, allocations: 23.91 kB / 0.7396 GB, free: 6.195 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1972, allocations: 8 kB / 0.7396 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1972, allocations: 0 / 0.7396 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/0.1988, allocations: 470.4 kB / 0.7401 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002965/0.1991, allocations: 133.6 kB / 0.7402 GB, free: 5.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.224e-05/0.1992, allocations: 12 kB / 0.7402 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.1996, allocations: 35.95 kB / 0.7402 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.123e-05/0.1996, allocations: 7.984 kB / 0.7402 GB, free: 5.531 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.1998, allocations: 55.97 kB / 0.7403 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000331/0.2001, allocations: 299.1 kB / 0.7406 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2001, allocations: 0 / 0.7406 GB, free: 5.184 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003585/0.2004, allocations: 63.94 kB / 0.7406 GB, free: 5.121 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.0001554/0.2006, allocations: 120.9 kB / 0.7408 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.2018, allocations: 410.5 kB / 0.7411 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2018, allocations: 0 / 0.7411 GB, free: 4.566 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007358/0.2026, allocations: 116.2 kB / 0.7413 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.203, allocations: 33.56 kB / 0.7413 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.2045, allocations: 0.5876 MB / 0.7419 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000448/0.2049, allocations: 0.7708 MB / 0.7426 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.205, allocations: 15.44 kB / 0.7426 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.205, allocations: 4 kB / 0.7426 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of Templates: time 0.006918/0.2119, allocations: 3.733 MB / 0.7463 GB, free: 15.21 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: 7.99895814107731] Failed to read output from testmodel.py, exit status != 0: 0.22170374589040875 0.23658420699999996 0.05227532 Calling exit ...