Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.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.001449/0.001449, allocations: 110.2 kB / 19.59 MB, free: 2.277 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.001493/0.001493, allocations: 192.8 kB / 22.85 MB, free: 5.66 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.378/1.378, allocations: 225.6 MB / 251.5 MB, free: 13.02 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.9087/0.9087, allocations: 149.5 MB / 456.3 MB, free: 1.277 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.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add")
translateModel(IBPSA.Controls.OBC.CDL.Reals.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 72.62 kB / 0.6324 GB, free: 9.098 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.1656, allocations: 87.87 MB / 0.7182 GB, free: 1.152 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.Add): time 0.002062/0.1676, allocations: 0.7022 MB / 0.7189 GB, free: 464 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001032/0.1687, allocations: 0.8045 MB / 0.7197 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.255e-05/0.1687, allocations: 0 / 0.7197 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.685e-05/0.1687, allocations: 3.938 kB / 0.7197 GB, free: 15.63 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 7.088e-05/0.1688, allocations: 3.938 kB / 0.7197 GB, free: 15.63 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 6.634e-05/0.1689, allocations: 19.92 kB / 0.7197 GB, free: 15.61 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 9.704e-05/0.169, allocations: 43.84 kB / 0.7198 GB, free: 15.57 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1691, allocations: 8 kB / 0.7198 GB, free: 15.56 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.681e-05/0.1692, allocations: 19.92 kB / 0.7198 GB, free: 15.54 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 5.049e-05/0.1692, allocations: 23.92 kB / 0.7198 GB, free: 15.52 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1692, allocations: 4 kB / 0.7198 GB, free: 15.51 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 9.067e-06/0.1692, allocations: 4 kB / 0.7198 GB, free: 15.51 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.1693, allocations: 11.97 kB / 0.7199 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 3.952e-05/0.1693, allocations: 19.88 kB / 0.7199 GB, free: 15.48 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 9.189e-05/0.1694, allocations: 35.88 kB / 0.7199 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1694, allocations: 0 / 0.7199 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.713e-06/0.1694, allocations: 0 / 0.7199 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.102e-05/0.1694, allocations: 0 / 0.7199 GB, free: 15.44 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.0005052/0.1699, allocations: 290.2 kB / 0.7202 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.17, allocations: 8.625 kB / 0.7202 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.17, allocations: 12.89 kB / 0.7202 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001138/0.1701, allocations: 114.4 kB / 0.7203 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1701, allocations: 4.312 kB / 0.7203 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1701, allocations: 384 / 0.7203 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.1704, allocations: 70.22 kB / 0.7204 GB, free: 14.89 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.1704, allocations: 4.188 kB / 0.7204 GB, free: 14.89 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1704, allocations: 3.938 kB / 0.7204 GB, free: 14.88 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1704, allocations: 0 / 0.7204 GB, free: 14.88 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002632/0.1707, allocations: 63.92 kB / 0.7205 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.171, allocations: 236 kB / 0.7207 GB, free: 14.55 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.1713, allocations: 62.47 kB / 0.7207 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.1714, allocations: 44.91 kB / 0.7208 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.1714, allocations: 0 / 0.7208 GB, free: 14.43 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/0.1715, allocations: 30.56 kB / 0.7208 GB, free: 14.39 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=3): time 8.41e-07/0.1715, allocations: 3.938 kB / 0.7208 GB, free: 14.39 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3): time 0.0005158/0.172, allocations: 133.5 kB / 0.7209 GB, free: 14.25 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.172, allocations: 51.41 kB / 0.721 GB, free: 14.19 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.621e-05/0.1721, allocations: 113.8 kB / 0.7211 GB, free: 14.07 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1721, allocations: 25.7 kB / 0.7211 GB, free: 14.04 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/0.1722, allocations: 92.09 kB / 0.7212 GB, free: 13.94 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1722, allocations: 15.89 kB / 0.7212 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.1722, allocations: 13.7 kB / 0.7212 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001296/0.1724, allocations: 314.8 kB / 0.7215 GB, free: 13.59 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.1725, allocations: 27.97 kB / 0.7216 GB, free: 13.56 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.1726, allocations: 39.95 kB / 0.7216 GB, free: 13.52 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.1729, allocations: 64.78 kB / 0.7217 GB, free: 13.46 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.1729, allocations: 3.938 kB / 0.7217 GB, free: 13.45 MB / 0.545 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002938/0.1732, allocations: 105.5 kB / 0.7218 GB, free: 13.34 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.1732, allocations: 8 kB / 0.7218 GB, free: 13.34 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1732, allocations: 4 kB / 0.7218 GB, free: 13.33 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1732, allocations: 0 / 0.7218 GB, free: 13.33 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001247/0.1733, allocations: 11.98 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.1733, allocations: 0 / 0.7218 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.321e-05/0.1734, allocations: 15.97 kB / 0.7218 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.1734, allocations: 0 / 0.7218 GB, free: 13.3 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 (3):
 * Single equations (assignments): 3
 * 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 8.313e-05/0.1735, allocations: 117.8 kB / 0.7219 GB, free: 13.18 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.1735, allocations: 0 / 0.7219 GB, free: 13.18 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.692e-05/0.1736, allocations: 12 kB / 0.7219 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1736, allocations: 0 / 0.7219 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1736, allocations: 4 kB / 0.7219 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1736, allocations: 0 / 0.7219 GB, free: 13.16 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001684/0.1737, allocations: 144.7 kB / 0.7221 GB, free: 12.97 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1737, allocations: 0 / 0.7221 GB, free: 12.97 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.325e-05/0.1738, allocations: 15.98 kB / 0.7221 GB, free: 12.96 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.1738, allocations: 3.938 kB / 0.7221 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.1738, allocations: 7.938 kB / 0.7221 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1738, allocations: 0 / 0.7221 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1738, allocations: 0 / 0.7221 GB, free: 12.95 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.1742, allocations: 199.4 kB / 0.7223 GB, free: 12.73 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.1742, allocations: 4 kB / 0.7223 GB, free: 12.73 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.1742, allocations: 8.312 kB / 0.7223 GB, free: 12.72 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1743, allocations: 11.98 kB / 0.7223 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.1744, allocations: 3.984 kB / 0.7223 GB, free: 12.71 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.1744, allocations: 4 kB / 0.7223 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 4.733e-05/0.1744, allocations: 83.28 kB / 0.7224 GB, free: 12.62 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.1744, allocations: 0 / 0.7224 GB, free: 12.62 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002113/0.1746, allocations: 8 kB / 0.7224 GB, free: 12.61 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 (3):
 * Single equations (assignments): 3
 * 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.0001122/0.1747, allocations: 99.25 kB / 0.7225 GB, free: 12.51 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0003294/0.1751, allocations: 75.83 kB / 0.7226 GB, free: 12.43 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1751, allocations: 0 / 0.7226 GB, free: 12.43 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.1752, allocations: 31.97 kB / 0.7226 GB, free: 12.4 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002886/0.1755, allocations: 12.48 kB / 0.7226 GB, free: 12.39 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.1758, allocations: 129.5 kB / 0.7227 GB, free: 12.24 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.1761, allocations: 0.6807 MB / 0.7234 GB, free: 11.53 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 2.775e-05/0.1761, allocations: 0 / 0.7234 GB, free: 11.53 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.983e-05/0.1761, allocations: 7.438 kB / 0.7234 GB, free: 11.52 MB / 0.545 GB
Notification: Performance of SimCode: time 3.6e-07/0.1761, allocations: 4 kB / 0.7234 GB, free: 11.52 MB / 0.545 GB
Notification: Performance of Templates: time 0.002905/0.179, allocations: 0.6963 MB / 0.7241 GB, free: 10.84 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.Add.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.315544958226383]
Failed to read output from testmodel.py, exit status != 0:
0.18693661224097013 0.20094001 0.028647370000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f41e73ad7b0>