Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.001201/0.001201, 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.001375/0.001375, allocations: 187 kB / 22.22 MB, free: 5.164 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.335/1.335, allocations: 225.6 MB / 251 MB, free: 13 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.00267/0.00267, allocations: 289.7 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.169/1.169, 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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime")
translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002652/0.002652, allocations: 98.62 kB / 0.7308 GB, free: 38.89 MB / 0.545 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1624, allocations: 94.2 MB / 0.8228 GB, free: 1.84 MB / 0.5606 GB
Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001737/0.1641, allocations: 0.6104 MB / 0.8234 GB, free: 1.234 MB / 0.5606 GB
Notification: Performance of NFInst.instExpressions: time 3.727e-05/0.1641, allocations: 0 / 0.8234 GB, free: 1.234 MB / 0.5606 GB
Notification: Performance of NFInst.updateImplicitVariability: time 1.735e-05/0.1641, allocations: 0 / 0.8234 GB, free: 1.234 MB / 0.5606 GB
Notification: Performance of NFTyping.typeComponents: time 2.476e-05/0.1642, allocations: 0 / 0.8234 GB, free: 1.234 MB / 0.5606 GB
Notification: Performance of NFTyping.typeBindings: time 5.651e-06/0.1642, allocations: 0 / 0.8234 GB, free: 1.234 MB / 0.5606 GB
Notification: Performance of NFTyping.typeClassSections: time 3.164e-05/0.1642, allocations: 4 kB / 0.8234 GB, free: 1.23 MB / 0.5606 GB
Notification: Performance of NFFlatten.flatten: time 5.096e-05/0.1643, allocations: 8 kB / 0.8234 GB, free: 1.223 MB / 0.5606 GB
Notification: Performance of NFFlatten.resolveConnections: time 4.617e-05/0.1643, allocations: 4.406 kB / 0.8234 GB, free: 1.219 MB / 0.5606 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.433e-05/0.1643, allocations: 0 / 0.8234 GB, free: 1.219 MB / 0.5606 GB
Notification: Performance of NFSimplifyModel.simplify: time 1.973e-05/0.1643, allocations: 3.938 kB / 0.8234 GB, free: 1.215 MB / 0.5606 GB
Notification: Performance of NFPackage.collectConstants: time 1.317e-05/0.1644, allocations: 3.938 kB / 0.8234 GB, free: 1.211 MB / 0.5606 GB
Notification: Performance of NFFlatten.collectFunctions: time 3.376e-06/0.1644, allocations: 0 / 0.8234 GB, free: 1.211 MB / 0.5606 GB
Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.1644, allocations: 3.984 kB / 0.8234 GB, free: 1.207 MB / 0.5606 GB
Notification: Performance of NFVerifyModel.verify: time 1.958e-05/0.1644, allocations: 0 / 0.8234 GB, free: 1.207 MB / 0.5606 GB
Notification: Performance of NFConvertDAE.convert: time 5.043e-05/0.1644, allocations: 7.984 kB / 0.8234 GB, free: 1.199 MB / 0.5606 GB
Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1644, allocations: 0 / 0.8234 GB, free: 1.199 MB / 0.5606 GB
Notification: Performance of FrontEnd: time 1.312e-06/0.1644, allocations: 4 kB / 0.8234 GB, free: 1.195 MB / 0.5606 GB
Notification: Performance of Transformations before backend: time 8.456e-06/0.1645, allocations: 0 / 0.8234 GB, free: 1.195 MB / 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.0002607/0.1647, allocations: 234.5 kB / 0.8237 GB, free: 0.9336 MB / 0.5606 GB
Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.1647, allocations: 8.031 kB / 0.8237 GB, free: 0.9258 MB / 0.5606 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.362e-05/0.1648, allocations: 0.9375 kB / 0.8237 GB, free: 0.9258 MB / 0.5606 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 8.054e-05/0.1649, allocations: 114.4 kB / 0.8238 GB, free: 0.7891 MB / 0.5606 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1649, allocations: 4.375 kB / 0.8238 GB, free: 0.7852 MB / 0.5606 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.1649, allocations: 384 / 0.8238 GB, free: 0.7852 MB / 0.5606 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.941e-05/0.165, allocations: 34.25 kB / 0.8238 GB, free: 0.7461 MB / 0.5606 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.165, allocations: 192 / 0.8238 GB, free: 0.7461 MB / 0.5606 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.165, allocations: 3.938 kB / 0.8238 GB, free: 0.7422 MB / 0.5606 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.165, allocations: 0 / 0.8238 GB, free: 0.7422 MB / 0.5606 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 1.503e-05/0.165, allocations: 4 kB / 0.8238 GB, free: 0.7383 MB / 0.5606 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000123/0.1651, allocations: 116.8 kB / 0.8239 GB, free: 0.582 MB / 0.5606 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.42e-05/0.1652, allocations: 22.55 kB / 0.824 GB, free: 0.5508 MB / 0.5606 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.964e-05/0.1652, allocations: 4.859 kB / 0.824 GB, free: 0.543 MB / 0.5606 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.919e-06/0.1652, allocations: 4 kB / 0.824 GB, free: 0.5391 MB / 0.5606 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.1652, allocations: 34.55 kB / 0.824 GB, free: 0.4961 MB / 0.5606 GB
Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.1652, allocations: 4.062 kB / 0.824 GB, free: 0.4922 MB / 0.5606 GB
Notification: Performance of matching and sorting (n=1): time 0.0001481/0.1654, allocations: 41.58 kB / 0.824 GB, free: 456 kB / 0.5606 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.1654, allocations: 51.41 kB / 0.8241 GB, free: 392 kB / 0.5606 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.425e-05/0.1655, allocations: 89.86 kB / 0.8242 GB, free: 292 kB / 0.5606 GB
Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1655, allocations: 25.7 kB / 0.8242 GB, free: 260 kB / 0.5606 GB
Notification: Performance of collectInitialEqns (initialization): time 3.883e-05/0.1655, allocations: 84.27 kB / 0.8243 GB, free: 172 kB / 0.5606 GB
Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.1656, allocations: 3.953 kB / 0.8243 GB, free: 168 kB / 0.5606 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.1656, allocations: 17.66 kB / 0.8243 GB, free: 144 kB / 0.5606 GB
Notification: Performance of setup shared object (initialization): time 0.0001617/0.1658, allocations: 314.8 kB / 0.8246 GB, free: 15.82 MB / 0.5762 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.957e-06/0.1658, allocations: 0 / 0.8246 GB, free: 15.82 MB / 0.5762 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.599e-06/0.1658, allocations: 0 / 0.8246 GB, free: 15.82 MB / 0.5762 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.162e-05/0.1658, allocations: 12.84 kB / 0.8246 GB, free: 15.81 MB / 0.5762 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1658, allocations: 0 / 0.8246 GB, free: 15.81 MB / 0.5762 GB
Notification: Performance of matching and sorting (n=1) (initialization): time 4.508e-05/0.1658, allocations: 33.77 kB / 0.8246 GB, free: 15.77 MB / 0.5762 GB
Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1659, allocations: 8 kB / 0.8246 GB, free: 15.76 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1659, allocations: 0 / 0.8246 GB, free: 15.76 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.1659, allocations: 3.938 kB / 0.8247 GB, free: 15.76 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.577e-05/0.1659, allocations: 0 / 0.8247 GB, free: 15.76 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.1659, allocations: 7.875 kB / 0.8247 GB, free: 15.75 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.084e-05/0.166, allocations: 4 kB / 0.8247 GB, free: 15.75 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.166, allocations: 0 / 0.8247 GB, free: 15.75 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 8.288e-05/0.166, allocations: 110.5 kB / 0.8248 GB, free: 15.63 MB / 0.5762 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-06/0.1661, allocations: 8.016 kB / 0.8248 GB, free: 15.62 MB / 0.5762 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.1661, allocations: 6.938 kB / 0.8248 GB, free: 15.61 MB / 0.5762 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.1661, allocations: 0 / 0.8248 GB, free: 15.61 MB / 0.5762 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1661, allocations: 0 / 0.8248 GB, free: 15.61 MB / 0.5762 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.1661, allocations: 7.984 kB / 0.8248 GB, free: 15.61 MB / 0.5762 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.775e-05/0.1662, allocations: 112.8 kB / 0.8249 GB, free: 15.45 MB / 0.5762 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.1662, allocations: 0 / 0.8249 GB, free: 15.45 MB / 0.5762 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.586e-06/0.1662, allocations: 0 / 0.8249 GB, free: 15.45 MB / 0.5762 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.1662, allocations: 4 kB / 0.8249 GB, free: 15.45 MB / 0.5762 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.1662, allocations: 7.938 kB / 0.8249 GB, free: 15.44 MB / 0.5762 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1662, allocations: 3.984 kB / 0.8249 GB, free: 15.44 MB / 0.5762 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1662, allocations: 4 kB / 0.8249 GB, free: 15.43 MB / 0.5762 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 7.017e-05/0.1663, allocations: 53.14 kB / 0.825 GB, free: 15.36 MB / 0.5762 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.544e-06/0.1663, allocations: 4 kB / 0.825 GB, free: 15.36 MB / 0.5762 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.1663, allocations: 3.938 kB / 0.825 GB, free: 15.36 MB / 0.5762 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.191e-06/0.1663, allocations: 7.875 kB / 0.825 GB, free: 15.35 MB / 0.5762 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.948e-05/0.1663, allocations: 3.984 kB / 0.825 GB, free: 15.34 MB / 0.5762 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-06/0.1663, allocations: 0 / 0.825 GB, free: 15.34 MB / 0.5762 GB
Notification: Performance of sorting global known variables: time 4.169e-05/0.1664, allocations: 79.31 kB / 0.8251 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of sort global known variables: time 5e-08/0.1664, allocations: 0 / 0.8251 GB, free: 15.27 MB / 0.5762 GB
Notification: Performance of remove unused functions: time 0.0001842/0.1665, allocations: 4 kB / 0.8251 GB, free: 15.26 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 9.745e-05/0.1666, allocations: 91.25 kB / 0.8252 GB, free: 15.16 MB / 0.5762 GB
Notification: Performance of simCode: created initialization part: time 8.793e-05/0.1667, allocations: 8 kB / 0.8252 GB, free: 15.15 MB / 0.5762 GB
Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1667, allocations: 0 / 0.8252 GB, free: 15.15 MB / 0.5762 GB
Notification: Performance of simCode: created simulation system equations: time 4.699e-06/0.1667, allocations: 0 / 0.8252 GB, free: 15.15 MB / 0.5762 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001304/0.1669, allocations: 8.125 kB / 0.8252 GB, free: 15.14 MB / 0.5762 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001724/0.167, allocations: 73 kB / 0.8252 GB, free: 15.05 MB / 0.5762 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1673, allocations: 0.6806 MB / 0.8259 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of simCode: alias equations: time 9.778e-06/0.1673, allocations: 0 / 0.8259 GB, free: 14.34 MB / 0.5762 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.543e-05/0.1673, allocations: 7.438 kB / 0.8259 GB, free: 14.33 MB / 0.5762 GB
Notification: Performance of SimCode: time 2.7e-07/0.1673, allocations: 0 / 0.8259 GB, free: 14.33 MB / 0.5762 GB
Notification: Performance of Templates: time 0.002019/0.1694, allocations: 184.9 kB / 0.8261 GB, free: 14.15 MB / 0.5762 GB
"
[Timeout remaining time 660]
make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile [Timeout 660]
(rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & ./BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime  -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.559623968787491]
Failed to read output from testmodel.py, exit status != 0:
0.17636606749147177 0.18993836 0.02270091
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8851d757b0>