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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 106.6 kB / 16.4 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 193.8 kB / 17.34 MB, free: 5.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7985/0.7985, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 58.47 kB / 0.5684 GB, free: 28.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1714, allocations: 77.94 MB / 0.6446 GB, free: 9.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002652/0.1741, allocations: 1.508 MB / 0.646 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001245/0.1753, allocations: 0.5461 MB / 0.6466 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.1754, allocations: 0 / 0.6466 GB, free: 6.949 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.1755, allocations: 7.922 kB / 0.6466 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.1756, allocations: 31.84 kB / 0.6466 GB, free: 6.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007536/0.1764, allocations: 313.2 kB / 0.6469 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005447/0.1769, allocations: 0.4994 MB / 0.6474 GB, free: 6.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.556e-05/0.177, allocations: 15.97 kB / 0.6474 GB, free: 6.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003644/0.1774, allocations: 275.6 kB / 0.6477 GB, free: 5.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002835/0.1777, allocations: 148 kB / 0.6478 GB, free: 5.676 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.385e-05/0.1778, allocations: 24 kB / 0.6478 GB, free: 5.652 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.274e-05/0.1779, allocations: 28 kB / 0.6479 GB, free: 5.625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.178, allocations: 115.6 kB / 0.648 GB, free: 5.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.1782, allocations: 179.1 kB / 0.6481 GB, free: 5.336 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000393/0.1786, allocations: 430.4 kB / 0.6485 GB, free: 4.914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1786, allocations: 0 / 0.6485 GB, free: 4.914 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1786, allocations: 0 / 0.6485 GB, free: 4.914 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.1786, allocations: 0 / 0.6485 GB, free: 4.914 MB / 494.1 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.001126/0.1798, allocations: 0.8781 MB / 0.6494 GB, free: 3.945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.1798, allocations: 16.61 kB / 0.6494 GB, free: 3.93 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1799, allocations: 52.64 kB / 0.6495 GB, free: 3.879 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.1803, allocations: 314.5 kB / 0.6498 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.76e-05/0.1803, allocations: 12.38 kB / 0.6498 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.547e-05/0.1804, allocations: 36.36 kB / 0.6498 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009221/0.1814, allocations: 210 kB / 0.65 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1814, allocations: 192 / 0.65 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.807e-05/0.1814, allocations: 3.938 kB / 0.65 GB, free: 3.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1814, allocations: 4 kB / 0.65 GB, free: 3.266 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007142/0.1821, allocations: 103.9 kB / 0.6501 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004152/0.1826, allocations: 385.2 kB / 0.6505 GB, free: 2.738 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.1836, allocations: 182.4 kB / 0.6507 GB, free: 2.551 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007302/0.1843, allocations: 113.2 kB / 0.6508 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.392e-05/0.1844, allocations: 0 / 0.6508 GB, free: 2.438 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009587/0.1854, allocations: 227.2 kB / 0.651 GB, free: 2.203 MB / 494.1 MB Notification: Performance of pre-optimization done (n=16): time 2.054e-06/0.1854, allocations: 0 / 0.651 GB, free: 2.203 MB / 494.1 MB Notification: Performance of matching and sorting (n=16): time 0.002555/0.1879, allocations: 485 kB / 0.6515 GB, free: 1.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.188, allocations: 67.33 kB / 0.6515 GB, free: 1.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004347/0.1884, allocations: 413.9 kB / 0.6519 GB, free: 1.227 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.572e-05/0.1885, allocations: 41.7 kB / 0.652 GB, free: 1.18 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.818e-05/0.1886, allocations: 89.44 kB / 0.652 GB, free: 1.09 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/0.1886, allocations: 47.62 kB / 0.6521 GB, free: 1.043 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.1888, allocations: 125.5 kB / 0.6522 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.189, allocations: 326.8 kB / 0.6525 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002554/0.1892, allocations: 115.9 kB / 0.6526 GB, free: 484 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002728/0.1895, allocations: 165.9 kB / 0.6528 GB, free: 296 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.1899, allocations: 277.8 kB / 0.653 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.1899, allocations: 4 kB / 0.6531 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007571/0.1907, allocations: 491 kB / 0.6535 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.65e-05/0.1908, allocations: 91.31 kB / 0.6536 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1908, allocations: 4 kB / 0.6536 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1908, allocations: 4 kB / 0.6536 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001679/0.191, allocations: 31.91 kB / 0.6536 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.191, allocations: 0 / 0.6536 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004484/0.1915, allocations: 59.84 kB / 0.6537 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.97e-05/0.1915, allocations: 56.02 kB / 0.6538 GB, free: 15.23 MB / 0.4981 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.0002034/0.1918, allocations: 209.2 kB / 0.654 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.684e-05/0.1918, allocations: 43.66 kB / 0.654 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.1919, allocations: 39.75 kB / 0.654 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.07e-06/0.1919, allocations: 0 / 0.654 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.1919, allocations: 7.938 kB / 0.654 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1919, allocations: 3.984 kB / 0.654 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.194, allocations: 0.7475 MB / 0.6548 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.194, allocations: 3.938 kB / 0.6548 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.49e-05/0.1941, allocations: 4 kB / 0.6548 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1941, allocations: 4 kB / 0.6548 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.1941, allocations: 15.97 kB / 0.6548 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1941, allocations: 4 kB / 0.6548 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.1941, allocations: 4 kB / 0.6548 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.1958, allocations: 480.5 kB / 0.6553 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.1961, allocations: 200.7 kB / 0.6555 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.599e-05/0.1961, allocations: 8 kB / 0.6555 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.1966, allocations: 39.33 kB / 0.6555 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.1967, allocations: 4 kB / 0.6555 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-05/0.1967, allocations: 63.97 kB / 0.6556 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002778/0.197, allocations: 295.1 kB / 0.6559 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.197, allocations: 0 / 0.6559 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003507/0.1974, allocations: 63.98 kB / 0.6559 GB, free: 12.93 MB / 0.4981 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.000172/0.1976, allocations: 129 kB / 0.656 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.1989, allocations: 430.5 kB / 0.6564 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1989, allocations: 0 / 0.6564 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007593/0.1997, allocations: 132.2 kB / 0.6566 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.2, allocations: 29.75 kB / 0.6566 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.2014, allocations: 0.5547 MB / 0.6571 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003049/0.2017, allocations: 0.7669 MB / 0.6579 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.521e-05/0.2018, allocations: 17.08 kB / 0.6579 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.923e-05/0.2018, allocations: 15.44 kB / 0.6579 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of SimCode: time 2.255e-06/0.2019, allocations: 0 / 0.6579 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.00815/0.21, allocations: 5.003 MB / 0.6628 GB, free: 5.684 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime.makefile (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)