Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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.001411/0.001411, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001518/0.001518, allocations: 213.6 kB / 22.25 MB, free: 5.262 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.437/1.437, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo): time 0.914/0.914, allocations: 145 MB / 457.4 MB, free: 15.28 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/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(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") translateModel(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime") [Timeout 660] "Notification: BuildSysPro 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.00217/0.00217, allocations: 66.44 kB / 0.6335 GB, free: 6.242 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1764, allocations: 87.89 MB / 0.7194 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003163/0.1796, allocations: 1.481 MB / 0.7208 GB, free: 12.86 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001084/0.1806, allocations: 415.4 kB / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.135e-05/0.1807, allocations: 3.938 kB / 0.7212 GB, free: 12.45 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001145/0.1808, allocations: 11.88 kB / 0.7212 GB, free: 12.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.181, allocations: 20.22 kB / 0.7212 GB, free: 12.42 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008777/0.1818, allocations: 247.5 kB / 0.7215 GB, free: 12.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004817/0.1823, allocations: 311.6 kB / 0.7218 GB, free: 11.87 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.86e-05/0.1824, allocations: 7.938 kB / 0.7218 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003998/0.1828, allocations: 199.7 kB / 0.722 GB, free: 11.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003131/0.1831, allocations: 117.7 kB / 0.7221 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.169e-05/0.1832, allocations: 23.94 kB / 0.7221 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.637e-05/0.1833, allocations: 16 kB / 0.7221 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1834, allocations: 83.77 kB / 0.7222 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001485/0.1835, allocations: 107.5 kB / 0.7223 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004088/0.1839, allocations: 306.8 kB / 0.7226 GB, free: 11.03 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1839, allocations: 0 / 0.7226 GB, free: 11.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1839, allocations: 0 / 0.7226 GB, free: 11.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.1839, allocations: 0 / 0.7226 GB, free: 11.03 MB / 0.545 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.001291/0.1852, allocations: 0.6669 MB / 0.7233 GB, free: 10.29 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1853, allocations: 12.03 kB / 0.7233 GB, free: 10.28 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.1854, allocations: 44.73 kB / 0.7233 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.1858, allocations: 198.7 kB / 0.7235 GB, free: 10.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/0.1858, allocations: 16.36 kB / 0.7235 GB, free: 10 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/0.1859, allocations: 27.94 kB / 0.7235 GB, free: 9.977 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008784/0.1868, allocations: 196.2 kB / 0.7237 GB, free: 9.781 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.1868, allocations: 4 kB / 0.7237 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/0.1868, allocations: 3.984 kB / 0.7237 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1868, allocations: 0 / 0.7237 GB, free: 9.773 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006847/0.1875, allocations: 103.9 kB / 0.7238 GB, free: 9.672 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.1878, allocations: 233.1 kB / 0.7241 GB, free: 9.414 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009529/0.1888, allocations: 154.5 kB / 0.7242 GB, free: 9.254 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006667/0.1894, allocations: 100.8 kB / 0.7243 GB, free: 9.152 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.882e-05/0.1895, allocations: 11.92 kB / 0.7243 GB, free: 9.141 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008547/0.1903, allocations: 211.1 kB / 0.7245 GB, free: 8.922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.513e-06/0.1903, allocations: 0 / 0.7245 GB, free: 8.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002269/0.1926, allocations: 449.1 kB / 0.7249 GB, free: 8.477 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/0.1927, allocations: 59.39 kB / 0.725 GB, free: 8.406 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/0.193, allocations: 296.2 kB / 0.7253 GB, free: 8.105 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.193, allocations: 37.7 kB / 0.7253 GB, free: 8.062 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.1931, allocations: 97.12 kB / 0.7254 GB, free: 7.965 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.1932, allocations: 39.72 kB / 0.7254 GB, free: 7.926 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.1933, allocations: 97.53 kB / 0.7255 GB, free: 7.824 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1935, allocations: 322.8 kB / 0.7258 GB, free: 7.5 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00025/0.1937, allocations: 147.3 kB / 0.726 GB, free: 7.344 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.194, allocations: 199.4 kB / 0.7262 GB, free: 7.117 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003386/0.1944, allocations: 243 kB / 0.7264 GB, free: 6.848 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1944, allocations: 0 / 0.7264 GB, free: 6.848 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000721/0.1951, allocations: 456.1 kB / 0.7268 GB, free: 6.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.98e-05/0.1952, allocations: 71.39 kB / 0.7269 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.1952, allocations: 0 / 0.7269 GB, free: 6.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1952, allocations: 4 kB / 0.7269 GB, free: 6.285 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1953, allocations: 32.05 kB / 0.7269 GB, free: 6.254 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.1953, allocations: 11.92 kB / 0.727 GB, free: 6.242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004042/0.1957, allocations: 51.86 kB / 0.727 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.131e-05/0.1958, allocations: 43.97 kB / 0.727 GB, free: 6.148 MB / 0.545 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.000204/0.196, allocations: 173.7 kB / 0.7272 GB, free: 5.969 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.1961, allocations: 31.75 kB / 0.7272 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.545e-05/0.1961, allocations: 26.23 kB / 0.7273 GB, free: 5.91 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1961, allocations: 8 kB / 0.7273 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.1961, allocations: 0 / 0.7273 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1961, allocations: 0 / 0.7273 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00202/0.1982, allocations: 0.6376 MB / 0.7279 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1982, allocations: 0 / 0.7279 GB, free: 5.227 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.431e-05/0.1982, allocations: 8 kB / 0.7279 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1982, allocations: 0 / 0.7279 GB, free: 5.219 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.593e-05/0.1982, allocations: 15.97 kB / 0.7279 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.1982, allocations: 0 / 0.7279 GB, free: 5.203 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1982, allocations: 3.938 kB / 0.7279 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.1998, allocations: 459.5 kB / 0.7284 GB, free: 4.734 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.2, allocations: 85.72 kB / 0.7284 GB, free: 4.652 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.2001, allocations: 11.98 kB / 0.7285 GB, free: 4.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000421/0.2005, allocations: 31.91 kB / 0.7285 GB, free: 4.609 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.2006, allocations: 11.98 kB / 0.7285 GB, free: 4.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.512e-05/0.2006, allocations: 39.97 kB / 0.7285 GB, free: 4.559 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000227/0.2008, allocations: 211 kB / 0.7287 GB, free: 4.352 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2008, allocations: 0 / 0.7287 GB, free: 4.352 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003101/0.2011, allocations: 52 kB / 0.7288 GB, free: 4.301 MB / 0.545 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.0001545/0.2013, allocations: 120.9 kB / 0.7289 GB, free: 4.172 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001153/0.2025, allocations: 417.8 kB / 0.7293 GB, free: 3.727 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2025, allocations: 0 / 0.7293 GB, free: 3.727 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0006886/0.2031, allocations: 110.5 kB / 0.7294 GB, free: 3.621 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000341/0.2035, allocations: 41.28 kB / 0.7294 GB, free: 3.586 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.2047, allocations: 439.7 kB / 0.7299 GB, free: 3.133 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000143/0.2049, allocations: 128.6 kB / 0.73 GB, free: 2.988 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.524e-05/0.2049, allocations: 9.078 kB / 0.73 GB, free: 2.98 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.205, allocations: 19.44 kB / 0.73 GB, free: 2.961 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.205, allocations: 0 / 0.73 GB, free: 2.961 MB / 0.545 GB Notification: Performance of Templates: time 0.008201/0.2132, allocations: 4.409 MB / 0.7343 GB, free: 14.59 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.makefile [Timeout 660] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.sim & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.589374830946326] Failed to read output from testmodel.py, exit status != 0: 0.2218397781252861 0.23559490200000002 0.048745229 Calling exit ...