Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 92.95 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 182.7 kB / 16.92 MB, free: 6.91 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.504/1.504, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.708/0.708, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 8 kB / 495.8 MB, free: 6.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1751, allocations: 77.52 MB / 0.5599 GB, free: 9.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00164/0.1768, allocations: 1.24 MB / 0.5611 GB, free: 7.812 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.1781, allocations: 0.5928 MB / 0.5617 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.635e-05/0.1782, allocations: 0 / 0.5617 GB, free: 7.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.864e-05/0.1783, allocations: 7.922 kB / 0.5617 GB, free: 7.211 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.1784, allocations: 23.91 kB / 0.5617 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006852/0.1791, allocations: 290.2 kB / 0.562 GB, free: 6.91 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004273/0.1795, allocations: 443.4 kB / 0.5624 GB, free: 6.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.428e-05/0.1796, allocations: 7.984 kB / 0.5625 GB, free: 6.469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.18, allocations: 307 kB / 0.5627 GB, free: 6.168 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.1803, allocations: 159.4 kB / 0.5629 GB, free: 6.012 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/0.1803, allocations: 16 kB / 0.5629 GB, free: 5.996 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.061e-05/0.1804, allocations: 12 kB / 0.5629 GB, free: 5.984 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.1805, allocations: 115.5 kB / 0.563 GB, free: 5.871 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.1808, allocations: 208.7 kB / 0.5632 GB, free: 5.66 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004011/0.1812, allocations: 418.6 kB / 0.5636 GB, free: 5.25 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1812, allocations: 0 / 0.5636 GB, free: 5.25 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1812, allocations: 0 / 0.5636 GB, free: 5.25 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.1812, allocations: 0 / 0.5636 GB, free: 5.25 MB / 430.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.001049/0.1823, allocations: 0.7497 MB / 0.5644 GB, free: 4.41 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.1823, allocations: 8.031 kB / 0.5644 GB, free: 4.402 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.1824, allocations: 56.45 kB / 0.5644 GB, free: 4.348 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.1828, allocations: 310.2 kB / 0.5647 GB, free: 4.012 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.705e-05/0.1828, allocations: 16.38 kB / 0.5647 GB, free: 3.996 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.19e-05/0.1829, allocations: 32.36 kB / 0.5648 GB, free: 3.965 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.184, allocations: 222 kB / 0.565 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.184, allocations: 192 / 0.565 GB, free: 3.742 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.184, allocations: 3.938 kB / 0.565 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.184, allocations: 7.984 kB / 0.565 GB, free: 3.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008392/0.1849, allocations: 115.9 kB / 0.5651 GB, free: 3.617 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.1853, allocations: 393.2 kB / 0.5655 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.1864, allocations: 194.5 kB / 0.5657 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007904/0.1872, allocations: 120.8 kB / 0.5658 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1873, allocations: 0 / 0.5658 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009859/0.1883, allocations: 235.1 kB / 0.566 GB, free: 2.621 MB / 430.1 MB Notification: Performance of pre-optimization done (n=16): time 4.017e-06/0.1883, allocations: 0 / 0.566 GB, free: 2.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.002709/0.191, allocations: 0.5105 MB / 0.5665 GB, free: 2.105 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.1911, allocations: 63.39 kB / 0.5666 GB, free: 2.031 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.1915, allocations: 405.9 kB / 0.5669 GB, free: 1.625 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.943e-05/0.1916, allocations: 45.69 kB / 0.567 GB, free: 1.574 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.1917, allocations: 85.45 kB / 0.5671 GB, free: 1.488 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.37e-05/0.1918, allocations: 51.38 kB / 0.5671 GB, free: 1.438 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.1919, allocations: 37.69 kB / 0.5672 GB, free: 1.395 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.1921, allocations: 326.8 kB / 0.5675 GB, free: 1.066 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.1924, allocations: 127.9 kB / 0.5676 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.1927, allocations: 169.9 kB / 0.5678 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.193, allocations: 271.4 kB / 0.568 GB, free: 468 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1931, allocations: 0 / 0.568 GB, free: 468 kB / 430.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008207/0.1939, allocations: 492.6 kB / 0.5685 GB, free: 15.96 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.087e-05/0.194, allocations: 91.31 kB / 0.5686 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.194, allocations: 4 kB / 0.5686 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.194, allocations: 4.188 kB / 0.5686 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1942, allocations: 23.98 kB / 0.5686 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.1942, allocations: 11.92 kB / 0.5686 GB, free: 15.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004878/0.1947, allocations: 63.8 kB / 0.5687 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.27e-05/0.1948, allocations: 63.98 kB / 0.5687 GB, free: 15.69 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.calTim.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.00022/0.195, allocations: 189.6 kB / 0.5689 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.1951, allocations: 43.45 kB / 0.569 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/0.1951, allocations: 39.75 kB / 0.569 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.1952, allocations: 4 kB / 0.569 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.1952, allocations: 3.938 kB / 0.569 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1952, allocations: 0 / 0.569 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.1974, allocations: 0.7675 MB / 0.5697 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1975, allocations: 0 / 0.5697 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.1975, allocations: 11.88 kB / 0.5698 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1975, allocations: 4 kB / 0.5698 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.505e-05/0.1975, allocations: 19.97 kB / 0.5698 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1976, allocations: 0 / 0.5698 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1976, allocations: 0 / 0.5698 GB, free: 14.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.1994, allocations: 500 kB / 0.5703 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.1996, allocations: 204.5 kB / 0.5705 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.1997, allocations: 8 kB / 0.5705 GB, free: 13.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005088/0.2002, allocations: 31.97 kB / 0.5705 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.2003, allocations: 19.98 kB / 0.5705 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/0.2003, allocations: 55.97 kB / 0.5706 GB, free: 13.71 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003239/0.2007, allocations: 295.1 kB / 0.5708 GB, free: 13.42 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2007, allocations: 0 / 0.5708 GB, free: 13.42 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003965/0.2011, allocations: 67.98 kB / 0.5709 GB, free: 13.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,calTim.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.0001701/0.2013, allocations: 119.1 kB / 0.571 GB, free: 13.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.2027, allocations: 446.5 kB / 0.5715 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.2027, allocations: 0 / 0.5715 GB, free: 12.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008172/0.2035, allocations: 132.8 kB / 0.5716 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004046/0.204, allocations: 37.41 kB / 0.5716 GB, free: 12.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001644/0.2056, allocations: 0.6766 MB / 0.5723 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003918/0.206, allocations: 0.7711 MB / 0.573 GB, free: 11.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.333e-05/0.2061, allocations: 9.078 kB / 0.573 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.565e-05/0.2062, allocations: 27.36 kB / 0.5731 GB, free: 11.07 MB / 446.1 MB Notification: Performance of SimCode: time 3.6e-07/0.2062, allocations: 0 / 0.5731 GB, free: 11.07 MB / 446.1 MB Notification: Performance of Templates: time 0.009561/0.2157, allocations: 4.909 MB / 0.5779 GB, free: 6.074 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1)