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.001693/0.001693, allocations: 114.6 kB / 19.69 MB, free: 2.199 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.001349/0.001349, allocations: 192.1 kB / 22.98 MB, free: 5.062 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.301/1.301, allocations: 225.6 MB / 251.8 MB, free: 13.01 MB / 206.1 MB
"
[Timeout remaining time 179]
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.8908/0.8908, allocations: 149.6 MB / 456.6 MB, free: 1.211 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.00201/0.00201, allocations: 68.58 kB / 0.6328 GB, free: 9.043 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1621, allocations: 87.87 MB / 0.7186 GB, free: 1.094 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001756/0.1638, allocations: 0.6049 MB / 0.7192 GB, free: 0.4922 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001421/0.1653, allocations: 1.116 MB / 0.7203 GB, free: 15.36 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.1653, allocations: 4 kB / 0.7203 GB, free: 15.36 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 2.039e-05/0.1653, allocations: 4 kB / 0.7203 GB, free: 15.36 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 6.049e-05/0.1654, allocations: 11.91 kB / 0.7203 GB, free: 15.34 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004613/0.1658, allocations: 114.6 kB / 0.7204 GB, free: 15.23 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001538/0.166, allocations: 95.81 kB / 0.7205 GB, free: 15.14 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 7.33e-05/0.1661, allocations: 7.938 kB / 0.7205 GB, free: 15.13 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/0.1661, allocations: 39.97 kB / 0.7206 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.934e-05/0.1662, allocations: 35.83 kB / 0.7206 GB, free: 15.06 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.1662, allocations: 8 kB / 0.7206 GB, free: 15.05 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 5.786e-05/0.1663, allocations: 19.98 kB / 0.7206 GB, free: 15.03 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 1.843e-05/0.1663, allocations: 15.94 kB / 0.7207 GB, free: 15.02 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.1664, allocations: 31.91 kB / 0.7207 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.1665, allocations: 79.78 kB / 0.7208 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1665, allocations: 0 / 0.7208 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.072e-06/0.1665, allocations: 0 / 0.7208 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 4.428e-06/0.1665, allocations: 4 kB / 0.7208 GB, free: 14.9 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.0004271/0.167, allocations: 303.9 kB / 0.7211 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.167, allocations: 8.625 kB / 0.7211 GB, free: 14.56 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.167, allocations: 4.938 kB / 0.7211 GB, free: 14.55 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/0.1671, allocations: 114.5 kB / 0.7212 GB, free: 14.42 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.1672, allocations: 8.375 kB / 0.7212 GB, free: 14.41 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.1672, allocations: 12.31 kB / 0.7212 GB, free: 14.4 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 8.713e-05/0.1673, allocations: 38.25 kB / 0.7212 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.1673, allocations: 192 / 0.7212 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.1673, allocations: 3.938 kB / 0.7212 GB, free: 14.35 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.1673, allocations: 3.938 kB / 0.7212 GB, free: 14.35 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.547e-05/0.1673, allocations: 8 kB / 0.7213 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003744/0.1677, allocations: 260 kB / 0.7215 GB, free: 14.04 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 6.966e-05/0.1678, allocations: 42.44 kB / 0.7215 GB, free: 13.99 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 2.239e-05/0.1678, allocations: 8.922 kB / 0.7215 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.1678, allocations: 0 / 0.7215 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.1679, allocations: 59.39 kB / 0.7216 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1679, allocations: 0 / 0.7216 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4): time 0.000191/0.1681, allocations: 77.56 kB / 0.7217 GB, free: 13.83 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1681, allocations: 59.41 kB / 0.7217 GB, free: 13.76 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.416e-05/0.1682, allocations: 105.8 kB / 0.7218 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.1682, allocations: 25.7 kB / 0.7219 GB, free: 13.61 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.654e-05/0.1683, allocations: 88.14 kB / 0.7219 GB, free: 13.52 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.1683, allocations: 7.953 kB / 0.722 GB, free: 13.52 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.947e-05/0.1684, allocations: 29.7 kB / 0.722 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001242/0.1685, allocations: 318.8 kB / 0.7223 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.48e-05/0.1686, allocations: 31.92 kB / 0.7223 GB, free: 13.13 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.78e-05/0.1687, allocations: 54.55 kB / 0.7224 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001187/0.1688, allocations: 92.27 kB / 0.7225 GB, free: 12.96 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1688, allocations: 3.938 kB / 0.7225 GB, free: 12.96 MB / 0.545 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.000256/0.169, allocations: 151.2 kB / 0.7226 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.1691, allocations: 41.69 kB / 0.7226 GB, free: 12.75 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.1691, allocations: 4.062 kB / 0.7226 GB, free: 12.75 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.1691, allocations: 0 / 0.7226 GB, free: 12.75 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.635e-05/0.1691, allocations: 4 kB / 0.7227 GB, free: 12.74 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1692, allocations: 0 / 0.7227 GB, free: 12.74 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1693, allocations: 27.91 kB / 0.7227 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.648e-05/0.1693, allocations: 4 kB / 0.7227 GB, free: 12.71 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.206e-05/0.1694, allocations: 125.8 kB / 0.7228 GB, free: 12.58 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.1694, allocations: 7.953 kB / 0.7228 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.46e-05/0.1695, allocations: 11.94 kB / 0.7228 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1695, allocations: 4 kB / 0.7228 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.1695, allocations: 0 / 0.7228 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1695, allocations: 0 / 0.7228 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.1696, allocations: 136.7 kB / 0.723 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1696, allocations: 0 / 0.723 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.508e-05/0.1696, allocations: 0 / 0.723 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.1696, allocations: 0 / 0.723 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.1696, allocations: 7.938 kB / 0.723 GB, free: 12.36 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.1696, allocations: 0 / 0.723 GB, free: 12.36 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1696, allocations: 4 kB / 0.723 GB, free: 12.36 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.1697, allocations: 89.05 kB / 0.7231 GB, free: 12.25 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.1698, allocations: 7.953 kB / 0.7231 GB, free: 12.25 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.1698, allocations: 0 / 0.7231 GB, free: 12.25 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.307e-05/0.1698, allocations: 0 / 0.7231 GB, free: 12.25 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.252e-05/0.1698, allocations: 0 / 0.7231 GB, free: 12.25 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.1698, allocations: 7.984 kB / 0.7231 GB, free: 12.24 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 5.071e-05/0.1699, allocations: 91.22 kB / 0.7232 GB, free: 12.15 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.1699, allocations: 0 / 0.7232 GB, free: 12.15 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0001979/0.1701, allocations: 16 kB / 0.7232 GB, free: 12.13 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.0001139/0.1702, allocations: 107.8 kB / 0.7233 GB, free: 12.02 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002099/0.1704, allocations: 111.3 kB / 0.7234 GB, free: 11.9 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1704, allocations: 0 / 0.7234 GB, free: 11.9 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 3.15e-05/0.1704, allocations: 12.31 kB / 0.7234 GB, free: 11.89 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001895/0.1706, allocations: 25.77 kB / 0.7234 GB, free: 11.86 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.1709, allocations: 118.2 kB / 0.7235 GB, free: 11.72 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002785/0.1711, allocations: 0.6807 MB / 0.7242 GB, free: 11.01 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 1.948e-05/0.1712, allocations: 4.078 kB / 0.7242 GB, free: 11.01 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.1712, allocations: 11.44 kB / 0.7242 GB, free: 11 MB / 0.545 GB
Notification: Performance of SimCode: time 3.21e-07/0.1712, allocations: 0 / 0.7242 GB, free: 11 MB / 0.545 GB
Notification: Performance of Templates: time 0.003523/0.1747, allocations: 1.084 MB / 0.7253 GB, free: 9.926 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.115250033326447]
Failed to read output from testmodel.py, exit status != 0:
0.18285633623600006 0.19574739300000002 0.026378657000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff32bb317b0>