Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.001368/0.001368, allocations: 104.2 kB / 20.33 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.00148/0.00148, allocations: 188.7 kB / 23.59 MB, free: 4.984 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.463/1.463, allocations: 225.6 MB / 252.3 MB, free: 13.06 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.9755/0.9755, allocations: 149.5 MB / 457.1 MB, free: 1.301 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.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger")
translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 65.28 kB / 0.6331 GB, free: 9.176 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.1657, allocations: 87.88 MB / 0.7189 GB, free: 1.215 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001827/0.1675, allocations: 0.5996 MB / 0.7195 GB, free: 0.6211 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001509/0.169, allocations: 1.12 MB / 0.7206 GB, free: 15.49 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.74e-05/0.1691, allocations: 0 / 0.7206 GB, free: 15.49 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 2.322e-05/0.1691, allocations: 0 / 0.7206 GB, free: 15.49 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 6.818e-05/0.1692, allocations: 11.92 kB / 0.7206 GB, free: 15.48 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0005131/0.1697, allocations: 119 kB / 0.7207 GB, free: 15.36 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001706/0.1699, allocations: 95.73 kB / 0.7208 GB, free: 15.27 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.285e-05/0.1699, allocations: 16 kB / 0.7208 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.643e-05/0.17, allocations: 27.98 kB / 0.7209 GB, free: 15.23 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 9.604e-05/0.1701, allocations: 39.83 kB / 0.7209 GB, free: 15.19 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.1701, allocations: 8 kB / 0.7209 GB, free: 15.18 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.244e-05/0.1702, allocations: 23.98 kB / 0.7209 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.1702, allocations: 7.922 kB / 0.7209 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.1702, allocations: 31.92 kB / 0.721 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001562/0.1704, allocations: 83.78 kB / 0.7211 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1704, allocations: 0 / 0.7211 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.202e-06/0.1704, allocations: 0 / 0.7211 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 4.949e-06/0.1704, allocations: 0 / 0.7211 GB, free: 15.04 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: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.00045/0.1709, allocations: 303.9 kB / 0.7213 GB, free: 14.7 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1709, allocations: 8.625 kB / 0.7213 GB, free: 14.69 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.725e-05/0.1709, allocations: 4.938 kB / 0.7214 GB, free: 14.69 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1711, allocations: 118.4 kB / 0.7215 GB, free: 14.55 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.1711, allocations: 4.375 kB / 0.7215 GB, free: 14.54 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.1711, allocations: 4.375 kB / 0.7215 GB, free: 14.54 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.003e-05/0.1712, allocations: 38.25 kB / 0.7215 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.1712, allocations: 192 / 0.7215 GB, free: 14.5 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1712, allocations: 11.94 kB / 0.7215 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.1712, allocations: 0 / 0.7215 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.1713, allocations: 11.98 kB / 0.7215 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004051/0.1717, allocations: 256 kB / 0.7218 GB, free: 14.18 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.936e-05/0.1717, allocations: 34.44 kB / 0.7218 GB, free: 14.14 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.1718, allocations: 8.922 kB / 0.7218 GB, free: 14.12 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.1718, allocations: 0 / 0.7218 GB, free: 14.12 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.1719, allocations: 67.38 kB / 0.7219 GB, free: 14.05 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.1719, allocations: 0 / 0.7219 GB, free: 14.05 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4): time 0.0002052/0.1721, allocations: 77.58 kB / 0.722 GB, free: 13.96 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.429e-05/0.1721, allocations: 51.41 kB / 0.722 GB, free: 13.9 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.413e-05/0.1722, allocations: 105.8 kB / 0.7221 GB, free: 13.79 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.786e-05/0.1723, allocations: 33.7 kB / 0.7221 GB, free: 13.75 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.984e-05/0.1723, allocations: 88.12 kB / 0.7222 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.109e-05/0.1723, allocations: 7.953 kB / 0.7222 GB, free: 13.65 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.682e-05/0.1724, allocations: 33.7 kB / 0.7223 GB, free: 13.61 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001393/0.1725, allocations: 310.8 kB / 0.7226 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.1726, allocations: 35.92 kB / 0.7226 GB, free: 13.27 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.945e-05/0.1727, allocations: 50.55 kB / 0.7226 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.1728, allocations: 96.27 kB / 0.7227 GB, free: 13.1 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.1728, allocations: 3.938 kB / 0.7227 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002725/0.1731, allocations: 151.2 kB / 0.7229 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.1732, allocations: 33.7 kB / 0.7229 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1732, allocations: 0 / 0.7229 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1732, allocations: 4 kB / 0.7229 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.994e-05/0.1732, allocations: 7.922 kB / 0.7229 GB, free: 12.88 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.1732, allocations: 4 kB / 0.7229 GB, free: 12.88 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.1734, allocations: 31.97 kB / 0.723 GB, free: 12.85 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/0.1734, allocations: 8.234 kB / 0.723 GB, free: 12.84 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 3
 * Number of states: 0 ()
 * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (5):
 * Single equations (assignments): 4
 * Array equations: 0
 * Algorithm blocks: 1
 * 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 9.46e-05/0.1735, allocations: 117.7 kB / 0.7231 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.349e-05/0.1736, allocations: 4 kB / 0.7231 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.578e-05/0.1736, allocations: 15.97 kB / 0.7231 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.1736, allocations: 0 / 0.7231 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.1736, allocations: 0 / 0.7231 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1736, allocations: 0 / 0.7231 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.1737, allocations: 140.6 kB / 0.7232 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.1737, allocations: 3.984 kB / 0.7232 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.846e-05/0.1737, allocations: 4 kB / 0.7232 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.1738, allocations: 0 / 0.7232 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.1738, allocations: 4 kB / 0.7232 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1738, allocations: 0 / 0.7232 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1738, allocations: 0 / 0.7232 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001296/0.1739, allocations: 85.06 kB / 0.7233 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.142e-05/0.1739, allocations: 7.938 kB / 0.7233 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.1739, allocations: 4 kB / 0.7233 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.828e-05/0.1739, allocations: 4 kB / 0.7233 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.174, allocations: 3.938 kB / 0.7233 GB, free: 12.38 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.174, allocations: 8 kB / 0.7234 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 5.119e-05/0.174, allocations: 87.27 kB / 0.7234 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.174, allocations: 0 / 0.7234 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002226/0.1742, allocations: 20 kB / 0.7235 GB, free: 12.26 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: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (4):
 * Single equations (assignments): 3
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * 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.0001358/0.1744, allocations: 103.2 kB / 0.7236 GB, free: 12.15 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002274/0.1746, allocations: 119.3 kB / 0.7237 GB, free: 12.02 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1746, allocations: 0 / 0.7237 GB, free: 12.02 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 3.574e-05/0.1746, allocations: 15.94 kB / 0.7237 GB, free: 12.01 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.1748, allocations: 19.95 kB / 0.7237 GB, free: 11.99 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.1751, allocations: 122.2 kB / 0.7238 GB, free: 11.84 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.1755, allocations: 0.6768 MB / 0.7245 GB, free: 11.14 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 2.202e-05/0.1755, allocations: 8.125 kB / 0.7245 GB, free: 11.13 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.128e-05/0.1755, allocations: 11.38 kB / 0.7245 GB, free: 11.12 MB / 0.545 GB
Notification: Performance of SimCode: time 4.31e-07/0.1755, allocations: 4 kB / 0.7245 GB, free: 11.12 MB / 0.545 GB
Notification: Performance of Templates: time 0.003934/0.1794, allocations: 1.08 MB / 0.7256 GB, free: 10.05 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger  -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.66204604099039]
Failed to read output from testmodel.py, exit status != 0:
0.18827162600064185 0.204333397 0.030430537
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f9da5cbd840>