Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.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.001586/0.001586, allocations: 114.4 kB / 19.59 MB, free: 2.281 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.001744/0.001744, allocations: 193.4 kB / 22.85 MB, free: 5.664 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.447/1.447, allocations: 225.6 MB / 251.5 MB, free: 13.07 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.989/0.989, allocations: 149.5 MB / 456.3 MB, free: 1.25 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.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max")
translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 72.84 kB / 0.6324 GB, free: 9.109 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1749, allocations: 87.87 MB / 0.7182 GB, free: 1.16 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.002389/0.1773, allocations: 0.777 MB / 0.719 GB, free: 400 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001274/0.1785, allocations: 0.8701 MB / 0.7198 GB, free: 15.51 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.69e-05/0.1786, allocations: 0 / 0.7198 GB, free: 15.51 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 4.988e-05/0.1787, allocations: 3.938 kB / 0.7198 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 9.49e-05/0.1788, allocations: 15.84 kB / 0.7198 GB, free: 15.49 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.179, allocations: 35.97 kB / 0.7199 GB, free: 15.45 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.000178/0.1791, allocations: 91.8 kB / 0.72 GB, free: 15.36 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.1793, allocations: 16 kB / 0.72 GB, free: 15.35 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1794, allocations: 39.84 kB / 0.72 GB, free: 15.31 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.1795, allocations: 59.81 kB / 0.7201 GB, free: 15.25 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 3.148e-05/0.1795, allocations: 8 kB / 0.7201 GB, free: 15.24 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.922e-05/0.1795, allocations: 8 kB / 0.7201 GB, free: 15.23 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 3.328e-05/0.1796, allocations: 15.92 kB / 0.7201 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 5.454e-05/0.1796, allocations: 43.72 kB / 0.7201 GB, free: 15.18 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.1798, allocations: 91.59 kB / 0.7202 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1798, allocations: 0 / 0.7202 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.503e-06/0.1798, allocations: 0 / 0.7202 GB, free: 15.09 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.242e-06/0.1798, allocations: 0 / 0.7202 GB, free: 15.09 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: 13
 * Number of variables: 13
Notification: Performance of Generate backend data structure: time 0.0007153/0.1805, allocations: 318.1 kB / 0.7205 GB, free: 14.75 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.1806, allocations: 12.62 kB / 0.7205 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.052e-05/0.1806, allocations: 8.891 kB / 0.7206 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.1808, allocations: 114.4 kB / 0.7207 GB, free: 14.59 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.1808, allocations: 8.312 kB / 0.7207 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.1808, allocations: 8.375 kB / 0.7207 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003573/0.1812, allocations: 104.2 kB / 0.7208 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1812, allocations: 0 / 0.7208 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.1812, allocations: 11.94 kB / 0.7208 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1812, allocations: 0 / 0.7208 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.1816, allocations: 99.89 kB / 0.7209 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006163/0.1822, allocations: 311.7 kB / 0.7212 GB, free: 14.01 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000678/0.1829, allocations: 118.6 kB / 0.7213 GB, free: 13.89 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.1831, allocations: 52.81 kB / 0.7213 GB, free: 13.83 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.1831, allocations: 0 / 0.7213 GB, free: 13.83 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.1832, allocations: 34.56 kB / 0.7214 GB, free: 13.79 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=7): time 1.032e-06/0.1832, allocations: 4 kB / 0.7214 GB, free: 13.79 MB / 0.545 GB
Notification: Performance of matching and sorting (n=7): time 0.0007462/0.1839, allocations: 181.5 kB / 0.7216 GB, free: 13.6 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.697e-05/0.184, allocations: 51.41 kB / 0.7216 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1841, allocations: 133.7 kB / 0.7217 GB, free: 13.4 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.1841, allocations: 29.7 kB / 0.7218 GB, free: 13.36 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.1842, allocations: 96.06 kB / 0.7218 GB, free: 13.27 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 3.33e-05/0.1842, allocations: 23.84 kB / 0.7219 GB, free: 13.24 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.418e-05/0.1843, allocations: 21.7 kB / 0.7219 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001497/0.1844, allocations: 318.8 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.1846, allocations: 43.95 kB / 0.7222 GB, free: 12.85 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001935/0.1848, allocations: 47.95 kB / 0.7223 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.1852, allocations: 101.2 kB / 0.7224 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1852, allocations: 0 / 0.7224 GB, free: 12.7 MB / 0.545 GB
Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004639/0.1857, allocations: 145.5 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1857, allocations: 4 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.1857, allocations: 3.984 kB / 0.7225 GB, free: 12.55 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.1857, allocations: 4 kB / 0.7225 GB, free: 12.54 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.1859, allocations: 23.97 kB / 0.7226 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.1859, allocations: 0 / 0.7226 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.186, allocations: 19.86 kB / 0.7226 GB, free: 12.5 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.938e-06/0.186, allocations: 0 / 0.7226 GB, free: 12.5 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: 3 (reaToInt1.y,reaToInt.y,max1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (7):
 * Single equations (assignments): 7
 * 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.0001116/0.1862, allocations: 125.7 kB / 0.7227 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.702e-05/0.1862, allocations: 11.89 kB / 0.7227 GB, free: 12.36 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005528/0.1867, allocations: 153.9 kB / 0.7228 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/0.1868, allocations: 7.984 kB / 0.7229 GB, free: 12.19 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.1868, allocations: 0 / 0.7229 GB, free: 12.19 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.1868, allocations: 7.938 kB / 0.7229 GB, free: 12.18 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.187, allocations: 164.7 kB / 0.723 GB, free: 11.98 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.187, allocations: 0 / 0.723 GB, free: 11.98 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.1871, allocations: 27.97 kB / 0.723 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1871, allocations: 0 / 0.723 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.1872, allocations: 0 / 0.723 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1872, allocations: 0 / 0.723 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1872, allocations: 3.938 kB / 0.7231 GB, free: 11.95 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005182/0.1877, allocations: 243.3 kB / 0.7233 GB, free: 11.69 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.838e-05/0.1877, allocations: 7.953 kB / 0.7233 GB, free: 11.68 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.057e-05/0.1877, allocations: 0 / 0.7233 GB, free: 11.68 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.1879, allocations: 15.97 kB / 0.7233 GB, free: 11.67 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.188, allocations: 23.91 kB / 0.7233 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.188, allocations: 4 kB / 0.7233 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.737e-05/0.188, allocations: 99.27 kB / 0.7234 GB, free: 11.54 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.188, allocations: 0 / 0.7234 GB, free: 11.54 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002383/0.1883, allocations: 12 kB / 0.7234 GB, free: 11.53 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 (max1.y,reaToInt.y,reaToInt1.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 7
 * 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.0001158/0.1884, allocations: 95.25 kB / 0.7235 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0004719/0.1889, allocations: 111.8 kB / 0.7236 GB, free: 11.32 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1889, allocations: 0 / 0.7236 GB, free: 11.32 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002254/0.1891, allocations: 55.95 kB / 0.7237 GB, free: 11.27 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.1894, allocations: 11.98 kB / 0.7237 GB, free: 11.25 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004966/0.1899, allocations: 182.1 kB / 0.7239 GB, free: 11.05 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.1902, allocations: 0.7001 MB / 0.7246 GB, free: 10.32 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 7.388e-05/0.1903, allocations: 11.73 kB / 0.7246 GB, free: 10.31 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.1904, allocations: 23.44 kB / 0.7246 GB, free: 10.29 MB / 0.545 GB
Notification: Performance of SimCode: time 8.51e-07/0.1904, allocations: 0 / 0.7246 GB, free: 10.29 MB / 0.545 GB
Notification: Performance of Templates: time 0.005504/0.1959, allocations: 1.628 MB / 0.7262 GB, free: 8.668 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.858106839470565]
Failed to read output from testmodel.py, exit status != 0:
0.20678506046533585 0.23544096800000003 0.050358133000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f131ca697b0>