Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.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.001228/0.001228, allocations: 114.4 kB / 19.59 MB, free: 2.281 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.001291/0.001291, allocations: 193.4 kB / 22.85 MB, free: 5.664 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.344/1.344, allocations: 225.6 MB / 251.5 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.9195/0.9195, allocations: 149.5 MB / 456.3 MB, free: 1.699 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 80.58 kB / 0.6324 GB, free: 9.211 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1788, allocations: 87.87 MB / 0.7182 GB, free: 1.262 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00199/0.1808, allocations: 0.687 MB / 0.7189 GB, free: 0.5781 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001749/0.1826, allocations: 1.272 MB / 0.7201 GB, free: 15.29 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.527e-05/0.1826, allocations: 0 / 0.7201 GB, free: 15.29 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.699e-05/0.1827, allocations: 7.875 kB / 0.7201 GB, free: 15.29 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 9.432e-05/0.1828, allocations: 23.84 kB / 0.7202 GB, free: 15.26 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008934/0.1837, allocations: 316.7 kB / 0.7205 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0003514/0.184, allocations: 247.7 kB / 0.7207 GB, free: 14.72 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.674e-05/0.1841, allocations: 16.16 kB / 0.7207 GB, free: 14.7 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.1843, allocations: 107.8 kB / 0.7208 GB, free: 14.59 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.1845, allocations: 91.8 kB / 0.7209 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.1845, allocations: 28 kB / 0.7209 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.1846, allocations: 31.98 kB / 0.721 GB, free: 14.45 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.469e-05/0.1846, allocations: 11.94 kB / 0.721 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1847, allocations: 95.73 kB / 0.7211 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.185, allocations: 211.4 kB / 0.7213 GB, free: 14.13 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.185, allocations: 0 / 0.7213 GB, free: 14.13 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.483e-06/0.185, allocations: 0 / 0.7213 GB, free: 14.13 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.771e-06/0.185, allocations: 7.938 kB / 0.7213 GB, free: 14.12 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005822/0.1856, allocations: 419.1 kB / 0.7217 GB, free: 13.67 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1857, allocations: 8.625 kB / 0.7217 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.547e-05/0.1857, allocations: 20.89 kB / 0.7217 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001087/0.1858, allocations: 122.4 kB / 0.7218 GB, free: 13.5 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.093e-05/0.1859, allocations: 12.38 kB / 0.7218 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.13e-05/0.1859, allocations: 12.38 kB / 0.7218 GB, free: 13.47 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/0.186, allocations: 58.22 kB / 0.7219 GB, free: 13.41 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.186, allocations: 7.938 kB / 0.7219 GB, free: 13.4 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1861, allocations: 0 / 0.7219 GB, free: 13.4 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.1861, allocations: 0 / 0.7219 GB, free: 13.4 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 5.497e-05/0.1861, allocations: 23.98 kB / 0.7219 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.1867, allocations: 387.6 kB / 0.7223 GB, free: 12.96 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 7.646e-05/0.1868, allocations: 30.56 kB / 0.7223 GB, free: 12.92 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 3.866e-05/0.1869, allocations: 16.86 kB / 0.7223 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.1869, allocations: 0 / 0.7223 GB, free: 12.9 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001792/0.187, allocations: 95.38 kB / 0.7224 GB, free: 12.79 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.187, allocations: 4 kB / 0.7224 GB, free: 12.79 MB / 0.545 GB
Notification: Performance of matching and sorting (n=10): time 0.0003355/0.1874, allocations: 145.5 kB / 0.7226 GB, free: 12.64 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.501e-05/0.1874, allocations: 55.41 kB / 0.7226 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.1876, allocations: 131.2 kB / 0.7227 GB, free: 12.44 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.1876, allocations: 37.7 kB / 0.7228 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 9.427e-05/0.1877, allocations: 104.1 kB / 0.7229 GB, free: 12.29 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.1877, allocations: 15.84 kB / 0.7229 GB, free: 12.27 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.1879, allocations: 69.67 kB / 0.723 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.000152/0.188, allocations: 326.8 kB / 0.7233 GB, free: 11.87 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.1882, allocations: 91.89 kB / 0.7234 GB, free: 11.78 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.1884, allocations: 135.8 kB / 0.7235 GB, free: 11.63 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003166/0.1887, allocations: 243.3 kB / 0.7237 GB, free: 11.35 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1887, allocations: 0 / 0.7237 GB, free: 11.35 MB / 0.545 GB
Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006027/0.1893, allocations: 385.3 kB / 0.7241 GB, free: 10.95 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 8.699e-05/0.1894, allocations: 101.3 kB / 0.7242 GB, free: 10.84 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1894, allocations: 7.938 kB / 0.7242 GB, free: 10.83 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/0.1895, allocations: 4 kB / 0.7242 GB, free: 10.82 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.628e-05/0.1895, allocations: 7.938 kB / 0.7242 GB, free: 10.82 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.1895, allocations: 4 kB / 0.7242 GB, free: 10.81 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.1899, allocations: 71.91 kB / 0.7243 GB, free: 10.74 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/0.19, allocations: 23.98 kB / 0.7243 GB, free: 10.72 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 7
 * Number of states: 0 ()
 * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (13):
 * Single equations (assignments): 10
 * Array equations: 0
 * Algorithm blocks: 3
 * 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.0001287/0.1901, allocations: 136.3 kB / 0.7244 GB, free: 10.58 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.849e-05/0.1901, allocations: 11.94 kB / 0.7244 GB, free: 10.57 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.1901, allocations: 12.38 kB / 0.7245 GB, free: 10.55 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.1902, allocations: 3.938 kB / 0.7245 GB, free: 10.55 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.1902, allocations: 0 / 0.7245 GB, free: 10.55 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1902, allocations: 0 / 0.7245 GB, free: 10.55 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.1903, allocations: 168.6 kB / 0.7246 GB, free: 10.34 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.1903, allocations: 4 kB / 0.7246 GB, free: 10.34 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.374e-05/0.1903, allocations: 4 kB / 0.7246 GB, free: 10.34 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1903, allocations: 0 / 0.7246 GB, free: 10.34 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.1904, allocations: 0 / 0.7246 GB, free: 10.34 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.618e-06/0.1904, allocations: 4 kB / 0.7246 GB, free: 10.33 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1904, allocations: 0 / 0.7246 GB, free: 10.33 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.1906, allocations: 144.9 kB / 0.7248 GB, free: 10.17 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.34e-05/0.1906, allocations: 7.953 kB / 0.7248 GB, free: 10.16 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/0.1906, allocations: 4 kB / 0.7248 GB, free: 10.16 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.172e-05/0.1906, allocations: 0 / 0.7248 GB, free: 10.16 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1907, allocations: 11.98 kB / 0.7248 GB, free: 10.15 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.1907, allocations: 7.984 kB / 0.7248 GB, free: 10.14 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 7.324e-05/0.1907, allocations: 102.2 kB / 0.7249 GB, free: 10.04 MB / 0.545 GB
Notification: Performance of sort global known variables: time 7e-08/0.1907, allocations: 0 / 0.7249 GB, free: 10.04 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002561/0.191, allocations: 40 kB / 0.7249 GB, free: 10 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (10):
 * Single equations (assignments): 7
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 3
 * 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.0001502/0.1911, allocations: 107.2 kB / 0.725 GB, free: 9.891 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0004723/0.1916, allocations: 329.9 kB / 0.7254 GB, free: 9.531 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.1916, allocations: 4 kB / 0.7254 GB, free: 9.527 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 7.358e-05/0.1917, allocations: 43.94 kB / 0.7254 GB, free: 9.484 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/0.1919, allocations: 32.19 kB / 0.7254 GB, free: 9.453 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003903/0.1923, allocations: 187.5 kB / 0.7256 GB, free: 9.238 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1926, allocations: 0.6924 MB / 0.7263 GB, free: 8.52 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 3.099e-05/0.1927, allocations: 8.438 kB / 0.7263 GB, free: 8.512 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.1927, allocations: 15.44 kB / 0.7263 GB, free: 8.496 MB / 0.545 GB
Notification: Performance of SimCode: time 3.4e-07/0.1927, allocations: 0 / 0.7263 GB, free: 8.496 MB / 0.545 GB
Notification: Performance of Templates: time 0.006193/0.1989, allocations: 2.655 MB / 0.7289 GB, free: 5.875 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.289098438806832]
Failed to read output from testmodel.py, exit status != 0:
0.20734836533665657 0.221572762 0.033481706
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f828a9f57b0>