Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.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.001644/0.001644, 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.001977/0.001977, allocations: 190.3 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.491/1.491, allocations: 225.6 MB / 251.5 MB, free: 13.04 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.021/1.021, allocations: 149.5 MB / 456.3 MB, free: 1.301 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: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 65.2 kB / 0.6319 GB, free: 9.598 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1999/0.2019, allocations: 87.88 MB / 0.7177 GB, free: 1.652 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor): time 0.002802/0.2047, allocations: 1.328 MB / 0.719 GB, free: 332 kB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.002282/0.2069, allocations: 1.564 MB / 0.7206 GB, free: 14.75 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.2071, allocations: 4 kB / 0.7206 GB, free: 14.74 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.2072, allocations: 39.55 kB / 0.7206 GB, free: 14.7 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.2074, allocations: 71.42 kB / 0.7207 GB, free: 14.63 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001276/0.2087, allocations: 0.4954 MB / 0.7212 GB, free: 14.15 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0007179/0.2094, allocations: 0.6521 MB / 0.7218 GB, free: 13.49 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002723/0.2097, allocations: 113.3 kB / 0.7219 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002902/0.2099, allocations: 259.4 kB / 0.7221 GB, free: 13.13 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.2103, allocations: 255 kB / 0.7224 GB, free: 12.88 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 9.824e-05/0.2104, allocations: 64 kB / 0.7225 GB, free: 12.82 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.2105, allocations: 79.98 kB / 0.7225 GB, free: 12.74 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 9.755e-05/0.2106, allocations: 79.7 kB / 0.7226 GB, free: 12.66 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0002794/0.2109, allocations: 250.9 kB / 0.7228 GB, free: 12.41 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0007232/0.2116, allocations: 0.6889 MB / 0.7235 GB, free: 11.72 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2116, allocations: 0 / 0.7235 GB, free: 11.72 MB / 0.545 GB
Notification: Performance of FrontEnd: time 9.62e-07/0.2116, allocations: 0 / 0.7235 GB, free: 11.72 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 6.983e-06/0.2116, allocations: 4 kB / 0.7235 GB, free: 11.72 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: 57
 * Number of variables: 57
Notification: Performance of Generate backend data structure: time 0.001264/0.2129, allocations: 0.8672 MB / 0.7244 GB, free: 10.76 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.2129, allocations: 12.62 kB / 0.7244 GB, free: 10.75 MB / 0.545 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.404e-05/0.213, allocations: 62.73 kB / 0.7244 GB, free: 10.68 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.2131, allocations: 52.66 kB / 0.7245 GB, free: 10.63 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/0.2143, allocations: 413.4 kB / 0.7249 GB, free: 10.2 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.225e-05/0.2144, allocations: 28.88 kB / 0.7249 GB, free: 10.18 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.2145, allocations: 40.38 kB / 0.7249 GB, free: 10.14 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/0.2151, allocations: 324.3 kB / 0.7253 GB, free: 9.816 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2151, allocations: 0 / 0.7253 GB, free: 9.816 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.447e-05/0.2152, allocations: 11.98 kB / 0.7253 GB, free: 9.805 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.809e-06/0.2152, allocations: 8 kB / 0.7253 GB, free: 9.797 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006415/0.2158, allocations: 249.8 kB / 0.7255 GB, free: 9.551 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.2174, allocations: 0.872 MB / 0.7264 GB, free: 8.637 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006799/0.2181, allocations: 358.7 kB / 0.7267 GB, free: 8.277 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005437/0.2187, allocations: 256.6 kB / 0.727 GB, free: 8.027 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.2187, allocations: 4 kB / 0.727 GB, free: 8.023 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006127/0.2193, allocations: 323 kB / 0.7273 GB, free: 7.695 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=44): time 1.914e-06/0.2193, allocations: 0 / 0.7273 GB, free: 7.695 MB / 0.545 GB
Notification: Performance of matching and sorting (n=44): time 0.001631/0.2209, allocations: 0.8334 MB / 0.7281 GB, free: 6.824 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.2211, allocations: 199.9 kB / 0.7283 GB, free: 6.586 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.2214, allocations: 284.5 kB / 0.7285 GB, free: 6.297 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 6.88e-05/0.2215, allocations: 45.69 kB / 0.7286 GB, free: 6.246 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001625/0.2216, allocations: 164.9 kB / 0.7287 GB, free: 6.082 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.2217, allocations: 138.9 kB / 0.7289 GB, free: 5.945 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002398/0.222, allocations: 134.1 kB / 0.729 GB, free: 5.809 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001717/0.2222, allocations: 346.8 kB / 0.7293 GB, free: 5.461 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006309/0.2228, allocations: 280.8 kB / 0.7296 GB, free: 5.188 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006662/0.2235, allocations: 357.4 kB / 0.7299 GB, free: 4.805 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/0.2247, allocations: 0.9166 MB / 0.7308 GB, free: 3.773 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.2247, allocations: 4 kB / 0.7308 GB, free: 3.77 MB / 0.545 GB
Notification: Performance of matching and sorting (n=57) (initialization): time 0.001698/0.2264, allocations: 0.9977 MB / 0.7318 GB, free: 2.711 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001748/0.2266, allocations: 263.3 kB / 0.7321 GB, free: 2.398 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.2266, allocations: 4 kB / 0.7321 GB, free: 2.395 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.2266, allocations: 8.281 kB / 0.7321 GB, free: 2.387 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/0.2269, allocations: 71.83 kB / 0.7321 GB, free: 2.316 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.2269, allocations: 4 kB / 0.7321 GB, free: 2.312 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/0.2276, allocations: 143.6 kB / 0.7323 GB, free: 2.172 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.2277, allocations: 67.86 kB / 0.7324 GB, free: 2.105 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 10
 * Number of states: 0 ()
 * Number of discrete variables: 19 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,intPul1.y,intPul.booPul.y,$PRE.intPul.booPul.y,intPul.y,pul1.booPul.y,$PRE.pul1.booPul.y,pul.booPul.y,$PRE.pul.booPul.y,conInt.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (49):
 * Single equations (assignments): 40
 * Array equations: 0
 * Algorithm blocks: 9
 * 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.0003048/0.228, allocations: 326.1 kB / 0.7327 GB, free: 1.746 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.2281, allocations: 35.77 kB / 0.7327 GB, free: 1.711 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.202e-05/0.2282, allocations: 47.48 kB / 0.7327 GB, free: 1.664 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2282, allocations: 4 kB / 0.7327 GB, free: 1.66 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.2282, allocations: 0 / 0.7327 GB, free: 1.66 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.742e-06/0.2282, allocations: 3.984 kB / 0.7327 GB, free: 1.656 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001893/0.2301, allocations: 1.167 MB / 0.7339 GB, free: 416 kB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2301, allocations: 0 / 0.7339 GB, free: 416 kB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.2303, allocations: 67.89 kB / 0.734 GB, free: 348 kB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.2303, allocations: 0 / 0.734 GB, free: 348 kB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.2304, allocations: 19.98 kB / 0.734 GB, free: 328 kB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.2304, allocations: 3.938 kB / 0.734 GB, free: 324 kB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2304, allocations: 0 / 0.734 GB, free: 324 kB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.2316, allocations: 0.7664 MB / 0.7347 GB, free: 15.5 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.2316, allocations: 35.66 kB / 0.7348 GB, free: 15.47 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.2317, allocations: 12 kB / 0.7348 GB, free: 15.46 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.2319, allocations: 35.84 kB / 0.7348 GB, free: 15.42 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.232, allocations: 35.94 kB / 0.7348 GB, free: 15.39 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/0.2321, allocations: 47.94 kB / 0.7349 GB, free: 15.34 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0002155/0.2323, allocations: 199.1 kB / 0.7351 GB, free: 15.15 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 8e-08/0.2323, allocations: 0 / 0.7351 GB, free: 15.15 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.0004456/0.2328, allocations: 107.9 kB / 0.7352 GB, free: 15.04 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 14 ($whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pul.booPul.y,pul1.booPul.y,intPul.y,intPul.booPul.y,intPul1.y,intPul1.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (44):
 * Single equations (assignments): 35
 * Array equations: 0
 * Algorithm blocks: 5
 * 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.001583/0.2343, allocations: 1.327 MB / 0.7365 GB, free: 13.66 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.001555/0.2359, allocations: 1.038 MB / 0.7375 GB, free: 12.51 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2359, allocations: 0 / 0.7375 GB, free: 12.51 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0006387/0.2365, allocations: 0.4896 MB / 0.738 GB, free: 11.96 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005631/0.2371, allocations: 92.45 kB / 0.7381 GB, free: 11.87 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00699/0.2441, allocations: 4.659 MB / 0.7426 GB, free: 7.008 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004197/0.2445, allocations: 0.796 MB / 0.7434 GB, free: 6.188 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0002418/0.2447, allocations: 99.17 kB / 0.7435 GB, free: 6.09 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.2449, allocations: 111.4 kB / 0.7436 GB, free: 5.98 MB / 0.5606 GB
Notification: Performance of SimCode: time 9.92e-07/0.2449, allocations: 0 / 0.7436 GB, free: 5.98 MB / 0.5606 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3745/0.6194, allocations: 10.08 MB / 0.7534 GB, free: 33.35 MB / 0.5606 GB
Notification: Performance of buildModelFMU: Generate platform static: time 8.407/9.026, allocations: 6.984 kB / 0.7534 GB, free: 33.35 MB / 0.5606 GB
"
[Timeout remaining time 651]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator  --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractor.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractor.pipe 2>&1) [Timeout 52.5]
[Calling sys.exit(0), Time elapsed: 12.926511521000066]
Failed to read output from testmodel.py, exit status != 0:
9.100123059994075 9.114979125 8.900346368
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f171d7257b0>