Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.001189/0.001189, allocations: 114.8 kB / 19.69 MB, free: 2.188 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.001232/0.001232, allocations: 186.2 kB / 22.98 MB, free: 5.008 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.33/1.33, allocations: 225.6 MB / 251.8 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8948/0.8948, allocations: 149.6 MB / 456.6 MB, free: 1.164 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 66.88 kB / 0.6329 GB, free: 8.961 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1571, allocations: 87.88 MB / 0.7187 GB, free: 0.9961 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001868/0.159, allocations: 0.8466 MB / 0.7195 GB, free: 156 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001861/0.1608, allocations: 1.466 MB / 0.7209 GB, free: 14.67 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.1609, allocations: 4 kB / 0.7209 GB, free: 14.67 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.000462/0.1614, allocations: 195.4 kB / 0.7211 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001538/0.1615, allocations: 119.6 kB / 0.7212 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009471/0.1625, allocations: 372.9 kB / 0.7216 GB, free: 14 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0009179/0.1634, allocations: 0.8855 MB / 0.7225 GB, free: 13.11 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.1635, allocations: 52.56 kB / 0.7225 GB, free: 13.06 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003787/0.1639, allocations: 351.4 kB / 0.7228 GB, free: 12.72 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.1643, allocations: 287.3 kB / 0.7231 GB, free: 12.44 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001047/0.1644, allocations: 48 kB / 0.7232 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.1647, allocations: 123.9 kB / 0.7233 GB, free: 12.27 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.000476/0.1652, allocations: 367.2 kB / 0.7236 GB, free: 11.91 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002921/0.1654, allocations: 278.8 kB / 0.7239 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008732/0.1663, allocations: 0.9151 MB / 0.7248 GB, free: 10.72 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1663, allocations: 0 / 0.7248 GB, free: 10.72 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.182e-06/0.1663, allocations: 0 / 0.7248 GB, free: 10.72 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 7.294e-06/0.1663, allocations: 0 / 0.7248 GB, free: 10.72 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: 27
 * Number of variables: 27
Notification: Performance of Generate backend data structure: time 0.001444/0.1678, allocations: 0.8281 MB / 0.7256 GB, free: 9.852 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.1678, allocations: 12.56 kB / 0.7256 GB, free: 9.84 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001665/0.168, allocations: 60.64 kB / 0.7257 GB, free: 9.781 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008961/0.1689, allocations: 496.5 kB / 0.7261 GB, free: 9.27 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/0.1689, allocations: 28.55 kB / 0.7262 GB, free: 9.242 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/0.169, allocations: 36.36 kB / 0.7262 GB, free: 9.207 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004735/0.1695, allocations: 304.6 kB / 0.7265 GB, free: 8.898 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1695, allocations: 192 / 0.7265 GB, free: 8.898 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.554e-05/0.1695, allocations: 11.94 kB / 0.7265 GB, free: 8.887 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.1695, allocations: 4 kB / 0.7265 GB, free: 8.883 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003339/0.1699, allocations: 223.8 kB / 0.7267 GB, free: 8.664 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.1717, allocations: 1.148 MB / 0.7278 GB, free: 7.465 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006444/0.1724, allocations: 459.7 kB / 0.7283 GB, free: 6.988 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/0.1726, allocations: 178.6 kB / 0.7285 GB, free: 6.805 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.1727, allocations: 4 kB / 0.7285 GB, free: 6.801 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004676/0.1731, allocations: 338.2 kB / 0.7288 GB, free: 6.453 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=24): time 3.447e-06/0.1731, allocations: 3.984 kB / 0.7288 GB, free: 6.449 MB / 0.545 GB
Notification: Performance of matching and sorting (n=24): time 0.0009884/0.1741, allocations: 0.6227 MB / 0.7294 GB, free: 5.82 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.519e-05/0.1742, allocations: 122.7 kB / 0.7295 GB, free: 5.676 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006664/0.1749, allocations: 0.5994 MB / 0.7301 GB, free: 5.07 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 8.141e-05/0.1749, allocations: 45.69 kB / 0.7301 GB, free: 5.02 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.1752, allocations: 217.6 kB / 0.7303 GB, free: 4.801 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 5.468e-05/0.1752, allocations: 51.58 kB / 0.7304 GB, free: 4.75 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002475/0.1755, allocations: 185.6 kB / 0.7306 GB, free: 4.562 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001722/0.1756, allocations: 366.7 kB / 0.7309 GB, free: 4.195 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001788/0.1758, allocations: 127.9 kB / 0.731 GB, free: 4.07 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008354/0.1766, allocations: 0.7178 MB / 0.7317 GB, free: 3.18 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003525/0.177, allocations: 296.6 kB / 0.732 GB, free: 2.844 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.177, allocations: 0 / 0.732 GB, free: 2.844 MB / 0.545 GB
Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006328/0.1776, allocations: 425.7 kB / 0.7324 GB, free: 2.422 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1776, allocations: 8 kB / 0.7324 GB, free: 2.414 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.694e-06/0.1777, allocations: 4 kB / 0.7324 GB, free: 2.41 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.1777, allocations: 8 kB / 0.7325 GB, free: 2.402 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.1778, allocations: 39.86 kB / 0.7325 GB, free: 2.363 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.1778, allocations: 7.938 kB / 0.7325 GB, free: 2.355 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001084/0.1789, allocations: 119.8 kB / 0.7326 GB, free: 2.238 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.1789, allocations: 16 kB / 0.7326 GB, free: 2.223 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 15
 * Number of states: 0 ()
 * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (36):
 * Single equations (assignments): 36
 * 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 0.0002854/0.1792, allocations: 261.5 kB / 0.7329 GB, free: 1.957 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.834e-05/0.1793, allocations: 47.7 kB / 0.7329 GB, free: 1.91 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.039e-05/0.1794, allocations: 47.38 kB / 0.733 GB, free: 1.859 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.1794, allocations: 11.94 kB / 0.733 GB, free: 1.848 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1794, allocations: 0 / 0.733 GB, free: 1.848 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1794, allocations: 0 / 0.733 GB, free: 1.848 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003801/0.1798, allocations: 384.3 kB / 0.7333 GB, free: 1.43 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1798, allocations: 0 / 0.7333 GB, free: 1.43 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.129e-05/0.1798, allocations: 4 kB / 0.7334 GB, free: 1.426 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1798, allocations: 7.875 kB / 0.7334 GB, free: 1.418 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.1798, allocations: 7.984 kB / 0.7334 GB, free: 1.41 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.526e-06/0.1798, allocations: 7.938 kB / 0.7334 GB, free: 1.402 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1798, allocations: 0 / 0.7334 GB, free: 1.402 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.1805, allocations: 0.519 MB / 0.7339 GB, free: 0.8594 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/0.1806, allocations: 51.7 kB / 0.7339 GB, free: 0.8086 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.561e-05/0.1806, allocations: 8 kB / 0.7339 GB, free: 0.8008 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001464/0.1808, allocations: 15.92 kB / 0.734 GB, free: 0.7852 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.738e-05/0.1809, allocations: 35.89 kB / 0.734 GB, free: 0.75 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.1809, allocations: 19.98 kB / 0.734 GB, free: 0.7305 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0004814/0.1814, allocations: 431.1 kB / 0.7344 GB, free: 316 kB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.1814, allocations: 0 / 0.7344 GB, free: 316 kB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0004137/0.1818, allocations: 111.9 kB / 0.7345 GB, free: 204 kB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (24):
 * Single equations (assignments): 15
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 9
 * 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.000208/0.182, allocations: 141.7 kB / 0.7347 GB, free: 56 kB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.000553/0.1826, allocations: 360.3 kB / 0.735 GB, free: 15.7 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.1826, allocations: 4 kB / 0.735 GB, free: 15.7 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.1828, allocations: 159.9 kB / 0.7352 GB, free: 15.54 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.1831, allocations: 33.95 kB / 0.7352 GB, free: 15.51 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.1843, allocations: 0.8418 MB / 0.736 GB, free: 14.63 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.1847, allocations: 0.8354 MB / 0.7368 GB, free: 13.77 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0002049/0.185, allocations: 94.92 kB / 0.7369 GB, free: 13.68 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 8.762e-05/0.185, allocations: 39.42 kB / 0.737 GB, free: 13.64 MB / 0.5606 GB
Notification: Performance of SimCode: time 3e-07/0.185, allocations: 0 / 0.737 GB, free: 13.64 MB / 0.5606 GB
Notification: Performance of Templates: time 0.01301/0.1981, allocations: 8.085 MB / 0.7449 GB, free: 5.625 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.602793294005096]
Failed to read output from testmodel.py, exit status != 0:
0.20539337303489447 0.46990343199999995 0.30094034499999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7faf4a1457b0>