Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.001328/0.001328, 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.001501/0.001501, allocations: 191.7 kB / 22.23 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.395/1.395, 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/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002614/0.002614, allocations: 288.2 kB / 306.6 MB, free: 8.34 MB / 238.1 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.225/1.225, allocations: 180.9 MB / 0.53 GB, free: 14.42 MB / 382.1 MB
"
[Timeout remaining time 179]
Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo)
Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime")
translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002818/0.002818, allocations: 101.2 kB / 0.7308 GB, free: 38.76 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1744/0.1773, allocations: 94.2 MB / 0.8228 GB, free: 1.812 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.003153/0.1804, allocations: 1.494 MB / 0.8243 GB, free: 316 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0009391/0.1813, allocations: 480.3 kB / 0.8248 GB, free: 15.84 MB / 0.5762 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.1814, allocations: 4 kB / 0.8248 GB, free: 15.83 MB / 0.5762 GB
Notification: Performance of NFTyping.typeComponents: time 3.131e-05/0.1814, allocations: 3.938 kB / 0.8248 GB, free: 15.83 MB / 0.5762 GB
Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.1817, allocations: 27.09 kB / 0.8248 GB, free: 15.8 MB / 0.5762 GB
Notification: Performance of NFTyping.typeClassSections: time 9.473e-05/0.1818, allocations: 23.91 kB / 0.8248 GB, free: 15.78 MB / 0.5762 GB
Notification: Performance of NFFlatten.flatten: time 0.0001096/0.1819, allocations: 47.84 kB / 0.8249 GB, free: 15.73 MB / 0.5762 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.019e-05/0.182, allocations: 11.94 kB / 0.8249 GB, free: 15.72 MB / 0.5762 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1821, allocations: 31.86 kB / 0.8249 GB, free: 15.69 MB / 0.5762 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.072e-05/0.1822, allocations: 19.91 kB / 0.8249 GB, free: 15.67 MB / 0.5762 GB
Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.1822, allocations: 4 kB / 0.8249 GB, free: 15.67 MB / 0.5762 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.402e-05/0.1822, allocations: 4 kB / 0.8249 GB, free: 15.66 MB / 0.5762 GB
Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.1822, allocations: 15.92 kB / 0.8249 GB, free: 15.65 MB / 0.5762 GB
Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.1823, allocations: 15.94 kB / 0.825 GB, free: 15.63 MB / 0.5762 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.1824, allocations: 47.8 kB / 0.825 GB, free: 15.59 MB / 0.5762 GB
Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1824, allocations: 0 / 0.825 GB, free: 15.59 MB / 0.5762 GB
Notification: Performance of FrontEnd: time 1.232e-06/0.1824, allocations: 0 / 0.825 GB, free: 15.59 MB / 0.5762 GB
Notification: Performance of Transformations before backend: time 5.431e-06/0.1824, allocations: 0 / 0.825 GB, free: 15.59 MB / 0.5762 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 6
 * Number of variables: 6
Notification: Performance of Generate backend data structure: time 0.0005747/0.183, allocations: 282.2 kB / 0.8253 GB, free: 15.28 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.573e-05/0.183, allocations: 8.625 kB / 0.8253 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.1831, allocations: 8.875 kB / 0.8253 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.1832, allocations: 126.4 kB / 0.8254 GB, free: 15.12 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1832, allocations: 384 / 0.8254 GB, free: 15.12 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1832, allocations: 4.375 kB / 0.8254 GB, free: 15.11 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.1833, allocations: 50 kB / 0.8255 GB, free: 15.06 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.1834, allocations: 7.984 kB / 0.8255 GB, free: 15.05 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1834, allocations: 0 / 0.8255 GB, free: 15.05 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.1834, allocations: 4 kB / 0.8255 GB, free: 15.05 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.898e-05/0.1834, allocations: 16 kB / 0.8255 GB, free: 15.03 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.1838, allocations: 243.9 kB / 0.8257 GB, free: 14.75 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.184, allocations: 46.5 kB / 0.8258 GB, free: 14.7 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.905e-05/0.184, allocations: 24.92 kB / 0.8258 GB, free: 14.67 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.025e-05/0.184, allocations: 0 / 0.8258 GB, free: 14.67 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/0.1842, allocations: 67.39 kB / 0.8259 GB, free: 14.59 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=5): time 1.383e-06/0.1842, allocations: 0 / 0.8259 GB, free: 14.59 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=5): time 0.0002441/0.1844, allocations: 85.58 kB / 0.8259 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.641e-05/0.1845, allocations: 51.41 kB / 0.826 GB, free: 14.44 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.1846, allocations: 113.8 kB / 0.8261 GB, free: 14.32 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1846, allocations: 29.7 kB / 0.8261 GB, free: 14.28 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 5.054e-05/0.1847, allocations: 84.12 kB / 0.8262 GB, free: 14.2 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.1847, allocations: 19.91 kB / 0.8262 GB, free: 14.18 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-05/0.1847, allocations: 17.72 kB / 0.8262 GB, free: 14.15 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.000152/0.1849, allocations: 318.8 kB / 0.8265 GB, free: 13.83 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.612e-05/0.1849, allocations: 12 kB / 0.8266 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.852e-05/0.185, allocations: 12 kB / 0.8266 GB, free: 13.81 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 6.658e-05/0.185, allocations: 33.22 kB / 0.8266 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.185, allocations: 4 kB / 0.8266 GB, free: 13.77 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001204/0.1851, allocations: 69.58 kB / 0.8267 GB, free: 13.7 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1852, allocations: 8 kB / 0.8267 GB, free: 13.69 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1852, allocations: 4 kB / 0.8267 GB, free: 13.68 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1852, allocations: 0 / 0.8267 GB, free: 13.68 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.541e-05/0.1853, allocations: 8 kB / 0.8267 GB, free: 13.68 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1853, allocations: 0 / 0.8267 GB, free: 13.68 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.329e-05/0.1853, allocations: 3.984 kB / 0.8267 GB, free: 13.67 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.173e-05/0.1853, allocations: 4 kB / 0.8267 GB, free: 13.67 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 3 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (6):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 9.96e-05/0.1854, allocations: 114.4 kB / 0.8268 GB, free: 13.55 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.1854, allocations: 7.938 kB / 0.8268 GB, free: 13.54 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.1855, allocations: 8.062 kB / 0.8268 GB, free: 13.52 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1855, allocations: 4 kB / 0.8268 GB, free: 13.52 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1855, allocations: 4 kB / 0.8268 GB, free: 13.52 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1855, allocations: 0 / 0.8268 GB, free: 13.52 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001513/0.1856, allocations: 156.5 kB / 0.827 GB, free: 13.32 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1856, allocations: 3.938 kB / 0.827 GB, free: 13.32 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.1857, allocations: 4 kB / 0.827 GB, free: 13.31 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.1857, allocations: 0 / 0.827 GB, free: 13.31 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1857, allocations: 4 kB / 0.827 GB, free: 13.31 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1857, allocations: 0 / 0.827 GB, free: 13.31 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.1857, allocations: 0 / 0.827 GB, free: 13.31 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001563/0.1858, allocations: 101 kB / 0.8271 GB, free: 13.19 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.1859, allocations: 11.89 kB / 0.8271 GB, free: 13.18 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.1859, allocations: 0 / 0.8271 GB, free: 13.18 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.046e-05/0.1859, allocations: 3.984 kB / 0.8271 GB, free: 13.18 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.186, allocations: 4 kB / 0.8271 GB, free: 13.17 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.186, allocations: 4.125 kB / 0.8271 GB, free: 13.17 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 7.052e-05/0.186, allocations: 91.27 kB / 0.8272 GB, free: 13.08 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 1e-07/0.186, allocations: 4 kB / 0.8272 GB, free: 13.07 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.000194/0.1862, allocations: 12 kB / 0.8272 GB, free: 13.06 MB / 0.5762 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 2 ($whenCondition1,locTim.tNext)
 * Number of discrete states: 1 (locTim.tNext)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (5):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.000116/0.1864, allocations: 105.5 kB / 0.8273 GB, free: 12.95 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 0.0001325/0.1865, allocations: 35.92 kB / 0.8273 GB, free: 12.92 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1865, allocations: 0 / 0.8273 GB, free: 12.92 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 4.704e-05/0.1865, allocations: 15.98 kB / 0.8274 GB, free: 12.9 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.1867, allocations: 11.94 kB / 0.8274 GB, free: 12.89 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.187, allocations: 130.2 kB / 0.8275 GB, free: 12.74 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.1874, allocations: 0.6846 MB / 0.8282 GB, free: 12.03 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 3.047e-05/0.1874, allocations: 4 kB / 0.8282 GB, free: 12.02 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/0.1874, allocations: 7.438 kB / 0.8282 GB, free: 12.02 MB / 0.5762 GB
Notification: Performance of SimCode: time 3.01e-07/0.1874, allocations: 0 / 0.8282 GB, free: 12.02 MB / 0.5762 GB
Notification: Performance of Templates: time 0.003052/0.1905, allocations: 0.5862 MB / 0.8287 GB, free: 11.46 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.032266682945192]
Failed to read output from testmodel.py, exit status != 0:
0.19835253525525331 0.21479051300000002 0.029216688
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7faa281b57b0>