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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001549/0.001549, allocations: 102.4 kB / 18.91 MB, free: 3.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 201.9 kB / 22.06 MB, free: 260 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 250.7 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8384/0.8384, allocations: 128.4 MB / 434.1 MB, free: 6.617 MB / 334.1 MB [Timeout remaining time 89] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Time.Examples.CalendarTime") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 70.81 kB / 0.6012 GB, free: 21.44 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1728, allocations: 83.25 MB / 0.6825 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002843/0.1756, allocations: 1.513 MB / 0.684 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001407/0.177, allocations: 0.5539 MB / 0.6845 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.4e-05/0.1771, allocations: 0 / 0.6845 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.855e-05/0.1772, allocations: 11.86 kB / 0.6845 GB, free: 0.8594 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.1773, allocations: 31.62 kB / 0.6846 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007873/0.1781, allocations: 300.9 kB / 0.6849 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000536/0.1786, allocations: 487.4 kB / 0.6853 GB, free: 60 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.214e-05/0.1787, allocations: 12 kB / 0.6853 GB, free: 48 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003963/0.1791, allocations: 279.6 kB / 0.6856 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000286/0.1794, allocations: 147.6 kB / 0.6857 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.697e-05/0.1794, allocations: 24 kB / 0.6858 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 9.125e-05/0.1795, allocations: 28 kB / 0.6858 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.1797, allocations: 119.7 kB / 0.6859 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.1799, allocations: 183 kB / 0.6861 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.1804, allocations: 422.4 kB / 0.6865 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1804, allocations: 3.938 kB / 0.6865 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1804, allocations: 4 kB / 0.6865 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.473e-06/0.1804, allocations: 0 / 0.6865 GB, free: 14.86 MB / 0.5137 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.001338/0.1817, allocations: 0.8703 MB / 0.6873 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.1818, allocations: 12.03 kB / 0.6874 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.1819, allocations: 60.64 kB / 0.6874 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004525/0.1824, allocations: 310.6 kB / 0.6877 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.1824, allocations: 16.36 kB / 0.6877 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.236e-05/0.1825, allocations: 28.36 kB / 0.6878 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.1835, allocations: 217 kB / 0.688 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1835, allocations: 4.172 kB / 0.688 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.135e-05/0.1836, allocations: 3.938 kB / 0.688 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.1836, allocations: 7.938 kB / 0.688 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008069/0.1844, allocations: 99.92 kB / 0.6881 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.1849, allocations: 385.3 kB / 0.6884 GB, free: 12.69 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/0.186, allocations: 162.6 kB / 0.6886 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007815/0.1868, allocations: 109 kB / 0.6887 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.1868, allocations: 11.88 kB / 0.6887 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001022/0.1878, allocations: 227.1 kB / 0.6889 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=16): time 2.304e-06/0.1878, allocations: 0 / 0.6889 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of matching and sorting (n=16): time 0.002531/0.1903, allocations: 488 kB / 0.6894 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/0.1904, allocations: 59.41 kB / 0.6894 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004765/0.1909, allocations: 413.9 kB / 0.6898 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.1909, allocations: 37.7 kB / 0.6899 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.214e-05/0.191, allocations: 97.42 kB / 0.69 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.762e-05/0.1911, allocations: 39.73 kB / 0.69 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002039/0.1913, allocations: 129.4 kB / 0.6901 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1914, allocations: 326.8 kB / 0.6904 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002726/0.1917, allocations: 115.9 kB / 0.6906 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003277/0.192, allocations: 169.9 kB / 0.6907 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.1924, allocations: 271.7 kB / 0.691 GB, free: 9.961 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1924, allocations: 4 kB / 0.691 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009764/0.1934, allocations: 490.2 kB / 0.6914 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-05/0.1935, allocations: 91.5 kB / 0.6915 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.1935, allocations: 8 kB / 0.6915 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.1935, allocations: 0 / 0.6915 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001799/0.1937, allocations: 31.95 kB / 0.6916 GB, free: 9.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.1937, allocations: 7.938 kB / 0.6916 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004971/0.1942, allocations: 55.78 kB / 0.6916 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.532e-05/0.1943, allocations: 59.98 kB / 0.6917 GB, free: 9.199 MB / 0.5137 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.0002587/0.1946, allocations: 201.7 kB / 0.6919 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.629e-05/0.1947, allocations: 43.66 kB / 0.6919 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.544e-05/0.1947, allocations: 39.75 kB / 0.692 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.1947, allocations: 4 kB / 0.692 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1947, allocations: 0 / 0.692 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.1947, allocations: 3.984 kB / 0.692 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002331/0.1971, allocations: 0.7444 MB / 0.6927 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.1971, allocations: 0 / 0.6927 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.1971, allocations: 7.938 kB / 0.6927 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1971, allocations: 0 / 0.6927 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.1972, allocations: 19.97 kB / 0.6927 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.1972, allocations: 0 / 0.6927 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1972, allocations: 0 / 0.6927 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.199, allocations: 486.2 kB / 0.6932 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.1992, allocations: 196.7 kB / 0.6934 GB, free: 7.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.1993, allocations: 12 kB / 0.6934 GB, free: 7.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.1998, allocations: 39.95 kB / 0.6934 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.1998, allocations: 4 kB / 0.6934 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.211e-05/0.1999, allocations: 55.97 kB / 0.6935 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003173/0.2002, allocations: 303 kB / 0.6938 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.2002, allocations: 0 / 0.6938 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003779/0.2006, allocations: 67.92 kB / 0.6938 GB, free: 6.902 MB / 0.5137 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.000163/0.2007, allocations: 124.9 kB / 0.694 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.2021, allocations: 402.5 kB / 0.6943 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2021, allocations: 3.938 kB / 0.6943 GB, free: 6.348 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007668/0.2028, allocations: 112.3 kB / 0.6945 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.2032, allocations: 37.41 kB / 0.6945 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.2047, allocations: 0.5915 MB / 0.6951 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004687/0.2052, allocations: 0.7669 MB / 0.6958 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.2053, allocations: 19.42 kB / 0.6958 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.2053, allocations: 3.938 kB / 0.6958 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of Templates: time 0.006262/0.2115, allocations: 3.728 MB / 0.6995 GB, free: 0.9766 MB / 0.5137 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]