Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001468/0.001468, allocations: 113.5 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.001539/0.001539, allocations: 187.4 kB / 22.98 MB, free: 5.008 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.316/1.316, allocations: 225.6 MB / 251.8 MB, free: 13.04 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.8917/0.8917, allocations: 149.6 MB / 456.6 MB, free: 1.199 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.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant")
translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 74.22 kB / 0.6329 GB, free: 8.996 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1651, allocations: 87.87 MB / 0.7187 GB, free: 1.043 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001754/0.1668, allocations: 0.5387 MB / 0.7192 GB, free: 0.5078 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 3.74e-05/0.1668, allocations: 0 / 0.7192 GB, free: 0.5078 MB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 2.842e-05/0.1669, allocations: 0 / 0.7192 GB, free: 0.5078 MB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 2.51e-05/0.1669, allocations: 0 / 0.7192 GB, free: 0.5078 MB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 2.451e-05/0.1669, allocations: 3.938 kB / 0.7192 GB, free: 0.5039 MB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 3.025e-05/0.167, allocations: 4 kB / 0.7192 GB, free: 0.5 MB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 5.016e-05/0.167, allocations: 0 / 0.7192 GB, free: 0.5 MB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.235e-05/0.1671, allocations: 4 kB / 0.7192 GB, free: 0.4961 MB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 1.178e-05/0.1671, allocations: 0 / 0.7192 GB, free: 0.4961 MB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 2.636e-05/0.1671, allocations: 11.98 kB / 0.7192 GB, free: 496 kB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 9.929e-06/0.1671, allocations: 0 / 0.7192 GB, free: 496 kB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 3.266e-06/0.1671, allocations: 0 / 0.7192 GB, free: 496 kB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 1.066e-05/0.1671, allocations: 0 / 0.7192 GB, free: 496 kB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 2.053e-05/0.1671, allocations: 7.922 kB / 0.7192 GB, free: 488 kB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 5.186e-05/0.1672, allocations: 0 / 0.7192 GB, free: 488 kB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1672, allocations: 0 / 0.7192 GB, free: 488 kB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.403e-06/0.1672, allocations: 0 / 0.7192 GB, free: 488 kB / 0.5294 GB
Notification: Performance of Transformations before backend: time 7.574e-06/0.1672, allocations: 4 kB / 0.7192 GB, free: 484 kB / 0.5294 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1
 * Number of variables: 1
Notification: Performance of Generate backend data structure: time 0.0002833/0.1675, allocations: 234.4 kB / 0.7195 GB, free: 216 kB / 0.5294 GB
Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1675, allocations: 16.64 kB / 0.7195 GB, free: 200 kB / 0.5294 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 2.521e-05/0.1676, allocations: 4.938 kB / 0.7195 GB, free: 196 kB / 0.5294 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.1677, allocations: 102.5 kB / 0.7196 GB, free: 68 kB / 0.5294 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.1677, allocations: 384 / 0.7196 GB, free: 68 kB / 0.5294 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1677, allocations: 4.375 kB / 0.7196 GB, free: 64 kB / 0.5294 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 7.959e-05/0.1678, allocations: 34.19 kB / 0.7196 GB, free: 24 kB / 0.5294 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.1678, allocations: 192 / 0.7196 GB, free: 24 kB / 0.5294 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1678, allocations: 7.938 kB / 0.7196 GB, free: 16 kB / 0.5294 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1678, allocations: 0 / 0.7196 GB, free: 16 kB / 0.5294 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 2.209e-05/0.1678, allocations: 4 kB / 0.7196 GB, free: 12 kB / 0.5294 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.1682, allocations: 350.6 kB / 0.72 GB, free: 15.62 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 9.747e-05/0.1683, allocations: 169.6 kB / 0.7201 GB, free: 15.45 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.228e-05/0.1683, allocations: 88.08 kB / 0.7202 GB, free: 15.36 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 4.059e-05/0.1683, allocations: 79.28 kB / 0.7203 GB, free: 15.28 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.211e-05/0.1684, allocations: 109.9 kB / 0.7204 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1684, allocations: 0 / 0.7204 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of matching and sorting (n=0): time 8.019e-05/0.1685, allocations: 29.7 kB / 0.7204 GB, free: 15.13 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.1685, allocations: 130.7 kB / 0.7205 GB, free: 14.99 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.674e-05/0.1686, allocations: 97.86 kB / 0.7206 GB, free: 14.88 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1687, allocations: 25.7 kB / 0.7207 GB, free: 14.85 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 4.067e-05/0.1687, allocations: 84.14 kB / 0.7207 GB, free: 14.77 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.1687, allocations: 0 / 0.7207 GB, free: 14.77 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 1.962e-05/0.1687, allocations: 9.719 kB / 0.7207 GB, free: 14.75 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001205/0.1688, allocations: 314.8 kB / 0.721 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.917e-06/0.1688, allocations: 3.938 kB / 0.721 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-06/0.1688, allocations: 4 kB / 0.7211 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 3.085e-05/0.1689, allocations: 79.41 kB / 0.7211 GB, free: 14.35 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.181e-05/0.1689, allocations: 79.28 kB / 0.7212 GB, free: 14.27 MB / 0.545 GB
Notification: Performance of matching and sorting (n=0) (initialization): time 5.826e-05/0.169, allocations: 37.58 kB / 0.7212 GB, free: 14.23 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 4.001e-05/0.169, allocations: 83.28 kB / 0.7213 GB, free: 14.14 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.279e-05/0.169, allocations: 79.22 kB / 0.7214 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 6.41e-05/0.1691, allocations: 150.6 kB / 0.7215 GB, free: 13.92 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.427e-05/0.1691, allocations: 79.28 kB / 0.7216 GB, free: 13.84 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.079e-05/0.1692, allocations: 162.5 kB / 0.7218 GB, free: 13.68 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.65e-05/0.1693, allocations: 75.28 kB / 0.7218 GB, free: 13.61 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.1693, allocations: 79.22 kB / 0.7219 GB, free: 13.53 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * 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.00012/0.1694, allocations: 268.3 kB / 0.7222 GB, free: 13.25 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.625e-05/0.1695, allocations: 101 kB / 0.7223 GB, free: 13.15 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.495e-05/0.1695, allocations: 108.1 kB / 0.7224 GB, free: 13.04 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.937e-05/0.1696, allocations: 184.2 kB / 0.7225 GB, free: 12.85 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-05/0.1697, allocations: 180.3 kB / 0.7227 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.259e-05/0.1698, allocations: 188.1 kB / 0.7229 GB, free: 12.47 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000229/0.17, allocations: 372.2 kB / 0.7233 GB, free: 12.06 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.294e-05/0.17, allocations: 109 kB / 0.7234 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.791e-05/0.1701, allocations: 112.9 kB / 0.7235 GB, free: 11.83 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.986e-05/0.1701, allocations: 176.3 kB / 0.7236 GB, free: 11.65 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.945e-05/0.1702, allocations: 180.2 kB / 0.7238 GB, free: 11.46 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.015e-05/0.1703, allocations: 180.6 kB / 0.724 GB, free: 11.28 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.941e-05/0.1704, allocations: 176.3 kB / 0.7241 GB, free: 11.1 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.1705, allocations: 319.7 kB / 0.7245 GB, free: 10.77 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.1706, allocations: 104.9 kB / 0.7246 GB, free: 10.66 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.893e-05/0.1706, allocations: 184.3 kB / 0.7247 GB, free: 10.47 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.293e-05/0.1707, allocations: 101 kB / 0.7248 GB, free: 10.36 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.218e-05/0.1708, allocations: 184.2 kB / 0.725 GB, free: 10.18 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/0.1708, allocations: 105 kB / 0.7251 GB, free: 10.07 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 4.4e-05/0.1709, allocations: 79.28 kB / 0.7252 GB, free: 9.988 MB / 0.545 GB
Notification: Performance of sort global known variables: time 6e-08/0.1709, allocations: 0 / 0.7252 GB, free: 9.988 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.000277/0.1712, allocations: 0 / 0.7252 GB, free: 9.988 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: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (0):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 0
 * 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 Backend phase and start with SimCode phase: time 0.0001384/0.1713, allocations: 174.5 kB / 0.7253 GB, free: 9.805 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 4.475e-05/0.1713, allocations: 11.88 kB / 0.7254 GB, free: 9.793 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1714, allocations: 4.094 kB / 0.7254 GB, free: 9.789 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.1714, allocations: 0 / 0.7254 GB, free: 9.789 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003917/0.1717, allocations: 459.6 kB / 0.7258 GB, free: 9.336 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002197/0.172, allocations: 156.2 kB / 0.7259 GB, free: 9.156 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.1722, allocations: 0.669 MB / 0.7266 GB, free: 8.461 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 7.264e-06/0.1722, allocations: 0 / 0.7266 GB, free: 8.461 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.901e-05/0.1723, allocations: 11.44 kB / 0.7266 GB, free: 8.449 MB / 0.545 GB
Notification: Performance of SimCode: time 4.01e-07/0.1723, allocations: 0 / 0.7266 GB, free: 8.449 MB / 0.545 GB
Notification: Performance of Templates: time 0.002008/0.1743, allocations: 172.9 kB / 0.7268 GB, free: 8.281 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.064987673424184]
Failed to read output from testmodel.py, exit status != 0:
0.1823248453438282 0.19549217500000002 0.025483878
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f31523557b0>