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.001356/0.001356, allocations: 100.4 kB / 19.7 MB, free: 2.125 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.001516/0.001516, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.449/1.449, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9465/0.9465, allocations: 145 MB / 458.2 MB, free: 15.25 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.003188/0.003188, allocations: 70.67 kB / 0.6343 GB, free: 6.172 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1909, allocations: 87.9 MB / 0.7201 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.003115/0.194, allocations: 1.483 MB / 0.7216 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.195, allocations: 415.4 kB / 0.722 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.1951, allocations: 0 / 0.722 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.1952, allocations: 15.86 kB / 0.722 GB, free: 12.37 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.1953, allocations: 16.23 kB / 0.722 GB, free: 12.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008359/0.1962, allocations: 255.4 kB / 0.7222 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004447/0.1966, allocations: 315.5 kB / 0.7225 GB, free: 11.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.1967, allocations: 4 kB / 0.7225 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000355/0.197, allocations: 203.6 kB / 0.7227 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.1973, allocations: 116 kB / 0.7228 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.95e-05/0.1974, allocations: 20 kB / 0.7229 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 9.718e-05/0.1975, allocations: 16 kB / 0.7229 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001496/0.1976, allocations: 79.78 kB / 0.723 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000185/0.1978, allocations: 107.5 kB / 0.7231 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.1983, allocations: 306.8 kB / 0.7234 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.1983, allocations: 7.984 kB / 0.7234 GB, free: 10.95 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1983, allocations: 0 / 0.7234 GB, free: 10.95 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.1983, allocations: 0 / 0.7234 GB, free: 10.95 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.001198/0.1995, allocations: 0.6669 MB / 0.724 GB, free: 10.22 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.1996, allocations: 12.03 kB / 0.724 GB, free: 10.21 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.1997, allocations: 32.75 kB / 0.7241 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003934/0.2001, allocations: 206.6 kB / 0.7242 GB, free: 9.949 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.2001, allocations: 12.38 kB / 0.7243 GB, free: 9.938 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.896e-05/0.2002, allocations: 27.92 kB / 0.7243 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009095/0.2011, allocations: 200.2 kB / 0.7245 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2011, allocations: 0 / 0.7245 GB, free: 9.711 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.337e-05/0.2011, allocations: 4 kB / 0.7245 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2011, allocations: 0 / 0.7245 GB, free: 9.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000697/0.2018, allocations: 103.8 kB / 0.7246 GB, free: 9.605 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.2021, allocations: 225.2 kB / 0.7248 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009708/0.2031, allocations: 158.5 kB / 0.7249 GB, free: 9.191 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006762/0.2038, allocations: 104.7 kB / 0.725 GB, free: 9.086 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.823e-05/0.2038, allocations: 7.938 kB / 0.7251 GB, free: 9.078 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009184/0.2047, allocations: 211.1 kB / 0.7253 GB, free: 8.859 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.214e-06/0.2047, allocations: 7.875 kB / 0.7253 GB, free: 8.852 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002358/0.2071, allocations: 447.9 kB / 0.7257 GB, free: 8.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.2072, allocations: 55.41 kB / 0.7257 GB, free: 8.344 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003318/0.2075, allocations: 300.1 kB / 0.726 GB, free: 8.039 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.238e-05/0.2076, allocations: 37.7 kB / 0.7261 GB, free: 7.996 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.877e-05/0.2077, allocations: 97.12 kB / 0.7262 GB, free: 7.898 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.2077, allocations: 35.73 kB / 0.7262 GB, free: 7.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.2079, allocations: 97.53 kB / 0.7263 GB, free: 7.762 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.208, allocations: 326.8 kB / 0.7266 GB, free: 7.434 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002486/0.2083, allocations: 151.3 kB / 0.7267 GB, free: 7.273 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.2086, allocations: 197.8 kB / 0.7269 GB, free: 7.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.2089, allocations: 239 kB / 0.7272 GB, free: 6.781 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2089, allocations: 0 / 0.7272 GB, free: 6.781 MB / 0.545 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007391/0.2096, allocations: 456 kB / 0.7276 GB, free: 6.305 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.34e-05/0.2097, allocations: 75.38 kB / 0.7277 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2097, allocations: 0 / 0.7277 GB, free: 6.219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.2097, allocations: 4 kB / 0.7277 GB, free: 6.215 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.2099, allocations: 23.98 kB / 0.7277 GB, free: 6.191 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.2099, allocations: 3.938 kB / 0.7277 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.2104, allocations: 67.97 kB / 0.7278 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-05/0.2104, allocations: 35.98 kB / 0.7278 GB, free: 6.086 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.0002314/0.2107, allocations: 177.8 kB / 0.728 GB, free: 5.902 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.613e-05/0.2107, allocations: 31.75 kB / 0.728 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.212e-05/0.2108, allocations: 26.23 kB / 0.728 GB, free: 5.844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2108, allocations: 7.938 kB / 0.728 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.2108, allocations: 0 / 0.728 GB, free: 5.836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.2108, allocations: 4 kB / 0.728 GB, free: 5.832 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.2129, allocations: 0.623 MB / 0.7286 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2129, allocations: 0 / 0.7286 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.058e-05/0.2129, allocations: 11.92 kB / 0.7287 GB, free: 5.156 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.2129, allocations: 4 kB / 0.7287 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.213, allocations: 11.98 kB / 0.7287 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.213, allocations: 3.984 kB / 0.7287 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.213, allocations: 0 / 0.7287 GB, free: 5.137 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/0.2146, allocations: 451.5 kB / 0.7291 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00024/0.2148, allocations: 93.7 kB / 0.7292 GB, free: 4.59 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.905e-05/0.2149, allocations: 11.98 kB / 0.7292 GB, free: 4.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004342/0.2153, allocations: 31.97 kB / 0.7292 GB, free: 4.547 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.158e-05/0.2154, allocations: 7.984 kB / 0.7292 GB, free: 4.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/0.2154, allocations: 43.91 kB / 0.7293 GB, free: 4.496 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002359/0.2157, allocations: 207.1 kB / 0.7295 GB, free: 4.293 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2157, allocations: 0 / 0.7295 GB, free: 4.293 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003581/0.216, allocations: 55.98 kB / 0.7295 GB, free: 4.238 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.0001734/0.2162, allocations: 120.9 kB / 0.7296 GB, free: 4.109 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001209/0.2174, allocations: 424.5 kB / 0.7301 GB, free: 3.66 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2174, allocations: 0 / 0.7301 GB, free: 3.66 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0007005/0.2181, allocations: 116.2 kB / 0.7302 GB, free: 3.547 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.2185, allocations: 22.88 kB / 0.7302 GB, free: 3.527 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.2198, allocations: 473.3 kB / 0.7306 GB, free: 3.035 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.22, allocations: 132.6 kB / 0.7308 GB, free: 2.887 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.22, allocations: 15.44 kB / 0.7308 GB, free: 2.871 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.22, allocations: 0 / 0.7308 GB, free: 2.871 MB / 0.545 GB Notification: Performance of Templates: time 0.005638/0.2257, allocations: 2.889 MB / 0.7336 GB, free: 15.99 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: 8.086949926335365] Failed to read output from testmodel.py, exit status != 0: 0.23733907099813223 0.25090158100000004 0.049296483 Calling exit ...