Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.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.001712/0.001712, allocations: 118.8 kB / 19.7 MB, free: 2.031 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.002056/0.002056, allocations: 188.7 kB / 22.97 MB, free: 4.922 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.489/1.489, 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 0.9611/0.9611, allocations: 149.6 MB / 456.6 MB, free: 1.199 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.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor")
translateModel(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.003459/0.003459, allocations: 62.86 kB / 0.6328 GB, free: 8.988 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2195, allocations: 87.87 MB / 0.7187 GB, free: 1.039 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor): time 0.00252/0.222, allocations: 1.142 MB / 0.7198 GB, free: 15.89 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.002276/0.2243, allocations: 1.525 MB / 0.7213 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 8.971e-05/0.2244, allocations: 4 kB / 0.7213 GB, free: 14.36 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2245, allocations: 31.61 kB / 0.7213 GB, free: 14.32 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001266/0.2246, allocations: 67.45 kB / 0.7214 GB, free: 14.26 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.2258, allocations: 491 kB / 0.7218 GB, free: 13.79 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0006664/0.2264, allocations: 0.5894 MB / 0.7224 GB, free: 13.2 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002414/0.2267, allocations: 104.9 kB / 0.7225 GB, free: 13.09 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000258/0.2269, allocations: 239.4 kB / 0.7227 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003109/0.2272, allocations: 211.3 kB / 0.7229 GB, free: 12.65 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 9.77e-05/0.2273, allocations: 60 kB / 0.723 GB, free: 12.59 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.2275, allocations: 79.97 kB / 0.7231 GB, free: 12.52 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.2276, allocations: 75.66 kB / 0.7231 GB, free: 12.44 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002606/0.2279, allocations: 223.1 kB / 0.7234 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007158/0.2286, allocations: 0.6268 MB / 0.724 GB, free: 11.59 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2286, allocations: 0 / 0.724 GB, free: 11.59 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.864e-06/0.2286, allocations: 0 / 0.724 GB, free: 11.59 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 8.637e-06/0.2286, allocations: 0 / 0.724 GB, free: 11.59 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: 51
 * Number of variables: 51
Notification: Performance of Generate backend data structure: time 0.001048/0.2296, allocations: 0.6833 MB / 0.7246 GB, free: 10.85 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.2297, allocations: 8.625 kB / 0.7246 GB, free: 10.84 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.2298, allocations: 44.75 kB / 0.7247 GB, free: 10.8 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.2309, allocations: 349.8 kB / 0.725 GB, free: 10.44 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.923e-05/0.2309, allocations: 24.81 kB / 0.725 GB, free: 10.41 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.977e-05/0.231, allocations: 32.38 kB / 0.7251 GB, free: 10.38 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.2315, allocations: 251.8 kB / 0.7253 GB, free: 10.13 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.2315, allocations: 3.938 kB / 0.7253 GB, free: 10.13 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.782e-05/0.2315, allocations: 12 kB / 0.7253 GB, free: 10.12 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.2315, allocations: 4 kB / 0.7253 GB, free: 10.11 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002791/0.2318, allocations: 157.6 kB / 0.7255 GB, free: 9.957 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.2332, allocations: 0.8246 MB / 0.7263 GB, free: 9.09 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003406/0.2335, allocations: 202.8 kB / 0.7265 GB, free: 8.883 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00029/0.2338, allocations: 196.7 kB / 0.7267 GB, free: 8.688 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.277e-05/0.2338, allocations: 4 kB / 0.7267 GB, free: 8.684 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000376/0.2342, allocations: 249.7 kB / 0.7269 GB, free: 8.418 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.2342, allocations: 0 / 0.7269 GB, free: 8.418 MB / 0.545 GB
Notification: Performance of matching and sorting (n=28): time 0.0007351/0.2349, allocations: 437 kB / 0.7273 GB, free: 7.988 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.751e-05/0.235, allocations: 114.7 kB / 0.7274 GB, free: 7.852 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.2354, allocations: 324.4 kB / 0.7277 GB, free: 7.527 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 7.326e-05/0.2355, allocations: 37.7 kB / 0.7278 GB, free: 7.484 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.2356, allocations: 180.8 kB / 0.728 GB, free: 7.305 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.2357, allocations: 75.41 kB / 0.728 GB, free: 7.23 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/0.2359, allocations: 138 kB / 0.7282 GB, free: 7.086 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001856/0.2361, allocations: 338.8 kB / 0.7285 GB, free: 6.746 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/0.2365, allocations: 216.7 kB / 0.7287 GB, free: 6.535 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000498/0.237, allocations: 321 kB / 0.729 GB, free: 6.168 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007179/0.2377, allocations: 0.5233 MB / 0.7295 GB, free: 5.574 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.2377, allocations: 0 / 0.7295 GB, free: 5.574 MB / 0.545 GB
Notification: Performance of matching and sorting (n=53) (initialization): time 0.001309/0.2391, allocations: 0.756 MB / 0.7302 GB, free: 4.789 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.2392, allocations: 122.8 kB / 0.7304 GB, free: 4.645 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.2392, allocations: 11.92 kB / 0.7304 GB, free: 4.633 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.2392, allocations: 4 kB / 0.7304 GB, free: 4.629 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.2394, allocations: 55.92 kB / 0.7304 GB, free: 4.574 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.864e-05/0.2395, allocations: 15.86 kB / 0.7304 GB, free: 4.559 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007362/0.2402, allocations: 128 kB / 0.7306 GB, free: 4.434 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.2403, allocations: 63.92 kB / 0.7306 GB, free: 4.371 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 14
 * Number of states: 0 ()
 * Number of discrete variables: 45 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,conInt.y,conInt3.y,conInt2.y,extIndInt.u[4],extIndInt.u[1],extIndInt1.u[4],extIndInt2.u[4],extIndInt3.u[4],extIndInt4.u[4],extIndInt1.u[1],extIndInt2.u[1],extIndInt3.u[1],extIndInt4.u[1],intPul3.booPul.y,$PRE.intPul3.booPul.y,intPul3.y,intPul2.booPul.y,$PRE.intPul2.booPul.y,intPul2.y,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul.booPul.y,$PRE.intPul.booPul.y,extIndInt4.y,extIndInt4.u[3],extIndInt4.u[2],extIndInt3.y,extIndInt3.u[3],extIndInt3.u[2],extIndInt2.y,extIndInt2.u[3],extIndInt2.u[2],extIndInt1.y,extIndInt1.u[3],extIndInt1.u[2],extIndInt.u[3],extIndInt.u[2])
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (45):
 * Single equations (assignments): 41
 * Array equations: 0
 * Algorithm blocks: 4
 * 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.0002912/0.2406, allocations: 197.9 kB / 0.7308 GB, free: 4.168 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.2407, allocations: 35.77 kB / 0.7308 GB, free: 4.133 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/0.2413, allocations: 361.3 kB / 0.7312 GB, free: 3.77 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2413, allocations: 4 kB / 0.7312 GB, free: 3.766 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.2413, allocations: 3.938 kB / 0.7312 GB, free: 3.762 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.2413, allocations: 4 kB / 0.7312 GB, free: 3.758 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.2424, allocations: 0.7203 MB / 0.7319 GB, free: 2.988 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.2424, allocations: 0 / 0.7319 GB, free: 2.988 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.2426, allocations: 43.84 kB / 0.7319 GB, free: 2.945 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2426, allocations: 0 / 0.7319 GB, free: 2.945 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.413e-05/0.2426, allocations: 8 kB / 0.732 GB, free: 2.938 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.2426, allocations: 0 / 0.732 GB, free: 2.938 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2426, allocations: 4 kB / 0.732 GB, free: 2.934 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006787/0.2433, allocations: 440.6 kB / 0.7324 GB, free: 2.488 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 5.476e-05/0.2433, allocations: 31.69 kB / 0.7324 GB, free: 2.457 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.2434, allocations: 8 kB / 0.7324 GB, free: 2.449 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.2435, allocations: 15.97 kB / 0.7324 GB, free: 2.434 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.396e-05/0.2436, allocations: 23.95 kB / 0.7325 GB, free: 2.41 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.2436, allocations: 12 kB / 0.7325 GB, free: 2.398 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0002483/0.2439, allocations: 215.1 kB / 0.7327 GB, free: 2.191 MB / 0.545 GB
Notification: Performance of sort global known variables: time 9e-08/0.2439, allocations: 0 / 0.7327 GB, free: 2.191 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0004343/0.2443, allocations: 107.8 kB / 0.7328 GB, free: 2.086 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: 32 (extIndInt.u[2],extIndInt.u[3],$cse1,$cse2,$cse3,$cse4,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,extIndInt1.u[2],extIndInt1.u[3],extIndInt1.y,extIndInt2.u[2],extIndInt2.u[3],extIndInt2.y,extIndInt3.u[2],extIndInt3.u[3],extIndInt3.y,extIndInt4.u[2],extIndInt4.u[3],extIndInt4.y,intPul.booPul.y,intPul1.booPul.y,intPul2.y,intPul2.booPul.y,intPul3.y,intPul3.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (32):
 * Single equations (assignments): 28
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 4
 * 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.0001891/0.2445, allocations: 113.2 kB / 0.7329 GB, free: 1.961 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0009227/0.2454, allocations: 0.6187 MB / 0.7335 GB, free: 1.293 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2454, allocations: 0 / 0.7335 GB, free: 1.293 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.000204/0.2456, allocations: 127.9 kB / 0.7336 GB, free: 1.168 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005273/0.2461, allocations: 87.58 kB / 0.7337 GB, free: 1.086 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.2472, allocations: 0.5841 MB / 0.7343 GB, free: 488 kB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004883/0.2477, allocations: 0.773 MB / 0.735 GB, free: 15.68 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.000187/0.2479, allocations: 79.16 kB / 0.7351 GB, free: 15.6 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.155e-05/0.2479, allocations: 35.44 kB / 0.7351 GB, free: 15.57 MB / 0.5606 GB
Notification: Performance of SimCode: time 4.11e-07/0.2479, allocations: 0 / 0.7351 GB, free: 15.57 MB / 0.5606 GB
Notification: Performance of Templates: time 0.01125/0.2592, allocations: 5.655 MB / 0.7407 GB, free: 9.98 MB / 0.5606 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.IntegerExtractor.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 6.332708625122905]
Failed to read output from testmodel.py, exit status != 0:
0.26918751653283834 0.589458917 0.35799668999999995
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff20e2457b0>