Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001397/0.001397, allocations: 114.6 kB / 19.69 MB, free: 2.199 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.001483/0.001483, allocations: 190.9 kB / 22.98 MB, free: 5.062 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.502/1.502, allocations: 225.6 MB / 251.8 MB, free: 13 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 1.034/1.034, allocations: 149.6 MB / 456.6 MB, free: 1.184 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.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal")
translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 63.98 kB / 0.6329 GB, free: 8.957 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1814, allocations: 87.87 MB / 0.7187 GB, free: 0.9922 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002365/0.1837, allocations: 0.8545 MB / 0.7195 GB, free: 144 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.002072/0.1858, allocations: 1.31 MB / 0.7208 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.388e-05/0.1859, allocations: 0 / 0.7208 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.000137/0.186, allocations: 15.81 kB / 0.7208 GB, free: 14.8 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.000107/0.1861, allocations: 39.7 kB / 0.7208 GB, free: 14.76 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008671/0.187, allocations: 261.5 kB / 0.7211 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.000422/0.1874, allocations: 327.5 kB / 0.7214 GB, free: 14.19 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001626/0.1876, allocations: 41.64 kB / 0.7214 GB, free: 14.15 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001914/0.1878, allocations: 131.7 kB / 0.7216 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.188, allocations: 119.5 kB / 0.7217 GB, free: 13.9 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 6.887e-05/0.188, allocations: 28 kB / 0.7217 GB, free: 13.88 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001306/0.1882, allocations: 55.91 kB / 0.7218 GB, free: 13.82 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 9.26e-05/0.1882, allocations: 51.83 kB / 0.7218 GB, free: 13.77 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.1884, allocations: 111.5 kB / 0.7219 GB, free: 13.66 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0004984/0.1889, allocations: 350.7 kB / 0.7222 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1889, allocations: 0 / 0.7222 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.813e-06/0.1889, allocations: 0 / 0.7222 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 7.965e-06/0.1889, allocations: 0 / 0.7222 GB, free: 13.32 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: 26
 * Number of variables: 26
Notification: Performance of Generate backend data structure: time 0.0009532/0.1899, allocations: 488.7 kB / 0.7227 GB, free: 12.79 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.1899, allocations: 12.62 kB / 0.7227 GB, free: 12.78 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.19, allocations: 28.8 kB / 0.7227 GB, free: 12.75 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007621/0.1908, allocations: 242 kB / 0.723 GB, free: 12.49 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.959e-05/0.1908, allocations: 12.38 kB / 0.723 GB, free: 12.48 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.083e-05/0.1909, allocations: 20.38 kB / 0.723 GB, free: 12.46 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002798/0.1912, allocations: 149.6 kB / 0.7232 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1912, allocations: 7.938 kB / 0.7232 GB, free: 12.29 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.1912, allocations: 7.922 kB / 0.7232 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1912, allocations: 4 kB / 0.7232 GB, free: 12.28 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001406/0.1913, allocations: 63.91 kB / 0.7232 GB, free: 12.21 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009299/0.1923, allocations: 0.7265 MB / 0.7239 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.1924, allocations: 57.14 kB / 0.724 GB, free: 11.36 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 5.291e-05/0.1924, allocations: 25.77 kB / 0.724 GB, free: 11.33 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.1924, allocations: 0 / 0.724 GB, free: 11.33 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.1926, allocations: 101 kB / 0.7241 GB, free: 11.21 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=8): time 1.402e-06/0.1926, allocations: 0 / 0.7241 GB, free: 11.21 MB / 0.545 GB
Notification: Performance of matching and sorting (n=8): time 0.0003473/0.193, allocations: 125.5 kB / 0.7242 GB, free: 11.08 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.074e-05/0.1931, allocations: 85.09 kB / 0.7243 GB, free: 10.98 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.1933, allocations: 215.8 kB / 0.7245 GB, free: 10.76 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 4.322e-05/0.1934, allocations: 29.7 kB / 0.7246 GB, free: 10.72 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.1935, allocations: 148.2 kB / 0.7247 GB, free: 10.57 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.1935, allocations: 15.89 kB / 0.7247 GB, free: 10.56 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.1937, allocations: 65.67 kB / 0.7248 GB, free: 10.49 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001647/0.1938, allocations: 326.8 kB / 0.7251 GB, free: 10.16 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001603/0.194, allocations: 67.95 kB / 0.7251 GB, free: 10.09 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.1942, allocations: 136.5 kB / 0.7253 GB, free: 9.93 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/0.1945, allocations: 198.1 kB / 0.7255 GB, free: 9.699 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.1945, allocations: 4 kB / 0.7255 GB, free: 9.695 MB / 0.545 GB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005383/0.195, allocations: 292.8 kB / 0.7258 GB, free: 9.391 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 6.064e-05/0.1951, allocations: 69.2 kB / 0.7258 GB, free: 9.312 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.1951, allocations: 4.469 kB / 0.7258 GB, free: 9.309 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1951, allocations: 192 / 0.7258 GB, free: 9.309 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.556e-05/0.1952, allocations: 19.92 kB / 0.7258 GB, free: 9.289 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1952, allocations: 7.984 kB / 0.7258 GB, free: 9.281 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.1956, allocations: 71.81 kB / 0.7259 GB, free: 9.211 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.1957, allocations: 16 kB / 0.7259 GB, free: 9.195 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 8
 * Number of states: 0 ()
 * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (12):
 * Single equations (assignments): 10
 * Array equations: 0
 * Algorithm blocks: 2
 * 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.0001816/0.1958, allocations: 162.3 kB / 0.7261 GB, free: 9.031 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/0.1959, allocations: 19.89 kB / 0.7261 GB, free: 9.012 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.664e-05/0.1959, allocations: 17.03 kB / 0.7261 GB, free: 8.992 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.1959, allocations: 3.938 kB / 0.7261 GB, free: 8.988 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1959, allocations: 0 / 0.7261 GB, free: 8.988 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1959, allocations: 0 / 0.7261 GB, free: 8.988 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.1962, allocations: 208.6 kB / 0.7263 GB, free: 8.742 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1962, allocations: 0 / 0.7263 GB, free: 8.742 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.87e-05/0.1962, allocations: 7.984 kB / 0.7263 GB, free: 8.734 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.1962, allocations: 0 / 0.7263 GB, free: 8.734 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1962, allocations: 0 / 0.7263 GB, free: 8.734 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1962, allocations: 8 kB / 0.7263 GB, free: 8.727 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1962, allocations: 0 / 0.7263 GB, free: 8.727 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.1964, allocations: 141.7 kB / 0.7265 GB, free: 8.566 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.1965, allocations: 15.86 kB / 0.7265 GB, free: 8.551 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1965, allocations: 3.984 kB / 0.7265 GB, free: 8.547 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.096e-05/0.1965, allocations: 0 / 0.7265 GB, free: 8.547 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.257e-05/0.1966, allocations: 11.98 kB / 0.7265 GB, free: 8.535 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1966, allocations: 8 kB / 0.7265 GB, free: 8.527 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0001319/0.1967, allocations: 144.2 kB / 0.7267 GB, free: 8.387 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.1967, allocations: 0 / 0.7267 GB, free: 8.387 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002867/0.197, allocations: 43.94 kB / 0.7267 GB, free: 8.344 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 0 ()
 * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (8):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.0001792/0.1972, allocations: 107.2 kB / 0.7268 GB, free: 8.227 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0004165/0.1976, allocations: 234.9 kB / 0.727 GB, free: 7.973 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1976, allocations: 4.062 kB / 0.727 GB, free: 7.969 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 5.921e-05/0.1976, allocations: 23.98 kB / 0.727 GB, free: 7.945 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.198, allocations: 39.84 kB / 0.7271 GB, free: 7.906 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005583/0.1985, allocations: 304.7 kB / 0.7274 GB, free: 7.582 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003887/0.1989, allocations: 0.732 MB / 0.7281 GB, free: 6.824 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 6.961e-05/0.199, allocations: 17.48 kB / 0.7281 GB, free: 6.809 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.992e-05/0.199, allocations: 15.44 kB / 0.7281 GB, free: 6.793 MB / 0.545 GB
Notification: Performance of SimCode: time 3.8e-07/0.199, allocations: 4 kB / 0.7281 GB, free: 6.789 MB / 0.545 GB
Notification: Performance of Templates: time 0.006524/0.2055, allocations: 2.591 MB / 0.7307 GB, free: 4.238 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.934264515526593]
Failed to read output from testmodel.py, exit status != 0:
0.21436425298452377 0.229292398 0.037062621000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc4adb857b0>