Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001306/0.001306, allocations: 110 kB / 18.93 MB, free: 2.945 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.001298/0.001298, allocations: 186.5 kB / 22.23 MB, free: 5.16 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.324/1.324, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 179]
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.002363/0.002363, allocations: 285.9 kB / 306.5 MB, free: 8.312 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.148/1.148, allocations: 180.9 MB / 0.53 GB, free: 14.45 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.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19")
translateModel(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002568, allocations: 98.91 kB / 0.7308 GB, free: 38.67 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.157, allocations: 94.21 MB / 0.8228 GB, free: 1.793 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002451/0.1595, allocations: 1.381 MB / 0.8242 GB, free: 412 kB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 0.0001291/0.1596, allocations: 31.89 kB / 0.8242 GB, free: 380 kB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.1596, allocations: 3.938 kB / 0.8242 GB, free: 376 kB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.1597, allocations: 15.92 kB / 0.8242 GB, free: 360 kB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 8.051e-05/0.1598, allocations: 15.92 kB / 0.8242 GB, free: 344 kB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 2.345e-06/0.1598, allocations: 0 / 0.8242 GB, free: 344 kB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 5.13e-05/0.1599, allocations: 19.86 kB / 0.8243 GB, free: 324 kB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 3.43e-05/0.1599, allocations: 4 kB / 0.8243 GB, free: 320 kB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 2.105e-05/0.1599, allocations: 8 kB / 0.8243 GB, free: 312 kB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 3.617e-05/0.16, allocations: 7.922 kB / 0.8243 GB, free: 304 kB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.16, allocations: 8 kB / 0.8243 GB, free: 296 kB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 3.568e-05/0.16, allocations: 12 kB / 0.8243 GB, free: 284 kB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.16, allocations: 3.984 kB / 0.8243 GB, free: 280 kB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 1.532e-05/0.1601, allocations: 11.88 kB / 0.8243 GB, free: 268 kB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 7.192e-05/0.1601, allocations: 27.91 kB / 0.8243 GB, free: 240 kB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1601, allocations: 0 / 0.8243 GB, free: 240 kB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.032e-06/0.1601, allocations: 3.938 kB / 0.8243 GB, free: 236 kB / 0.5606 GB
Notification: Performance of Transformations before backend: time 5.049e-06/0.1601, allocations: 0 / 0.8243 GB, free: 236 kB / 0.5606 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0003357/0.1605, allocations: 262.2 kB / 0.8246 GB, free: 15.94 MB / 0.5762 GB
Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.1605, allocations: 12.03 kB / 0.8246 GB, free: 15.93 MB / 0.5762 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.857e-05/0.1605, allocations: 12.88 kB / 0.8246 GB, free: 15.92 MB / 0.5762 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.1607, allocations: 122.5 kB / 0.8247 GB, free: 15.77 MB / 0.5762 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-06/0.1607, allocations: 384 / 0.8247 GB, free: 15.77 MB / 0.5762 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1607, allocations: 8.312 kB / 0.8247 GB, free: 15.77 MB / 0.5762 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.855e-05/0.1608, allocations: 30.25 kB / 0.8248 GB, free: 15.73 MB / 0.5762 GB
Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.1608, allocations: 192 / 0.8248 GB, free: 15.73 MB / 0.5762 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.125e-06/0.1608, allocations: 7.938 kB / 0.8248 GB, free: 15.72 MB / 0.5762 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/0.1608, allocations: 0 / 0.8248 GB, free: 15.72 MB / 0.5762 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.627e-05/0.1608, allocations: 0 / 0.8248 GB, free: 15.72 MB / 0.5762 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.161, allocations: 128.8 kB / 0.8249 GB, free: 15.55 MB / 0.5762 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.544e-05/0.161, allocations: 22.55 kB / 0.8249 GB, free: 15.52 MB / 0.5762 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.161, allocations: 8.859 kB / 0.8249 GB, free: 15.51 MB / 0.5762 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.1611, allocations: 4.062 kB / 0.8249 GB, free: 15.51 MB / 0.5762 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.858e-05/0.1611, allocations: 30.56 kB / 0.825 GB, free: 15.47 MB / 0.5762 GB
Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.1611, allocations: 0 / 0.825 GB, free: 15.47 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1): time 0.0001208/0.1612, allocations: 45.72 kB / 0.825 GB, free: 15.42 MB / 0.5762 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.1612, allocations: 51.41 kB / 0.8251 GB, free: 15.36 MB / 0.5762 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.1613, allocations: 117.8 kB / 0.8252 GB, free: 15.23 MB / 0.5762 GB
Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1614, allocations: 25.7 kB / 0.8252 GB, free: 15.2 MB / 0.5762 GB
Notification: Performance of collectInitialEqns (initialization): time 4.166e-05/0.1614, allocations: 88.14 kB / 0.8253 GB, free: 15.11 MB / 0.5762 GB
Notification: Performance of collectInitialBindings (initialization): time 1.965e-05/0.1614, allocations: 7.891 kB / 0.8253 GB, free: 15.1 MB / 0.5762 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.1614, allocations: 13.66 kB / 0.8253 GB, free: 15.08 MB / 0.5762 GB
Notification: Performance of setup shared object (initialization): time 0.0001283/0.1616, allocations: 322.8 kB / 0.8256 GB, free: 14.76 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.458e-06/0.1616, allocations: 4.031 kB / 0.8256 GB, free: 14.75 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.071e-06/0.1616, allocations: 0 / 0.8256 GB, free: 14.75 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 2.512e-05/0.1616, allocations: 12.86 kB / 0.8256 GB, free: 14.74 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1616, allocations: 0 / 0.8256 GB, free: 14.74 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 5.753e-05/0.1617, allocations: 37.69 kB / 0.8257 GB, free: 14.7 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.1617, allocations: 8 kB / 0.8257 GB, free: 14.69 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1617, allocations: 3.938 kB / 0.8257 GB, free: 14.68 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.1617, allocations: 0 / 0.8257 GB, free: 14.68 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.61e-05/0.1617, allocations: 0 / 0.8257 GB, free: 14.68 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.1617, allocations: 8.031 kB / 0.8257 GB, free: 14.68 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.21e-05/0.1617, allocations: 0 / 0.8257 GB, free: 14.68 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.1618, allocations: 4 kB / 0.8257 GB, free: 14.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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1):
 * Single equations (assignments): 1
 * 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 7.163e-05/0.1618, allocations: 106.5 kB / 0.8258 GB, free: 14.56 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.369e-05/0.1618, allocations: 8 kB / 0.8258 GB, free: 14.55 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.943e-05/0.1619, allocations: 45.05 kB / 0.8258 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1619, allocations: 0 / 0.8258 GB, free: 14.5 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.1619, allocations: 4 kB / 0.8258 GB, free: 14.49 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1619, allocations: 4.031 kB / 0.8258 GB, free: 14.49 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.162, allocations: 128.7 kB / 0.826 GB, free: 14.32 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.162, allocations: 7.922 kB / 0.826 GB, free: 14.31 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.18e-05/0.162, allocations: 0 / 0.826 GB, free: 14.31 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.162, allocations: 4 kB / 0.826 GB, free: 14.31 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.162, allocations: 3.938 kB / 0.826 GB, free: 14.3 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.162, allocations: 0 / 0.826 GB, free: 14.3 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.1621, allocations: 4 kB / 0.826 GB, free: 14.3 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.323e-05/0.1621, allocations: 65.08 kB / 0.826 GB, free: 14.22 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.047e-06/0.1621, allocations: 3.984 kB / 0.826 GB, free: 14.21 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.1621, allocations: 3.938 kB / 0.826 GB, free: 14.21 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.818e-06/0.1622, allocations: 4 kB / 0.8261 GB, free: 14.21 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.1622, allocations: 4 kB / 0.8261 GB, free: 14.2 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.1622, allocations: 0 / 0.8261 GB, free: 14.2 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 5.648e-05/0.1622, allocations: 91.27 kB / 0.8261 GB, free: 14.11 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 7e-08/0.1622, allocations: 0 / 0.8261 GB, free: 14.11 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0001919/0.1624, allocations: 4 kB / 0.8261 GB, free: 14.11 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (1):
 * Single equations (assignments): 1
 * 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 Backend phase and start with SimCode phase: time 0.0001776/0.1626, allocations: 122.3 kB / 0.8263 GB, free: 13.98 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 7.909e-05/0.1627, allocations: 15.92 kB / 0.8263 GB, free: 13.97 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1627, allocations: 0 / 0.8263 GB, free: 13.97 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 9.709e-06/0.1627, allocations: 4 kB / 0.8263 GB, free: 13.96 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00013/0.1628, allocations: 4.125 kB / 0.8263 GB, free: 13.96 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.1631, allocations: 113.6 kB / 0.8264 GB, free: 13.82 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002765/0.1633, allocations: 0.6768 MB / 0.8271 GB, free: 13.12 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 3.898e-05/0.1634, allocations: 4 kB / 0.8271 GB, free: 13.12 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.1634, allocations: 7.438 kB / 0.8271 GB, free: 13.11 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.7e-07/0.1634, allocations: 0 / 0.8271 GB, free: 13.11 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002609/0.166, allocations: 0.5155 MB / 0.8276 GB, free: 12.6 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.586640030145645]
Failed to read output from testmodel.py, exit status != 0:
0.17274171952158213 0.186714394 0.023836930000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f91e0fbd7b0>