Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001497/0.001497, allocations: 103.6 kB / 18.95 MB, free: 2.688 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.001686/0.001686, allocations: 216 kB / 22.24 MB, free: 5.242 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002431/0.002431, allocations: 289.8 kB / 312.7 MB, free: 2.586 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.22/1.22, allocations: 180.6 MB / 0.5369 GB, free: 14.48 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") translateModel(BuildingSystems.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002901/0.002901, allocations: 94.42 kB / 0.7399 GB, free: 27.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.171, allocations: 95.39 MB / 0.8331 GB, free: 7.965 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.CalendarTime): time 0.002844/0.1738, allocations: 1.528 MB / 0.8346 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.1751, allocations: 0.5351 MB / 0.8351 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.691e-05/0.1752, allocations: 0 / 0.8351 GB, free: 5.891 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.699e-05/0.1753, allocations: 7.875 kB / 0.8351 GB, free: 5.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.1754, allocations: 31.78 kB / 0.8351 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007765/0.1762, allocations: 311.4 kB / 0.8354 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.1767, allocations: 479.5 kB / 0.8359 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.1768, allocations: 7.984 kB / 0.8359 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003837/0.1771, allocations: 279.6 kB / 0.8362 GB, free: 4.797 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.1774, allocations: 131.6 kB / 0.8363 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.743e-05/0.1775, allocations: 28 kB / 0.8363 GB, free: 4.641 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.1776, allocations: 24 kB / 0.8363 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.1778, allocations: 119.7 kB / 0.8365 GB, free: 4.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.1779, allocations: 159.2 kB / 0.8366 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.1784, allocations: 430.4 kB / 0.837 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1784, allocations: 0 / 0.837 GB, free: 3.922 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1784, allocations: 4 kB / 0.837 GB, free: 3.918 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.012e-06/0.1784, allocations: 0 / 0.837 GB, free: 3.918 MB / 0.5762 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.001246/0.1797, allocations: 0.7988 MB / 0.8378 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.1797, allocations: 9.344 kB / 0.8378 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.1798, allocations: 56.69 kB / 0.8379 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005069/0.1803, allocations: 252.7 kB / 0.8381 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.742e-05/0.1804, allocations: 16.36 kB / 0.8381 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.775e-05/0.1805, allocations: 32.36 kB / 0.8382 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009159/0.1814, allocations: 215 kB / 0.8384 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.1814, allocations: 192 / 0.8384 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.1814, allocations: 11.91 kB / 0.8384 GB, free: 2.438 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1814, allocations: 4 kB / 0.8384 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007071/0.1821, allocations: 103.9 kB / 0.8385 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.1825, allocations: 281.1 kB / 0.8387 GB, free: 2.027 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009587/0.1835, allocations: 162.5 kB / 0.8389 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000694/0.1842, allocations: 100.8 kB / 0.839 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.1842, allocations: 4 kB / 0.839 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008946/0.1851, allocations: 223.1 kB / 0.8392 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.1851, allocations: 3.938 kB / 0.8392 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of matching and sorting (n=16): time 0.002407/0.1875, allocations: 491.1 kB / 0.8397 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.564e-05/0.1876, allocations: 63.39 kB / 0.8397 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004358/0.188, allocations: 413.9 kB / 0.8401 GB, free: 0.5469 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.678e-05/0.1881, allocations: 41.69 kB / 0.8402 GB, free: 0.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.1882, allocations: 97.44 kB / 0.8403 GB, free: 412 kB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.772e-05/0.1882, allocations: 43.69 kB / 0.8403 GB, free: 368 kB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.1884, allocations: 125.5 kB / 0.8404 GB, free: 236 kB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1885, allocations: 322.8 kB / 0.8407 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.1889, allocations: 195.3 kB / 0.8409 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003583/0.1892, allocations: 242.5 kB / 0.8412 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003967/0.1896, allocations: 275.7 kB / 0.8414 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1896, allocations: 0 / 0.8414 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009331/0.1906, allocations: 0.5469 MB / 0.842 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.371e-05/0.1906, allocations: 79.38 kB / 0.842 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1907, allocations: 4 kB / 0.842 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1907, allocations: 7.938 kB / 0.842 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1908, allocations: 19.98 kB / 0.8421 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.1908, allocations: 12.12 kB / 0.8421 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004723/0.1913, allocations: 71.77 kB / 0.8421 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-05/0.1914, allocations: 55.98 kB / 0.8422 GB, free: 14.3 MB / 0.5919 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.0002225/0.1916, allocations: 186.4 kB / 0.8424 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.78e-05/0.1917, allocations: 35.77 kB / 0.8424 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.745e-05/0.1917, allocations: 51.61 kB / 0.8425 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1917, allocations: 3.938 kB / 0.8425 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.1917, allocations: 4 kB / 0.8425 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1917, allocations: 0 / 0.8425 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00218/0.1939, allocations: 0.6739 MB / 0.8431 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.197e-06/0.1939, allocations: 3.938 kB / 0.8431 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.783e-05/0.194, allocations: 11.92 kB / 0.8431 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.194, allocations: 4 kB / 0.8431 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.866e-05/0.194, allocations: 19.98 kB / 0.8432 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.194, allocations: 3.984 kB / 0.8432 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.194, allocations: 0 / 0.8432 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.1957, allocations: 478.3 kB / 0.8436 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.196, allocations: 141.4 kB / 0.8438 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.1961, allocations: 12 kB / 0.8438 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000453/0.1965, allocations: 36.58 kB / 0.8438 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.1966, allocations: 3.984 kB / 0.8438 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.421e-05/0.1966, allocations: 55.98 kB / 0.8439 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003723/0.197, allocations: 299.1 kB / 0.8441 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.197, allocations: 3.938 kB / 0.8442 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003395/0.1973, allocations: 63.98 kB / 0.8442 GB, free: 12.17 MB / 0.5919 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.0001568/0.1975, allocations: 120.9 kB / 0.8443 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001254/0.1988, allocations: 469.9 kB / 0.8448 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1988, allocations: 4 kB / 0.8448 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0007158/0.1995, allocations: 120.2 kB / 0.8449 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1998, allocations: 36.09 kB / 0.8449 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.2013, allocations: 0.5534 MB / 0.8455 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002281/0.2015, allocations: 162.9 kB / 0.8456 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.428e-05/0.2016, allocations: 17.08 kB / 0.8456 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.2016, allocations: 19.44 kB / 0.8457 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.2016, allocations: 0 / 0.8457 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of Templates: time 0.01083/0.2124, allocations: 6.188 MB / 0.8517 GB, free: 4.363 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.9954379089176655] Failed to read output from testmodel.py, exit status != 0: 0.2202488649636507 0.23552515100000002 0.054147481000000004 Calling exit ...