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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 186.3 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 225.6 MB / 251 MB, free: 13.02 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.9013/0.9013, allocations: 145 MB / 451.2 MB, free: 5.457 MB / 350.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.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(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: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 67.83 kB / 0.6253 GB, free: 15.53 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1832, allocations: 86.71 MB / 0.71 GB, free: 8.824 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Time.Examples.CalendarTime): time 0.002787/0.1859, allocations: 1.501 MB / 0.7114 GB, free: 7.312 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001047/0.187, allocations: 431.3 kB / 0.7118 GB, free: 6.887 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.349e-05/0.187, allocations: 0 / 0.7118 GB, free: 6.887 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 0.000112/0.1872, allocations: 7.875 kB / 0.7118 GB, free: 6.879 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001175/0.1873, allocations: 28.22 kB / 0.7119 GB, free: 6.852 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007474/0.188, allocations: 258.7 kB / 0.7121 GB, free: 6.602 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.0004001/0.1884, allocations: 311.5 kB / 0.7124 GB, free: 6.297 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.1885, allocations: 8 kB / 0.7124 GB, free: 6.289 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.1888, allocations: 203.6 kB / 0.7126 GB, free: 6.09 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.189, allocations: 117.2 kB / 0.7127 GB, free: 5.977 MB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 7.337e-05/0.1891, allocations: 20 kB / 0.7128 GB, free: 5.957 MB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.704e-05/0.1892, allocations: 20 kB / 0.7128 GB, free: 5.938 MB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001227/0.1893, allocations: 87.7 kB / 0.7129 GB, free: 5.852 MB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001514/0.1894, allocations: 123.4 kB / 0.713 GB, free: 5.73 MB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.1898, allocations: 302.9 kB / 0.7133 GB, free: 5.434 MB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1898, allocations: 0 / 0.7133 GB, free: 5.434 MB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.663e-06/0.1898, allocations: 0 / 0.7133 GB, free: 5.434 MB / 0.5294 GB
Notification: Performance of Transformations before backend: time 6.071e-06/0.1898, allocations: 0 / 0.7133 GB, free: 5.434 MB / 0.5294 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.001149/0.191, allocations: 0.6747 MB / 0.7139 GB, free: 4.691 MB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.191, allocations: 11.97 kB / 0.7139 GB, free: 4.68 MB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.1911, allocations: 28.8 kB / 0.714 GB, free: 4.652 MB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000346/0.1915, allocations: 214.6 kB / 0.7142 GB, free: 4.418 MB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.704e-05/0.1915, allocations: 20.38 kB / 0.7142 GB, free: 4.398 MB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.432e-05/0.1916, allocations: 23.92 kB / 0.7142 GB, free: 4.375 MB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.1926, allocations: 197.5 kB / 0.7144 GB, free: 4.176 MB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1926, allocations: 0 / 0.7144 GB, free: 4.176 MB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.1926, allocations: 0 / 0.7144 GB, free: 4.176 MB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1926, allocations: 0 / 0.7144 GB, free: 4.176 MB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008061/0.1934, allocations: 107.8 kB / 0.7145 GB, free: 4.07 MB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.1938, allocations: 288.4 kB / 0.7148 GB, free: 3.746 MB / 0.5294 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.1949, allocations: 162.4 kB / 0.7149 GB, free: 3.578 MB / 0.5294 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0007484/0.1956, allocations: 100.8 kB / 0.715 GB, free: 3.477 MB / 0.5294 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.1956, allocations: 4 kB / 0.715 GB, free: 3.473 MB / 0.5294 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00099/0.1966, allocations: 207.2 kB / 0.7152 GB, free: 3.258 MB / 0.5294 GB
Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.1966, allocations: 0 / 0.7152 GB, free: 3.258 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=16): time 0.002622/0.1992, allocations: 463.8 kB / 0.7157 GB, free: 2.801 MB / 0.5294 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.1993, allocations: 59.41 kB / 0.7157 GB, free: 2.73 MB / 0.5294 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.1996, allocations: 288.2 kB / 0.716 GB, free: 2.434 MB / 0.5294 GB
Notification: Performance of collectPreVariables (initialization): time 5.426e-05/0.1997, allocations: 41.69 kB / 0.716 GB, free: 2.387 MB / 0.5294 GB
Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.1997, allocations: 85.14 kB / 0.7161 GB, free: 2.301 MB / 0.5294 GB
Notification: Performance of collectInitialBindings (initialization): time 5.649e-05/0.1998, allocations: 47.67 kB / 0.7162 GB, free: 2.254 MB / 0.5294 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.1999, allocations: 97.52 kB / 0.7163 GB, free: 2.152 MB / 0.5294 GB
Notification: Performance of setup shared object (initialization): time 0.000143/0.2001, allocations: 330.8 kB / 0.7166 GB, free: 1.82 MB / 0.5294 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/0.2003, allocations: 75.95 kB / 0.7166 GB, free: 1.746 MB / 0.5294 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002377/0.2005, allocations: 146.4 kB / 0.7168 GB, free: 1.582 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.2009, allocations: 240.1 kB / 0.717 GB, free: 1.316 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/0.2009, allocations: 3.938 kB / 0.717 GB, free: 1.312 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006742/0.2015, allocations: 396.8 kB / 0.7174 GB, free: 0.9062 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 7.396e-05/0.2016, allocations: 71.39 kB / 0.7175 GB, free: 0.8242 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.046e-06/0.2016, allocations: 4 kB / 0.7175 GB, free: 0.8203 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2016, allocations: 0 / 0.7175 GB, free: 0.8203 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.2018, allocations: 23.97 kB / 0.7175 GB, free: 0.7969 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.2018, allocations: 7.938 kB / 0.7175 GB, free: 0.7891 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.2023, allocations: 51.91 kB / 0.7175 GB, free: 0.7383 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.2023, allocations: 40.03 kB / 0.7176 GB, free: 0.6992 MB / 0.5294 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.0002051/0.2026, allocations: 189.6 kB / 0.7178 GB, free: 0.5039 MB / 0.5294 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.2026, allocations: 23.86 kB / 0.7178 GB, free: 492 kB / 0.5294 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.627e-05/0.2027, allocations: 26.23 kB / 0.7178 GB, free: 464 kB / 0.5294 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.2027, allocations: 4 kB / 0.7178 GB, free: 460 kB / 0.5294 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2027, allocations: 0 / 0.7178 GB, free: 460 kB / 0.5294 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.2027, allocations: 7.875 kB / 0.7178 GB, free: 452 kB / 0.5294 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.2049, allocations: 0.6615 MB / 0.7185 GB, free: 15.73 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.2049, allocations: 0 / 0.7185 GB, free: 15.73 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-05/0.205, allocations: 4 kB / 0.7185 GB, free: 15.72 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.205, allocations: 3.938 kB / 0.7185 GB, free: 15.72 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.205, allocations: 23.97 kB / 0.7185 GB, free: 15.7 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.205, allocations: 0 / 0.7185 GB, free: 15.7 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.205, allocations: 4 kB / 0.7185 GB, free: 15.69 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.2068, allocations: 443.5 kB / 0.7189 GB, free: 15.24 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.207, allocations: 93.66 kB / 0.719 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.89e-05/0.2071, allocations: 11.98 kB / 0.719 GB, free: 15.14 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004792/0.2076, allocations: 27.97 kB / 0.7191 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.2076, allocations: 11.98 kB / 0.7191 GB, free: 15.1 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.2077, allocations: 43.91 kB / 0.7191 GB, free: 15.06 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0002137/0.2079, allocations: 211 kB / 0.7193 GB, free: 14.85 MB / 0.545 GB
Notification: Performance of sort global known variables: time 7e-08/0.2079, allocations: 0 / 0.7193 GB, free: 14.85 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0003434/0.2082, allocations: 52 kB / 0.7194 GB, free: 14.8 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.0001822/0.2084, allocations: 120.9 kB / 0.7195 GB, free: 14.67 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.001217/0.2096, allocations: 349.4 kB / 0.7198 GB, free: 14.3 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2096, allocations: 0 / 0.7198 GB, free: 14.3 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.000803/0.2104, allocations: 112.2 kB / 0.7199 GB, free: 14.2 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.2108, allocations: 22.98 kB / 0.7199 GB, free: 14.18 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001382/0.2121, allocations: 443.6 kB / 0.7204 GB, free: 13.72 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.2125, allocations: 0.7396 MB / 0.7211 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 6.676e-05/0.2126, allocations: 17.08 kB / 0.7211 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.309e-05/0.2126, allocations: 15.44 kB / 0.7211 GB, free: 12.92 MB / 0.545 GB
Notification: Performance of SimCode: time 7.02e-07/0.2126, allocations: 0 / 0.7211 GB, free: 12.92 MB / 0.545 GB
Notification: Performance of Templates: time 0.007856/0.2205, allocations: 3.767 MB / 0.7248 GB, free: 9.16 MB / 0.545 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.630314350128174]
Failed to read output from testmodel.py, exit status != 0:
0.22793550603091717 0.24222488 0.049579213000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f608f2e57b0>