Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001594/0.001594, allocations: 114.6 kB / 19.59 MB, free: 2.301 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.001353/0.001353, allocations: 191.1 kB / 22.85 MB, free: 5.648 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.444/1.444, allocations: 225.6 MB / 251.5 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.9792/0.9792, allocations: 149.5 MB / 456.3 MB, free: 1.312 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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger")
translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 71.81 kB / 0.6324 GB, free: 9.203 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1976/0.1996, allocations: 87.87 MB / 0.7182 GB, free: 1.254 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002008/0.2016, allocations: 0.6243 MB / 0.7188 GB, free: 0.6367 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001063/0.2027, allocations: 0.8278 MB / 0.7196 GB, free: 15.8 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.452e-05/0.2027, allocations: 4 kB / 0.7196 GB, free: 15.79 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 2.573e-05/0.2028, allocations: 0 / 0.7196 GB, free: 15.79 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 5.476e-05/0.2028, allocations: 3.938 kB / 0.7196 GB, free: 15.79 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.2029, allocations: 15.92 kB / 0.7196 GB, free: 15.77 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 7.153e-05/0.203, allocations: 23.98 kB / 0.7196 GB, free: 15.75 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.2031, allocations: 8 kB / 0.7197 GB, free: 15.74 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 6.322e-05/0.2032, allocations: 15.91 kB / 0.7197 GB, free: 15.73 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.2032, allocations: 11.98 kB / 0.7197 GB, free: 15.71 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.396e-05/0.2033, allocations: 3.938 kB / 0.7197 GB, free: 15.71 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.2033, allocations: 7.938 kB / 0.7197 GB, free: 15.7 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.2033, allocations: 4 kB / 0.7197 GB, free: 15.7 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.2033, allocations: 15.94 kB / 0.7197 GB, free: 15.68 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 8.942e-05/0.2034, allocations: 23.94 kB / 0.7197 GB, free: 15.66 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2034, allocations: 0 / 0.7197 GB, free: 15.66 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.403e-06/0.2034, allocations: 0 / 0.7197 GB, free: 15.66 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.36e-06/0.2034, allocations: 0 / 0.7197 GB, free: 15.66 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: 3
 * Number of variables: 3
Notification: Performance of Generate backend data structure: time 0.0005281/0.2039, allocations: 258.4 kB / 0.72 GB, free: 15.38 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.204, allocations: 8.625 kB / 0.72 GB, free: 15.37 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.651e-05/0.204, allocations: 4.891 kB / 0.72 GB, free: 15.36 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.2041, allocations: 106.5 kB / 0.7201 GB, free: 15.23 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.2042, allocations: 8.375 kB / 0.7201 GB, free: 15.23 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.847e-06/0.2042, allocations: 4.312 kB / 0.7201 GB, free: 15.22 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.2044, allocations: 54.23 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2044, allocations: 4.172 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/0.2044, allocations: 3.938 kB / 0.7202 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2044, allocations: 0 / 0.7202 GB, free: 15.16 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.2046, allocations: 35.91 kB / 0.7202 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/0.2049, allocations: 224 kB / 0.7204 GB, free: 14.86 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001544/0.2051, allocations: 42.48 kB / 0.7205 GB, free: 14.81 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/0.2052, allocations: 20.91 kB / 0.7205 GB, free: 14.79 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/0.2052, allocations: 0 / 0.7205 GB, free: 14.79 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.2052, allocations: 38.56 kB / 0.7205 GB, free: 14.74 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2052, allocations: 0 / 0.7205 GB, free: 14.74 MB / 0.545 GB
Notification: Performance of matching and sorting (n=2): time 0.0003928/0.2056, allocations: 93.53 kB / 0.7206 GB, free: 14.64 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.061e-05/0.2057, allocations: 55.34 kB / 0.7207 GB, free: 14.57 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.2e-05/0.2058, allocations: 97.84 kB / 0.7207 GB, free: 14.47 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.2058, allocations: 25.7 kB / 0.7208 GB, free: 14.44 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.069e-05/0.2058, allocations: 92.2 kB / 0.7209 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.2059, allocations: 7.953 kB / 0.7209 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.624e-05/0.2059, allocations: 13.7 kB / 0.7209 GB, free: 14.32 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001439/0.206, allocations: 314.8 kB / 0.7212 GB, free: 14 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.13e-05/0.2061, allocations: 19.98 kB / 0.7212 GB, free: 13.98 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.65e-05/0.2062, allocations: 19.97 kB / 0.7212 GB, free: 13.96 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.2064, allocations: 44.83 kB / 0.7213 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2064, allocations: 0 / 0.7213 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002187/0.2066, allocations: 77.59 kB / 0.7213 GB, free: 13.83 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.2066, allocations: 4 kB / 0.7213 GB, free: 13.83 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.2066, allocations: 0 / 0.7213 GB, free: 13.83 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2066, allocations: 0 / 0.7213 GB, free: 13.83 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.2068, allocations: 16.02 kB / 0.7214 GB, free: 13.81 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2068, allocations: 0 / 0.7214 GB, free: 13.81 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.725e-05/0.2068, allocations: 7.984 kB / 0.7214 GB, free: 13.8 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2068, allocations: 0 / 0.7214 GB, free: 13.8 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: 1 (reaToInt.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (2):
 * Single equations (assignments): 2
 * 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.065e-05/0.2069, allocations: 109.8 kB / 0.7215 GB, free: 13.69 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.2069, allocations: 4.188 kB / 0.7215 GB, free: 13.68 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.972e-05/0.207, allocations: 7.312 kB / 0.7215 GB, free: 13.68 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.207, allocations: 3.984 kB / 0.7215 GB, free: 13.67 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.207, allocations: 3.938 kB / 0.7215 GB, free: 13.67 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.207, allocations: 7.984 kB / 0.7215 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.2071, allocations: 136.6 kB / 0.7216 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.2071, allocations: 0 / 0.7216 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.199e-05/0.2072, allocations: 7.984 kB / 0.7216 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.532e-06/0.2072, allocations: 0 / 0.7216 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2072, allocations: 0 / 0.7216 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2072, allocations: 4 kB / 0.7216 GB, free: 13.47 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2072, allocations: 0 / 0.7216 GB, free: 13.47 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.2075, allocations: 167.5 kB / 0.7218 GB, free: 13.29 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.928e-06/0.2075, allocations: 7.938 kB / 0.7218 GB, free: 13.29 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.291e-05/0.2075, allocations: 0 / 0.7218 GB, free: 13.29 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.2076, allocations: 4 kB / 0.7218 GB, free: 13.28 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.536e-05/0.2077, allocations: 11.98 kB / 0.7218 GB, free: 13.27 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.2077, allocations: 0 / 0.7218 GB, free: 13.27 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 4.399e-05/0.2077, allocations: 79.28 kB / 0.7219 GB, free: 13.19 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.2077, allocations: 4.031 kB / 0.7219 GB, free: 13.19 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002123/0.2079, allocations: 4 kB / 0.7219 GB, free: 13.18 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: 1 (reaToInt.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (2):
 * Single equations (assignments): 2
 * 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.0001154/0.2081, allocations: 111.2 kB / 0.722 GB, free: 13.06 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002373/0.2083, allocations: 35.91 kB / 0.722 GB, free: 13.03 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2083, allocations: 0 / 0.722 GB, free: 13.03 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.2084, allocations: 32.03 kB / 0.7221 GB, free: 13 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.2087, allocations: 3.938 kB / 0.7221 GB, free: 12.99 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.209, allocations: 101.5 kB / 0.7222 GB, free: 12.87 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.2093, allocations: 0.6768 MB / 0.7228 GB, free: 12.16 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 2.943e-05/0.2094, allocations: 4 kB / 0.7228 GB, free: 12.16 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.531e-05/0.2094, allocations: 15.44 kB / 0.7229 GB, free: 12.14 MB / 0.545 GB
Notification: Performance of SimCode: time 3.2e-07/0.2094, allocations: 4 kB / 0.7229 GB, free: 12.14 MB / 0.545 GB
Notification: Performance of Templates: time 0.003187/0.2126, allocations: 0.6105 MB / 0.7235 GB, free: 11.54 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.561353734694421]
Failed to read output from testmodel.py, exit status != 0:
0.2209179913625121 0.235604064 0.029171093000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7efc45c517b0>