Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.001419/0.001419, allocations: 114.8 kB / 19.69 MB, free: 2.188 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.001585/0.001585, allocations: 188.4 kB / 22.98 MB, free: 5.004 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.308/1.308, allocations: 225.6 MB / 251.8 MB, free: 13.02 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.9005/0.9005, allocations: 149.6 MB / 456.6 MB, free: 1.184 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.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator")
translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 68.25 kB / 0.6328 GB, free: 8.992 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1621, allocations: 87.88 MB / 0.7187 GB, free: 1.027 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001822/0.1639, allocations: 0.6088 MB / 0.7193 GB, free: 432 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001414/0.1653, allocations: 1.12 MB / 0.7203 GB, free: 15.29 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.425e-05/0.1653, allocations: 3.938 kB / 0.7204 GB, free: 15.29 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 7.629e-05/0.1654, allocations: 8 kB / 0.7204 GB, free: 15.28 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 3.017e-05/0.1655, allocations: 7.938 kB / 0.7204 GB, free: 15.27 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004813/0.1659, allocations: 122.2 kB / 0.7205 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001547/0.1661, allocations: 95.75 kB / 0.7206 GB, free: 15.06 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.947e-05/0.1662, allocations: 4 kB / 0.7206 GB, free: 15.05 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.331e-05/0.1662, allocations: 35.97 kB / 0.7206 GB, free: 15.02 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1663, allocations: 35.89 kB / 0.7206 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.1663, allocations: 8 kB / 0.7207 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.1664, allocations: 27.92 kB / 0.7207 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 4.86e-05/0.1665, allocations: 7.984 kB / 0.7207 GB, free: 14.94 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 6.08e-05/0.1665, allocations: 39.84 kB / 0.7207 GB, free: 14.9 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.1667, allocations: 87.72 kB / 0.7208 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.1667, allocations: 0 / 0.7208 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.012e-06/0.1667, allocations: 0 / 0.7208 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 3.717e-06/0.1667, allocations: 0 / 0.7208 GB, free: 14.82 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: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0004359/0.1671, allocations: 304 kB / 0.7211 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1672, allocations: 8.625 kB / 0.7211 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.1672, allocations: 8.922 kB / 0.7211 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001657/0.1674, allocations: 126.5 kB / 0.7212 GB, free: 14.32 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.1674, allocations: 8.375 kB / 0.7212 GB, free: 14.31 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.37e-05/0.1674, allocations: 4.375 kB / 0.7212 GB, free: 14.3 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 9.55e-05/0.1675, allocations: 46.19 kB / 0.7213 GB, free: 14.25 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1675, allocations: 192 / 0.7213 GB, free: 14.25 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.1675, allocations: 3.938 kB / 0.7213 GB, free: 14.25 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1675, allocations: 7.984 kB / 0.7213 GB, free: 14.24 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 3.004e-05/0.1675, allocations: 8 kB / 0.7213 GB, free: 14.23 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003659/0.1679, allocations: 279.9 kB / 0.7216 GB, free: 13.92 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 4.853e-05/0.168, allocations: 22.52 kB / 0.7216 GB, free: 13.89 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 1.444e-05/0.168, allocations: 4.859 kB / 0.7216 GB, free: 13.88 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.688e-06/0.168, allocations: 0 / 0.7216 GB, free: 13.88 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001041/0.1681, allocations: 63.41 kB / 0.7217 GB, free: 13.8 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1681, allocations: 0 / 0.7217 GB, free: 13.8 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3): time 0.0001751/0.1683, allocations: 61.62 kB / 0.7217 GB, free: 13.74 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.1683, allocations: 59.39 kB / 0.7218 GB, free: 13.67 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.862e-05/0.1684, allocations: 109.8 kB / 0.7219 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.1684, allocations: 33.69 kB / 0.7219 GB, free: 13.51 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/0.1685, allocations: 88.09 kB / 0.722 GB, free: 13.42 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.297e-05/0.1685, allocations: 7.953 kB / 0.722 GB, free: 13.41 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.019e-05/0.1685, allocations: 29.7 kB / 0.722 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001346/0.1687, allocations: 318.8 kB / 0.7223 GB, free: 13.06 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.058e-05/0.1688, allocations: 35.97 kB / 0.7224 GB, free: 13.02 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/0.1688, allocations: 42.88 kB / 0.7224 GB, free: 12.97 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.1689, allocations: 96.42 kB / 0.7225 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1689, allocations: 0 / 0.7225 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002393/0.1692, allocations: 143.2 kB / 0.7226 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/0.1692, allocations: 43.67 kB / 0.7227 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1692, allocations: 0 / 0.7227 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1692, allocations: 3.984 kB / 0.7227 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.438e-05/0.1693, allocations: 0 / 0.7227 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.1693, allocations: 4 kB / 0.7227 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001818/0.1694, allocations: 23.97 kB / 0.7227 GB, free: 12.63 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1695, allocations: 4 kB / 0.7227 GB, free: 12.63 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: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (4):
 * Single equations (assignments): 3
 * 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.708e-05/0.1696, allocations: 121.8 kB / 0.7228 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.1696, allocations: 15.94 kB / 0.7229 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/0.1696, allocations: 4 kB / 0.7229 GB, free: 12.47 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1696, allocations: 0 / 0.7229 GB, free: 12.47 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1696, allocations: 3.938 kB / 0.7229 GB, free: 12.47 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1696, allocations: 0 / 0.7229 GB, free: 12.47 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.1697, allocations: 144.7 kB / 0.723 GB, free: 12.29 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1697, allocations: 0 / 0.723 GB, free: 12.29 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.654e-06/0.1697, allocations: 4 kB / 0.723 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1697, allocations: 0 / 0.723 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.1697, allocations: 0 / 0.723 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1697, allocations: 4 kB / 0.723 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1697, allocations: 0 / 0.723 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.1699, allocations: 81.06 kB / 0.7231 GB, free: 12.18 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.145e-06/0.1699, allocations: 3.953 kB / 0.7231 GB, free: 12.18 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.39e-05/0.1699, allocations: 3.984 kB / 0.7231 GB, free: 12.17 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.25e-05/0.1699, allocations: 0 / 0.7231 GB, free: 12.17 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.497e-05/0.1699, allocations: 4 kB / 0.7231 GB, free: 12.17 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-06/0.1699, allocations: 3.938 kB / 0.7231 GB, free: 12.16 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 4.737e-05/0.17, allocations: 91.27 kB / 0.7232 GB, free: 12.07 MB / 0.545 GB
Notification: Performance of sort global known variables: time 7e-08/0.17, allocations: 0 / 0.7232 GB, free: 12.07 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002021/0.1702, allocations: 19.94 kB / 0.7232 GB, free: 12.05 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: 3 ($whenCondition1,$whenCondition2,booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (3):
 * Single equations (assignments): 2
 * 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.0001435/0.1703, allocations: 107.4 kB / 0.7233 GB, free: 11.94 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002018/0.1705, allocations: 111.3 kB / 0.7234 GB, free: 11.82 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1705, allocations: 0 / 0.7234 GB, free: 11.82 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 2.815e-05/0.1705, allocations: 11.92 kB / 0.7234 GB, free: 11.81 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.1707, allocations: 10.42 kB / 0.7234 GB, free: 11.8 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002985/0.171, allocations: 130.3 kB / 0.7236 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003185/0.1713, allocations: 0.6807 MB / 0.7242 GB, free: 10.94 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 1.866e-05/0.1714, allocations: 0 / 0.7242 GB, free: 10.94 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.1714, allocations: 15.38 kB / 0.7242 GB, free: 10.92 MB / 0.545 GB
Notification: Performance of SimCode: time 3.5e-07/0.1714, allocations: 0 / 0.7242 GB, free: 10.92 MB / 0.545 GB
Notification: Performance of Templates: time 0.00372/0.1751, allocations: 1.059 MB / 0.7253 GB, free: 9.875 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.967009929008782]
Failed to read output from testmodel.py, exit status != 0:
0.18266831059008837 0.196062924 0.026590694
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f3cd45917b0>