Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.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.001318/0.001318, allocations: 108.2 kB / 20.33 MB, free: 1.582 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.001542/0.001542, allocations: 184.9 kB / 23.59 MB, free: 4.965 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.48/1.48, allocations: 225.6 MB / 252.3 MB, free: 13.04 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.9617/0.9617, allocations: 149.5 MB / 457.1 MB, free: 1.297 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.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 67.91 kB / 0.6332 GB, free: 9.133 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1712, allocations: 87.88 MB / 0.719 GB, free: 1.168 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Latch): time 0.002068/0.1733, allocations: 0.7492 MB / 0.7197 GB, free: 432 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001659/0.1749, allocations: 1.256 MB / 0.7209 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.175, allocations: 4 kB / 0.7209 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 4.74e-05/0.1751, allocations: 15.8 kB / 0.7209 GB, free: 15.13 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 7.444e-05/0.1751, allocations: 15.86 kB / 0.721 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007101/0.1758, allocations: 257 kB / 0.7212 GB, free: 14.87 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0003091/0.1761, allocations: 255.6 kB / 0.7215 GB, free: 14.62 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.1763, allocations: 45.03 kB / 0.7215 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.1764, allocations: 107.8 kB / 0.7216 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001714/0.1766, allocations: 103.7 kB / 0.7217 GB, free: 14.37 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 4.471e-05/0.1766, allocations: 28 kB / 0.7217 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 7.751e-05/0.1767, allocations: 32 kB / 0.7218 GB, free: 14.31 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 4.717e-05/0.1768, allocations: 31.91 kB / 0.7218 GB, free: 14.28 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.1769, allocations: 107.5 kB / 0.7219 GB, free: 14.18 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.1772, allocations: 247.1 kB / 0.7221 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1772, allocations: 0 / 0.7221 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.313e-06/0.1772, allocations: 0 / 0.7221 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.26e-06/0.1772, allocations: 4 kB / 0.7221 GB, free: 13.93 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.0006534/0.1778, allocations: 421.3 kB / 0.7225 GB, free: 13.47 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1779, allocations: 8.625 kB / 0.7225 GB, free: 13.46 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.22e-05/0.1779, allocations: 20.84 kB / 0.7226 GB, free: 13.45 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.1785, allocations: 182.5 kB / 0.7227 GB, free: 13.24 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.1785, allocations: 8.375 kB / 0.7227 GB, free: 13.23 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.244e-05/0.1785, allocations: 24.36 kB / 0.7228 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.1788, allocations: 129.5 kB / 0.7229 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.1788, allocations: 3.938 kB / 0.7229 GB, free: 13.08 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.719e-05/0.1788, allocations: 15.98 kB / 0.7229 GB, free: 13.06 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1788, allocations: 3.984 kB / 0.7229 GB, free: 13.06 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001361/0.179, allocations: 71.84 kB / 0.723 GB, free: 12.99 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/0.1796, allocations: 419.3 kB / 0.7234 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.1798, allocations: 86.53 kB / 0.7235 GB, free: 12.44 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 6.249e-05/0.1798, allocations: 36.98 kB / 0.7235 GB, free: 12.4 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.1798, allocations: 3.984 kB / 0.7235 GB, free: 12.4 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.1801, allocations: 135.1 kB / 0.7236 GB, free: 12.25 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=16): time 1.453e-06/0.1801, allocations: 4 kB / 0.7236 GB, free: 12.25 MB / 0.545 GB
Notification: Performance of matching and sorting (n=16): time 0.0004606/0.1805, allocations: 238.2 kB / 0.7239 GB, free: 12.01 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.618e-05/0.1806, allocations: 59.41 kB / 0.7239 GB, free: 11.94 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.1807, allocations: 141 kB / 0.724 GB, free: 11.8 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.1807, allocations: 37.7 kB / 0.7241 GB, free: 11.75 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.1808, allocations: 112.5 kB / 0.7242 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1808, allocations: 31.75 kB / 0.7242 GB, free: 11.61 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001161/0.181, allocations: 69.67 kB / 0.7243 GB, free: 11.54 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001529/0.1811, allocations: 322.8 kB / 0.7246 GB, free: 11.21 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.1813, allocations: 71.95 kB / 0.7247 GB, free: 11.14 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.1815, allocations: 126.3 kB / 0.7248 GB, free: 10.99 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.1818, allocations: 222 kB / 0.725 GB, free: 10.74 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1818, allocations: 0 / 0.725 GB, free: 10.74 MB / 0.545 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005321/0.1823, allocations: 320.7 kB / 0.7253 GB, free: 10.41 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 6.571e-05/0.1824, allocations: 63.39 kB / 0.7254 GB, free: 10.33 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1824, allocations: 0 / 0.7254 GB, free: 10.33 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.1824, allocations: 4 kB / 0.7254 GB, free: 10.33 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.785e-05/0.1824, allocations: 7.938 kB / 0.7254 GB, free: 10.32 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.1824, allocations: 7.984 kB / 0.7254 GB, free: 10.31 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.1828, allocations: 60.09 kB / 0.7254 GB, free: 10.25 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.1828, allocations: 23.92 kB / 0.7255 GB, free: 10.23 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 9
 * Number of states: 0 ()
 * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,truCleFalIni.y,truCleTruIni.y,latInp.y,$PRE.latInp.y,cleInp.y,$PRE.cleInp.y,swiCleInp1.y,swiCleInp.y,falCleFalIni.y,falCleTruIni.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tru.y,fal.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (20):
 * Single equations (assignments): 18
 * 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.0001417/0.1829, allocations: 138.4 kB / 0.7256 GB, free: 10.09 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.183, allocations: 15.84 kB / 0.7256 GB, free: 10.07 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.183, allocations: 12.78 kB / 0.7256 GB, free: 10.05 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.183, allocations: 0 / 0.7256 GB, free: 10.05 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.183, allocations: 0 / 0.7256 GB, free: 10.05 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.183, allocations: 7.984 kB / 0.7256 GB, free: 10.05 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005373/0.1835, allocations: 461.4 kB / 0.7261 GB, free: 9.547 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.1835, allocations: 0 / 0.7261 GB, free: 9.547 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.314e-05/0.1836, allocations: 4 kB / 0.7261 GB, free: 9.543 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.1836, allocations: 0 / 0.7261 GB, free: 9.543 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1836, allocations: 11.98 kB / 0.7261 GB, free: 9.531 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.1836, allocations: 0 / 0.7261 GB, free: 9.531 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1836, allocations: 0 / 0.7261 GB, free: 9.531 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.1839, allocations: 298.5 kB / 0.7264 GB, free: 9.227 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.6e-05/0.1839, allocations: 11.91 kB / 0.7264 GB, free: 9.215 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.113e-05/0.184, allocations: 7.984 kB / 0.7264 GB, free: 9.207 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.588e-05/0.184, allocations: 4 kB / 0.7264 GB, free: 9.203 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.1841, allocations: 19.91 kB / 0.7264 GB, free: 9.184 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.129e-05/0.1841, allocations: 8 kB / 0.7264 GB, free: 9.176 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.559e-05/0.1842, allocations: 103.2 kB / 0.7265 GB, free: 9.074 MB / 0.545 GB
Notification: Performance of sort global known variables: time 6e-08/0.1842, allocations: 0 / 0.7265 GB, free: 9.074 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.000313/0.1845, allocations: 51.92 kB / 0.7266 GB, free: 9.023 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: 16 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,falCleTruIni.y,truCleTruIni.y,falCleFalIni.y,truCleFalIni.y,swiCleInp.y,swiCleInp1.y,cleInp.y,latInp.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (16):
 * Single equations (assignments): 8
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 8
 * 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.0001444/0.1846, allocations: 103.2 kB / 0.7267 GB, free: 8.914 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0004288/0.1851, allocations: 270.5 kB / 0.7269 GB, free: 8.625 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1851, allocations: 0 / 0.7269 GB, free: 8.625 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.1852, allocations: 59.91 kB / 0.727 GB, free: 8.566 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.1855, allocations: 30.44 kB / 0.727 GB, free: 8.539 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004953/0.186, allocations: 259.6 kB / 0.7273 GB, free: 8.258 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.1863, allocations: 0.7046 MB / 0.7279 GB, free: 7.527 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 4.069e-05/0.1864, allocations: 17.08 kB / 0.728 GB, free: 7.512 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.1864, allocations: 15.44 kB / 0.728 GB, free: 7.496 MB / 0.545 GB
Notification: Performance of SimCode: time 3.51e-07/0.1864, allocations: 0 / 0.728 GB, free: 7.496 MB / 0.545 GB
Notification: Performance of Templates: time 0.005475/0.1919, allocations: 2.213 MB / 0.7301 GB, free: 5.305 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch  -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Latch.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.649394710002525]
Failed to read output from testmodel.py, exit status != 0:
0.20005703900096705 0.21469199900000002 0.034420416
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f138e7dd810>