Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.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.001286/0.001286, allocations: 104.2 kB / 20.34 MB, free: 1.59 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.001316/0.001316, allocations: 185.4 kB / 23.6 MB, free: 4.973 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.409/1.409, allocations: 225.6 MB / 252.3 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
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.9636/0.9636, allocations: 149.6 MB / 457.1 MB, free: 1.262 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.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 65.39 kB / 0.6332 GB, free: 9.137 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.162, allocations: 87.89 MB / 0.719 GB, free: 1.16 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle): time 0.00274/0.1647, allocations: 0.7426 MB / 0.7197 GB, free: 432 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.002053/0.1667, allocations: 1.353 MB / 0.721 GB, free: 15.05 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.528e-05/0.1668, allocations: 0 / 0.721 GB, free: 15.05 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 4.946e-05/0.1669, allocations: 15.8 kB / 0.721 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 9.781e-05/0.167, allocations: 19.84 kB / 0.7211 GB, free: 15.02 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009813/0.168, allocations: 307.9 kB / 0.7214 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0005148/0.1685, allocations: 371.5 kB / 0.7217 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.1686, allocations: 41.05 kB / 0.7218 GB, free: 14.32 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002146/0.1688, allocations: 159.7 kB / 0.7219 GB, free: 14.17 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002425/0.1691, allocations: 139.6 kB / 0.722 GB, free: 14.03 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 6.373e-05/0.1691, allocations: 36 kB / 0.7221 GB, free: 14 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.846e-05/0.1692, allocations: 47.98 kB / 0.7221 GB, free: 13.95 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.1693, allocations: 75.84 kB / 0.7222 GB, free: 13.88 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.000149/0.1695, allocations: 135.5 kB / 0.7223 GB, free: 13.74 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.000413/0.1699, allocations: 343 kB / 0.7226 GB, free: 13.41 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1699, allocations: 4 kB / 0.7226 GB, free: 13.4 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.172e-06/0.1699, allocations: 0 / 0.7226 GB, free: 13.4 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.712e-06/0.1699, allocations: 7.938 kB / 0.7227 GB, free: 13.39 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: 26
 * Number of variables: 26
Notification: Performance of Generate backend data structure: time 0.0008309/0.1707, allocations: 481.2 kB / 0.7231 GB, free: 12.88 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1708, allocations: 8.625 kB / 0.7231 GB, free: 12.87 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001039/0.1709, allocations: 28.83 kB / 0.7232 GB, free: 12.84 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006019/0.1715, allocations: 194.5 kB / 0.7233 GB, free: 12.63 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.1715, allocations: 20.36 kB / 0.7234 GB, free: 12.61 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.997e-05/0.1716, allocations: 44.36 kB / 0.7234 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.172, allocations: 213.3 kB / 0.7236 GB, free: 12.36 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.172, allocations: 11.86 kB / 0.7236 GB, free: 12.34 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.892e-05/0.1721, allocations: 19.95 kB / 0.7236 GB, free: 12.32 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.1721, allocations: 4 kB / 0.7236 GB, free: 12.32 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002228/0.1723, allocations: 95.89 kB / 0.7237 GB, free: 12.23 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009097/0.1732, allocations: 0.5304 MB / 0.7242 GB, free: 11.65 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000464/0.1737, allocations: 210.5 kB / 0.7244 GB, free: 11.44 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00019/0.1739, allocations: 84.81 kB / 0.7245 GB, free: 11.35 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.1739, allocations: 0 / 0.7245 GB, free: 11.35 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000814/0.1747, allocations: 0.5545 MB / 0.7251 GB, free: 10.79 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=44): time 1.884e-06/0.1747, allocations: 0 / 0.7251 GB, free: 10.79 MB / 0.545 GB
Notification: Performance of matching and sorting (n=44): time 0.00112/0.1758, allocations: 0.5754 MB / 0.7256 GB, free: 10.2 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1758, allocations: 63.39 kB / 0.7257 GB, free: 10.13 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.176, allocations: 151.8 kB / 0.7258 GB, free: 9.973 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 9.069e-05/0.1761, allocations: 61.69 kB / 0.7259 GB, free: 9.906 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.1762, allocations: 120.9 kB / 0.726 GB, free: 9.781 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 9.748e-05/0.1763, allocations: 99.34 kB / 0.7261 GB, free: 9.684 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002122/0.1765, allocations: 126.3 kB / 0.7262 GB, free: 9.555 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001527/0.1766, allocations: 334.8 kB / 0.7265 GB, free: 9.219 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.177, allocations: 189.2 kB / 0.7267 GB, free: 9.031 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004524/0.1775, allocations: 290.1 kB / 0.727 GB, free: 8.711 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005316/0.178, allocations: 368.1 kB / 0.7274 GB, free: 8.297 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.178, allocations: 0 / 0.7274 GB, free: 8.297 MB / 0.545 GB
Notification: Performance of matching and sorting (n=74) (initialization): time 0.001059/0.1791, allocations: 0.5751 MB / 0.7279 GB, free: 7.703 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 5.937e-05/0.1791, allocations: 63.41 kB / 0.728 GB, free: 7.629 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.1791, allocations: 7.984 kB / 0.728 GB, free: 7.621 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 3.004e-05/0.1792, allocations: 8 kB / 0.728 GB, free: 7.613 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.1792, allocations: 23.86 kB / 0.728 GB, free: 7.59 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.1793, allocations: 11.94 kB / 0.728 GB, free: 7.578 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003969/0.1797, allocations: 83.66 kB / 0.7281 GB, free: 7.496 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.545e-05/0.1797, allocations: 28 kB / 0.7281 GB, free: 7.469 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 13
 * Number of states: 0 ()
 * Number of discrete variables: 70 ($PRE.falCleTruIni.clr,$PRE.falCleFalIni.clr,$PRE.truCleTruIni.clr,$PRE.truCleFalIni.clr,$PRE.swiCleInp.clr,$PRE.swiCleInp1.clr,$whenCondition27,$whenCondition28,$whenCondition25,$whenCondition26,fal.y,tru.y,falCleTruIni.clr,falCleFalIni.clr,truCleTruIni.clr,truCleFalIni.clr,togInp.y,$PRE.togInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,$PRE.swiCleInp1.y,swiCleInp1.clr,swiCleInp1.u,$PRE.swiCleInp1.u,swiCleInp.y,$PRE.swiCleInp.y,swiCleInp.clr,swiCleInp.u,$PRE.swiCleInp.u,truCleFalIni.y,$PRE.truCleFalIni.y,truCleFalIni.u,$PRE.truCleFalIni.u,truCleTruIni.y,$PRE.truCleTruIni.y,truCleTruIni.u,$PRE.truCleTruIni.u,falCleFalIni.y,$PRE.falCleFalIni.y,falCleFalIni.u,$PRE.falCleFalIni.u,falCleTruIni.y,$PRE.falCleTruIni.y,falCleTruIni.u,$PRE.falCleTruIni.u,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition24,$whenCondition23,$whenCondition22,$whenCondition21)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (70):
 * Single equations (assignments): 68
 * 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.000192/0.1799, allocations: 174.9 kB / 0.7283 GB, free: 7.289 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.899e-05/0.18, allocations: 31.84 kB / 0.7283 GB, free: 7.258 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.863e-05/0.1801, allocations: 38.31 kB / 0.7284 GB, free: 7.223 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.1801, allocations: 7.922 kB / 0.7284 GB, free: 7.215 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.1801, allocations: 3.938 kB / 0.7284 GB, free: 7.211 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.658e-05/0.1801, allocations: 27.8 kB / 0.7284 GB, free: 7.184 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.629e-05/0.1802, allocations: 27.98 kB / 0.7284 GB, free: 7.156 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.083e-05/0.1803, allocations: 11.98 kB / 0.7284 GB, free: 7.145 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001755/0.1804, allocations: 71.88 kB / 0.7285 GB, free: 7.074 MB / 0.545 GB
Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008122/0.1813, allocations: 0.5137 MB / 0.729 GB, free: 6.555 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008272/0.1821, allocations: 0.6116 MB / 0.7296 GB, free: 5.926 MB / 0.545 GB
Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002689/0.1824, allocations: 144.6 kB / 0.7297 GB, free: 5.785 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 7.474e-05/0.1824, allocations: 113.4 kB / 0.7299 GB, free: 5.676 MB / 0.545 GB
Notification: Performance of Backend: time 1.8e-07/0.1824, allocations: 0 / 0.7299 GB, free: 5.676 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0009967/0.1834, allocations: 479.9 kB / 0.7303 GB, free: 5.18 MB / 0.545 GB
Notification: Performance of SimCode: time 0.0008415/0.1843, allocations: 0.7594 MB / 0.7311 GB, free: 4.371 MB / 0.545 GB
Notification: Performance of Templates: time 0.009853/0.1941, allocations: 4.955 MB / 0.7359 GB, free: 15.45 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Toggle.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.54671089400108]
Failed to read output from testmodel.py, exit status != 0:
0.20221647099970141 0.21681858699999995 0.04373086499999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4e48fe97e0>