Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.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.001255/0.001255, allocations: 113.2 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.001312/0.001312, allocations: 188.6 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.448/1.448, allocations: 225.6 MB / 251.5 MB, free: 13.05 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.9473/0.9473, allocations: 149.5 MB / 456.3 MB, free: 1.293 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.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.IntegerToReal")
translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.IntegerToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.IntegerToReal") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 67.7 kB / 0.6324 GB, free: 9.188 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1877/0.1897, allocations: 87.87 MB / 0.7182 GB, free: 1.234 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.IntegerToReal): time 0.002074/0.1917, allocations: 0.6583 MB / 0.7188 GB, free: 0.582 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001192/0.1929, allocations: 0.839 MB / 0.7196 GB, free: 15.73 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.551e-05/0.193, allocations: 0 / 0.7196 GB, free: 15.73 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 3.284e-05/0.193, allocations: 0 / 0.7196 GB, free: 15.73 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 7.849e-05/0.1931, allocations: 11.94 kB / 0.7197 GB, free: 15.72 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.1933, allocations: 27.89 kB / 0.7197 GB, free: 15.69 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001039/0.1934, allocations: 43.86 kB / 0.7197 GB, free: 15.65 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.1935, allocations: 11.98 kB / 0.7197 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.331e-05/0.1936, allocations: 19.92 kB / 0.7198 GB, free: 15.62 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.205e-05/0.1937, allocations: 27.91 kB / 0.7198 GB, free: 15.59 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.939e-05/0.1937, allocations: 4 kB / 0.7198 GB, free: 15.59 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.548e-05/0.1937, allocations: 4 kB / 0.7198 GB, free: 15.58 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.643e-05/0.1937, allocations: 11.98 kB / 0.7198 GB, free: 15.57 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 4.041e-05/0.1938, allocations: 15.88 kB / 0.7198 GB, free: 15.55 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.1939, allocations: 55.78 kB / 0.7199 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1939, allocations: 0 / 0.7199 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.743e-06/0.1939, allocations: 0 / 0.7199 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.322e-06/0.1939, allocations: 0 / 0.7199 GB, free: 15.5 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.0005575/0.1945, allocations: 270.3 kB / 0.7201 GB, free: 15.2 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1945, allocations: 12.62 kB / 0.7201 GB, free: 15.19 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.1946, allocations: 4.891 kB / 0.7201 GB, free: 15.19 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.1947, allocations: 118.4 kB / 0.7203 GB, free: 15.05 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.286e-05/0.1947, allocations: 4.375 kB / 0.7203 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.041e-05/0.1948, allocations: 4.375 kB / 0.7203 GB, free: 15.04 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.195, allocations: 66.22 kB / 0.7203 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.195, allocations: 192 / 0.7203 GB, free: 14.97 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.643e-05/0.195, allocations: 7.938 kB / 0.7203 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.195, allocations: 0 / 0.7203 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.1953, allocations: 51.94 kB / 0.7204 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004636/0.1957, allocations: 259.8 kB / 0.7206 GB, free: 14.61 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.1959, allocations: 62.58 kB / 0.7207 GB, free: 14.54 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.1961, allocations: 32.88 kB / 0.7207 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.1961, allocations: 0 / 0.7207 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.1961, allocations: 34.56 kB / 0.7208 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1961, allocations: 3.938 kB / 0.7208 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4): time 0.0004641/0.1966, allocations: 113.5 kB / 0.7209 GB, free: 14.34 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.1966, allocations: 51.41 kB / 0.7209 GB, free: 14.28 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.1967, allocations: 105.8 kB / 0.721 GB, free: 14.17 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1968, allocations: 25.7 kB / 0.721 GB, free: 14.14 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 5.971e-05/0.1968, allocations: 92.09 kB / 0.7211 GB, free: 14.04 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.243e-05/0.1968, allocations: 15.88 kB / 0.7211 GB, free: 14.03 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/0.1969, allocations: 17.72 kB / 0.7212 GB, free: 14 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001494/0.197, allocations: 314.8 kB / 0.7215 GB, free: 13.69 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.1972, allocations: 23.97 kB / 0.7215 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.1973, allocations: 23.97 kB / 0.7215 GB, free: 13.64 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002225/0.1975, allocations: 60.75 kB / 0.7216 GB, free: 13.58 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1975, allocations: 0 / 0.7216 GB, free: 13.58 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002732/0.1978, allocations: 85.55 kB / 0.7217 GB, free: 13.49 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1978, allocations: 4 kB / 0.7217 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1978, allocations: 4.25 kB / 0.7217 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1978, allocations: 0 / 0.7217 GB, free: 13.48 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.1979, allocations: 15.98 kB / 0.7217 GB, free: 13.46 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.198, allocations: 3.984 kB / 0.7217 GB, free: 13.46 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.322e-05/0.198, allocations: 8 kB / 0.7217 GB, free: 13.45 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.198, allocations: 4 kB / 0.7217 GB, free: 13.45 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 (reaToInt1.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.377e-05/0.1981, allocations: 117.8 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.1982, allocations: 3.938 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.1982, allocations: 12 kB / 0.7218 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1982, allocations: 0 / 0.7218 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1982, allocations: 0 / 0.7218 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1982, allocations: 0 / 0.7218 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.1984, allocations: 148.7 kB / 0.722 GB, free: 13.11 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1984, allocations: 4 kB / 0.722 GB, free: 13.11 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.99e-05/0.1985, allocations: 15.92 kB / 0.722 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.1985, allocations: 0 / 0.722 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.1985, allocations: 0 / 0.722 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1985, allocations: 0 / 0.722 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1985, allocations: 3.938 kB / 0.722 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000332/0.1988, allocations: 187.4 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.1988, allocations: 8 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.586e-05/0.1989, allocations: 0 / 0.7222 GB, free: 12.88 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.199, allocations: 7.984 kB / 0.7222 GB, free: 12.88 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.199, allocations: 11.98 kB / 0.7222 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.199, allocations: 0 / 0.7222 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.209e-05/0.1991, allocations: 91.27 kB / 0.7223 GB, free: 12.77 MB / 0.545 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.1991, allocations: 0 / 0.7223 GB, free: 12.77 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002262/0.1993, allocations: 4 kB / 0.7223 GB, free: 12.77 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 (reaToInt1.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.0001092/0.1994, allocations: 107.2 kB / 0.7224 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002817/0.1997, allocations: 48.33 kB / 0.7224 GB, free: 12.61 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1997, allocations: 0 / 0.7224 GB, free: 12.61 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.000128/0.1998, allocations: 35.97 kB / 0.7225 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.2001, allocations: 9.297 kB / 0.7225 GB, free: 12.57 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000391/0.2005, allocations: 137.6 kB / 0.7226 GB, free: 12.41 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.2008, allocations: 0.6807 MB / 0.7233 GB, free: 11.7 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 4.394e-05/0.2009, allocations: 3.984 kB / 0.7233 GB, free: 11.7 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.2009, allocations: 19.42 kB / 0.7233 GB, free: 11.68 MB / 0.545 GB
Notification: Performance of SimCode: time 4.91e-07/0.2009, allocations: 0 / 0.7233 GB, free: 11.68 MB / 0.545 GB
Notification: Performance of Templates: time 0.003672/0.2046, allocations: 0.9161 MB / 0.7242 GB, free: 10.77 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.IntegerToReal  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.IntegerToReal.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.525436809286475]
Failed to read output from testmodel.py, exit status != 0:
0.21354278270155191 0.22925915600000002 0.032016508
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f92df59d7b0>