Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001531/0.001531, allocations: 104 kB / 20.33 MB, free: 1.59 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.001846/0.001846, allocations: 194 kB / 23.6 MB, free: 4.977 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.482/1.482, allocations: 225.6 MB / 252.3 MB, free: 13.06 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.9728/0.9728, allocations: 149.5 MB / 457.1 MB, free: 1.309 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.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold")
translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 69.58 kB / 0.6331 GB, free: 9.172 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1752, allocations: 87.87 MB / 0.719 GB, free: 1.223 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002027/0.1772, allocations: 0.7005 MB / 0.7196 GB, free: 0.5234 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.0009896/0.1782, allocations: 0.8429 MB / 0.7205 GB, free: 15.67 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.92e-05/0.1783, allocations: 0 / 0.7205 GB, free: 15.67 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.475e-05/0.1783, allocations: 3.938 kB / 0.7205 GB, free: 15.66 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 7.431e-05/0.1784, allocations: 7.938 kB / 0.7205 GB, free: 15.66 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001342/0.1785, allocations: 27.86 kB / 0.7205 GB, free: 15.63 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 8.586e-05/0.1786, allocations: 39.91 kB / 0.7205 GB, free: 15.59 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.1787, allocations: 15.97 kB / 0.7206 GB, free: 15.57 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.988e-05/0.1788, allocations: 23.88 kB / 0.7206 GB, free: 15.55 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.719e-05/0.1788, allocations: 31.91 kB / 0.7206 GB, free: 15.52 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1788, allocations: 4 kB / 0.7206 GB, free: 15.52 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.1789, allocations: 4 kB / 0.7206 GB, free: 15.51 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 1.869e-05/0.1789, allocations: 7.984 kB / 0.7206 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.1789, allocations: 23.86 kB / 0.7206 GB, free: 15.48 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 9.936e-05/0.179, allocations: 39.86 kB / 0.7207 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.179, allocations: 4 kB / 0.7207 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.522e-06/0.179, allocations: 0 / 0.7207 GB, free: 15.44 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 9.478e-06/0.179, allocations: 0 / 0.7207 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: 7
 * Number of variables: 7
Notification: Performance of Generate backend data structure: time 0.0005202/0.1795, allocations: 286.2 kB / 0.721 GB, free: 15.13 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.1796, allocations: 8.625 kB / 0.721 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.287e-05/0.1796, allocations: 8.891 kB / 0.721 GB, free: 15.11 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1797, allocations: 110.5 kB / 0.7211 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.1798, allocations: 8.312 kB / 0.7211 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.1798, allocations: 4.375 kB / 0.7211 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.18, allocations: 69.53 kB / 0.7212 GB, free: 14.89 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.18, allocations: 0 / 0.7212 GB, free: 14.89 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.18, allocations: 0 / 0.7212 GB, free: 14.89 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.18, allocations: 4 kB / 0.7212 GB, free: 14.89 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.1802, allocations: 51.94 kB / 0.7212 GB, free: 14.84 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.1806, allocations: 263.8 kB / 0.7215 GB, free: 14.54 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.1808, allocations: 62.58 kB / 0.7215 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001086/0.181, allocations: 28.88 kB / 0.7216 GB, free: 14.44 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.181, allocations: 0 / 0.7216 GB, free: 14.44 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.83e-05/0.181, allocations: 38.56 kB / 0.7216 GB, free: 14.39 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=4): time 6.321e-06/0.181, allocations: 3.984 kB / 0.7216 GB, free: 14.39 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4): time 0.0004137/0.1814, allocations: 101.6 kB / 0.7217 GB, free: 14.28 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1815, allocations: 59.39 kB / 0.7217 GB, free: 14.21 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.509e-05/0.1816, allocations: 117.8 kB / 0.7219 GB, free: 14.09 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.1816, allocations: 25.7 kB / 0.7219 GB, free: 14.05 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.415e-05/0.1816, allocations: 92.2 kB / 0.722 GB, free: 13.96 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.85e-05/0.1817, allocations: 7.891 kB / 0.722 GB, free: 13.95 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/0.1817, allocations: 21.7 kB / 0.722 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001322/0.1818, allocations: 314.8 kB / 0.7223 GB, free: 13.61 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001094/0.1819, allocations: 23.97 kB / 0.7223 GB, free: 13.59 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 9.206e-05/0.182, allocations: 27.98 kB / 0.7223 GB, free: 13.56 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001911/0.1822, allocations: 52.81 kB / 0.7224 GB, free: 13.5 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.1822, allocations: 4 kB / 0.7224 GB, free: 13.5 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002474/0.1825, allocations: 93.47 kB / 0.7225 GB, free: 13.4 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1825, allocations: 4 kB / 0.7225 GB, free: 13.4 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.1825, allocations: 0 / 0.7225 GB, free: 13.4 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1825, allocations: 4 kB / 0.7225 GB, free: 13.39 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.1826, allocations: 11.98 kB / 0.7225 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.1826, allocations: 4 kB / 0.7225 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.306e-05/0.1827, allocations: 7.984 kB / 0.7225 GB, free: 13.37 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1827, allocations: 0 / 0.7225 GB, free: 13.37 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: 2 (reaToInt.y,intLesThr.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (4):
 * Single equations (assignments): 4
 * 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 9.069e-05/0.1828, allocations: 117.8 kB / 0.7226 GB, free: 13.25 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.1828, allocations: 3.953 kB / 0.7226 GB, free: 13.24 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.665e-05/0.1829, allocations: 15.94 kB / 0.7227 GB, free: 13.22 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1829, allocations: 4 kB / 0.7227 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1829, allocations: 0 / 0.7227 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.1829, allocations: 3.984 kB / 0.7227 GB, free: 13.21 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001782/0.183, allocations: 144.7 kB / 0.7228 GB, free: 13.03 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.183, allocations: 0 / 0.7228 GB, free: 13.03 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.601e-05/0.1831, allocations: 11.98 kB / 0.7228 GB, free: 13.02 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1831, allocations: 0 / 0.7228 GB, free: 13.02 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1831, allocations: 3.938 kB / 0.7228 GB, free: 13.01 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.1831, allocations: 3.984 kB / 0.7228 GB, free: 13.01 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1831, allocations: 0 / 0.7228 GB, free: 13.01 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002943/0.1834, allocations: 183.4 kB / 0.723 GB, free: 12.81 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.1835, allocations: 11.95 kB / 0.723 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.1835, allocations: 0 / 0.723 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1836, allocations: 7.984 kB / 0.723 GB, free: 12.79 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.132e-05/0.1836, allocations: 11.98 kB / 0.723 GB, free: 12.78 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.61e-06/0.1836, allocations: 384 / 0.723 GB, free: 12.78 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 5.605e-05/0.1837, allocations: 91.28 kB / 0.7231 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of sort global known variables: time 7e-08/0.1837, allocations: 0 / 0.7231 GB, free: 12.69 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002193/0.1839, allocations: 11.94 kB / 0.7231 GB, free: 12.68 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: 2 (intLesThr.y,reaToInt.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): 4
 * 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.0001094/0.184, allocations: 95.23 kB / 0.7232 GB, free: 12.58 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002645/0.1843, allocations: 59.88 kB / 0.7233 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 4.157e-06/0.1843, allocations: 4 kB / 0.7233 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.1844, allocations: 31.97 kB / 0.7233 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.1847, allocations: 4 kB / 0.7233 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.185, allocations: 137.4 kB / 0.7234 GB, free: 12.32 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.1853, allocations: 0.6807 MB / 0.7241 GB, free: 11.61 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 5.695e-05/0.1854, allocations: 8 kB / 0.7241 GB, free: 11.61 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.812e-05/0.1854, allocations: 19.36 kB / 0.7241 GB, free: 11.59 MB / 0.545 GB
Notification: Performance of SimCode: time 2.91e-07/0.1854, allocations: 0 / 0.7241 GB, free: 11.59 MB / 0.545 GB
Notification: Performance of Templates: time 0.003312/0.1887, allocations: 0.9044 MB / 0.725 GB, free: 10.7 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold  -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.614877658998012]
Failed to read output from testmodel.py, exit status != 0:
0.19693021700368263 0.22193621300000002 0.037606972
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4ae0c39810>