Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.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.001662/0.001662, allocations: 114.6 kB / 19.59 MB, free: 2.301 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: 195.6 kB / 22.85 MB, free: 5.645 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.371/1.371, 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.9268/0.9268, allocations: 149.5 MB / 456.3 MB, free: 1.273 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.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00212/0.00212, allocations: 74.84 kB / 0.6324 GB, free: 9.113 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1822, allocations: 87.87 MB / 0.7182 GB, free: 1.156 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001865/0.184, allocations: 0.7298 MB / 0.7189 GB, free: 440 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001606/0.1856, allocations: 1.264 MB / 0.7202 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.264e-05/0.1857, allocations: 4 kB / 0.7202 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.994e-05/0.1857, allocations: 11.86 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 8.635e-05/0.1858, allocations: 15.86 kB / 0.7202 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007134/0.1865, allocations: 249.5 kB / 0.7204 GB, free: 14.88 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0003223/0.1868, allocations: 259.5 kB / 0.7207 GB, free: 14.63 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.774e-05/0.1869, allocations: 12.22 kB / 0.7207 GB, free: 14.61 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001269/0.1871, allocations: 103.8 kB / 0.7208 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001571/0.1872, allocations: 91.75 kB / 0.7209 GB, free: 14.42 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 3.958e-05/0.1873, allocations: 27.94 kB / 0.7209 GB, free: 14.39 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 8.112e-05/0.1873, allocations: 39.92 kB / 0.7209 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.1874, allocations: 31.97 kB / 0.721 GB, free: 14.32 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.1875, allocations: 91.73 kB / 0.7211 GB, free: 14.23 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.1878, allocations: 219.4 kB / 0.7213 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1878, allocations: 0 / 0.7213 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.302e-06/0.1878, allocations: 0 / 0.7213 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.11e-06/0.1878, allocations: 4 kB / 0.7213 GB, free: 14.02 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: 14
 * Number of variables: 14
Notification: Performance of Generate backend data structure: time 0.0007002/0.1885, allocations: 429.2 kB / 0.7217 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.1885, allocations: 8.625 kB / 0.7217 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.682e-05/0.1886, allocations: 16.89 kB / 0.7217 GB, free: 13.53 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005522/0.1891, allocations: 198.5 kB / 0.7219 GB, free: 13.31 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.1892, allocations: 12.38 kB / 0.7219 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.729e-05/0.1892, allocations: 20.36 kB / 0.7219 GB, free: 13.28 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.1894, allocations: 123.9 kB / 0.722 GB, free: 13.14 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.1894, allocations: 3.938 kB / 0.722 GB, free: 13.14 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.1895, allocations: 7.984 kB / 0.7221 GB, free: 13.13 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.645e-06/0.1895, allocations: 0 / 0.7221 GB, free: 13.13 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001264/0.1896, allocations: 63.89 kB / 0.7221 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007767/0.1904, allocations: 499.7 kB / 0.7226 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002686/0.1906, allocations: 137.2 kB / 0.7227 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 9.112e-05/0.1907, allocations: 57.69 kB / 0.7228 GB, free: 12.32 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.1907, allocations: 0 / 0.7228 GB, free: 12.32 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003285/0.1911, allocations: 205.6 kB / 0.723 GB, free: 12.1 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=22): time 1.172e-06/0.1911, allocations: 0 / 0.723 GB, free: 12.1 MB / 0.545 GB
Notification: Performance of matching and sorting (n=22): time 0.0005854/0.1917, allocations: 316.5 kB / 0.7233 GB, free: 11.79 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/0.1917, allocations: 93.55 kB / 0.7234 GB, free: 11.68 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.1919, allocations: 141.9 kB / 0.7235 GB, free: 11.53 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 4.495e-05/0.1919, allocations: 37.7 kB / 0.7235 GB, free: 11.49 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.967e-05/0.192, allocations: 92.64 kB / 0.7236 GB, free: 11.39 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.1921, allocations: 59.52 kB / 0.7237 GB, free: 11.34 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/0.1922, allocations: 77.67 kB / 0.7238 GB, free: 11.25 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001439/0.1923, allocations: 326.8 kB / 0.7241 GB, free: 10.93 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.1925, allocations: 80.23 kB / 0.7241 GB, free: 10.84 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.1927, allocations: 156.2 kB / 0.7243 GB, free: 10.66 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003201/0.193, allocations: 246 kB / 0.7245 GB, free: 10.39 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.193, allocations: 4 kB / 0.7245 GB, free: 10.38 MB / 0.545 GB
Notification: Performance of matching and sorting (n=34) (initialization): time 0.000564/0.1936, allocations: 356.7 kB / 0.7249 GB, free: 10.02 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 5.64e-05/0.1937, allocations: 67.39 kB / 0.7249 GB, free: 9.938 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.1937, allocations: 4 kB / 0.7249 GB, free: 9.934 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.1937, allocations: 4 kB / 0.7249 GB, free: 9.93 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.518e-05/0.1938, allocations: 19.92 kB / 0.725 GB, free: 9.91 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.1938, allocations: 3.938 kB / 0.725 GB, free: 9.906 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003311/0.1941, allocations: 72.06 kB / 0.725 GB, free: 9.836 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.1942, allocations: 19.98 kB / 0.7251 GB, free: 9.816 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: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (30):
 * Single equations (assignments): 28
 * 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.0001498/0.1943, allocations: 147.7 kB / 0.7252 GB, free: 9.664 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.616e-05/0.1943, allocations: 11.95 kB / 0.7252 GB, free: 9.652 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.315e-05/0.1944, allocations: 16.44 kB / 0.7252 GB, free: 9.637 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.1944, allocations: 7.984 kB / 0.7252 GB, free: 9.629 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.1944, allocations: 7.938 kB / 0.7252 GB, free: 9.621 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.1944, allocations: 7.922 kB / 0.7252 GB, free: 9.613 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006724/0.1951, allocations: 0.5943 MB / 0.7258 GB, free: 8.969 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.1951, allocations: 0 / 0.7258 GB, free: 8.969 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.215e-05/0.1951, allocations: 8 kB / 0.7258 GB, free: 8.961 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.432e-06/0.1951, allocations: 7.938 kB / 0.7258 GB, free: 8.953 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.91e-05/0.1951, allocations: 7.984 kB / 0.7259 GB, free: 8.945 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1951, allocations: 4 kB / 0.7259 GB, free: 8.941 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1951, allocations: 0 / 0.7259 GB, free: 8.941 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004608/0.1956, allocations: 430.3 kB / 0.7263 GB, free: 8.508 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.078e-05/0.1956, allocations: 19.84 kB / 0.7263 GB, free: 8.488 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.497e-05/0.1957, allocations: 11.92 kB / 0.7263 GB, free: 8.477 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1958, allocations: 11.98 kB / 0.7263 GB, free: 8.465 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.1959, allocations: 27.95 kB / 0.7263 GB, free: 8.438 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.508e-05/0.1959, allocations: 19.98 kB / 0.7264 GB, free: 8.418 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.193e-05/0.196, allocations: 95.27 kB / 0.7264 GB, free: 8.324 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.196, allocations: 0 / 0.7264 GB, free: 8.324 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0003566/0.1963, allocations: 56 kB / 0.7265 GB, free: 8.27 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y)
 * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (22):
 * Single equations (assignments): 14
 * 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.000173/0.1965, allocations: 111.2 kB / 0.7266 GB, free: 8.152 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0005124/0.197, allocations: 318 kB / 0.7269 GB, free: 7.82 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.197, allocations: 0 / 0.7269 GB, free: 7.82 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001465/0.1971, allocations: 83.89 kB / 0.727 GB, free: 7.738 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003854/0.1975, allocations: 29.23 kB / 0.727 GB, free: 7.711 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.1981, allocations: 272.4 kB / 0.7273 GB, free: 7.41 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.1985, allocations: 0.7088 MB / 0.728 GB, free: 6.676 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 5.795e-05/0.1985, allocations: 13.48 kB / 0.728 GB, free: 6.664 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.631e-05/0.1986, allocations: 23.44 kB / 0.728 GB, free: 6.641 MB / 0.545 GB
Notification: Performance of SimCode: time 3.2e-07/0.1986, allocations: 4 kB / 0.728 GB, free: 6.637 MB / 0.545 GB
Notification: Performance of Templates: time 0.006247/0.2048, allocations: 2.79 MB / 0.7307 GB, free: 3.867 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.380282540805638]
Failed to read output from testmodel.py, exit status != 0:
0.2129862029105425 0.226449597 0.035690939000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fcd118517b0>