Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.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.001346/0.001346, 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.00145/0.00145, allocations: 190.6 kB / 22.85 MB, free: 5.645 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.504/1.504, 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 1.012/1.012, 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.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.95 kB / 0.6319 GB, free: 9.633 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1853, allocations: 87.87 MB / 0.7177 GB, free: 1.695 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.00229/0.1876, allocations: 1.002 MB / 0.7187 GB, free: 0.6953 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.00184/0.1894, allocations: 1.342 MB / 0.72 GB, free: 15.34 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.1895, allocations: 4 kB / 0.72 GB, free: 15.34 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001189/0.1896, allocations: 23.73 kB / 0.72 GB, free: 15.31 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.1897, allocations: 43.66 kB / 0.7201 GB, free: 15.27 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0008453/0.1906, allocations: 273.6 kB / 0.7203 GB, free: 15.01 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0004982/0.1911, allocations: 383.3 kB / 0.7207 GB, free: 14.63 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.1912, allocations: 49.7 kB / 0.7208 GB, free: 14.59 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.1915, allocations: 151.7 kB / 0.7209 GB, free: 14.44 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.1917, allocations: 139.5 kB / 0.721 GB, free: 14.3 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 6.892e-05/0.1918, allocations: 36 kB / 0.7211 GB, free: 14.27 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.1919, allocations: 59.92 kB / 0.7211 GB, free: 14.21 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 8.713e-05/0.192, allocations: 55.83 kB / 0.7212 GB, free: 14.15 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001655/0.1922, allocations: 143.4 kB / 0.7213 GB, free: 14.01 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.000476/0.1927, allocations: 398.5 kB / 0.7217 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1927, allocations: 0 / 0.7217 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.253e-06/0.1927, allocations: 0 / 0.7217 GB, free: 13.62 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 1.247e-05/0.1927, allocations: 0 / 0.7217 GB, free: 13.62 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: 30
 * Number of variables: 30
Notification: Performance of Generate backend data structure: time 0.001017/0.1937, allocations: 0.5486 MB / 0.7222 GB, free: 13.03 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1937, allocations: 8.625 kB / 0.7222 GB, free: 13.02 MB / 0.545 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.571e-05/0.1938, allocations: 46.73 kB / 0.7223 GB, free: 12.96 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.987e-05/0.1939, allocations: 32.75 kB / 0.7223 GB, free: 12.93 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009267/0.1948, allocations: 325 kB / 0.7226 GB, free: 12.59 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.1948, allocations: 12.38 kB / 0.7226 GB, free: 12.58 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.747e-05/0.1949, allocations: 20.38 kB / 0.7227 GB, free: 12.56 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004614/0.1953, allocations: 210.1 kB / 0.7229 GB, free: 12.34 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1953, allocations: 3.984 kB / 0.7229 GB, free: 12.33 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.1954, allocations: 4 kB / 0.7229 GB, free: 12.33 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.1954, allocations: 4 kB / 0.7229 GB, free: 12.32 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004698/0.1958, allocations: 139.8 kB / 0.723 GB, free: 12.19 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001229/0.1971, allocations: 0.8749 MB / 0.7239 GB, free: 11.25 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003369/0.1974, allocations: 145 kB / 0.724 GB, free: 11.07 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.1976, allocations: 84.3 kB / 0.7241 GB, free: 10.97 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.1977, allocations: 3.938 kB / 0.7241 GB, free: 10.96 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004036/0.1981, allocations: 171.5 kB / 0.7242 GB, free: 10.77 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1981, allocations: 4 kB / 0.7243 GB, free: 10.77 MB / 0.545 GB
Notification: Performance of matching and sorting (n=11): time 0.0008672/0.1989, allocations: 257.6 kB / 0.7245 GB, free: 10.51 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.788e-05/0.199, allocations: 158.2 kB / 0.7246 GB, free: 10.32 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.1993, allocations: 228.9 kB / 0.7249 GB, free: 10.08 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 4.605e-05/0.1993, allocations: 29.7 kB / 0.7249 GB, free: 10.05 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001329/0.1994, allocations: 160.3 kB / 0.725 GB, free: 9.887 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.1995, allocations: 27.75 kB / 0.7251 GB, free: 9.859 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001286/0.1996, allocations: 61.67 kB / 0.7251 GB, free: 9.793 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.000147/0.1998, allocations: 330.8 kB / 0.7254 GB, free: 9.461 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003307/0.2001, allocations: 103.9 kB / 0.7255 GB, free: 9.359 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.2005, allocations: 185.2 kB / 0.7257 GB, free: 9.145 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005873/0.2011, allocations: 274.9 kB / 0.726 GB, free: 8.836 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.2011, allocations: 0 / 0.726 GB, free: 8.836 MB / 0.545 GB
Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008796/0.2019, allocations: 376.6 kB / 0.7263 GB, free: 8.449 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.202, allocations: 63.41 kB / 0.7264 GB, free: 8.375 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.202, allocations: 3.938 kB / 0.7264 GB, free: 8.371 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.202, allocations: 4 kB / 0.7264 GB, free: 8.367 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.2022, allocations: 32.19 kB / 0.7264 GB, free: 8.336 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.2022, allocations: 7.938 kB / 0.7265 GB, free: 8.328 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004663/0.2027, allocations: 79.89 kB / 0.7265 GB, free: 8.25 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.2027, allocations: 15.98 kB / 0.7265 GB, free: 8.234 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 9
 * Number of states: 0 ()
 * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (13):
 * Single equations (assignments): 11
 * 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.0001771/0.2029, allocations: 156.1 kB / 0.7267 GB, free: 8.074 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.2029, allocations: 23.86 kB / 0.7267 GB, free: 8.051 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.203, allocations: 21.33 kB / 0.7267 GB, free: 8.027 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.203, allocations: 4 kB / 0.7267 GB, free: 8.023 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.203, allocations: 0 / 0.7267 GB, free: 8.023 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.203, allocations: 4 kB / 0.7267 GB, free: 8.02 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.2033, allocations: 232.5 kB / 0.727 GB, free: 7.75 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2033, allocations: 0 / 0.727 GB, free: 7.75 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001761/0.2034, allocations: 35.91 kB / 0.727 GB, free: 7.715 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2034, allocations: 0 / 0.727 GB, free: 7.715 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.2035, allocations: 4 kB / 0.727 GB, free: 7.711 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.2035, allocations: 4 kB / 0.727 GB, free: 7.707 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.2035, allocations: 4 kB / 0.727 GB, free: 7.703 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005768/0.204, allocations: 248.1 kB / 0.7272 GB, free: 7.43 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.2041, allocations: 11.91 kB / 0.7273 GB, free: 7.418 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.2041, allocations: 7.984 kB / 0.7273 GB, free: 7.41 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.2042, allocations: 19.98 kB / 0.7273 GB, free: 7.391 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.2043, allocations: 19.97 kB / 0.7273 GB, free: 7.371 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.2043, allocations: 7.938 kB / 0.7273 GB, free: 7.363 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 0.0001516/0.2045, allocations: 156.5 kB / 0.7275 GB, free: 7.207 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.2045, allocations: 0 / 0.7275 GB, free: 7.207 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0003144/0.2048, allocations: 55.89 kB / 0.7275 GB, free: 7.152 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 0 ()
 * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (11):
 * Single equations (assignments): 9
 * 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.0009304/0.2057, allocations: 0.7795 MB / 0.7283 GB, free: 6.332 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0007692/0.2065, allocations: 314.9 kB / 0.7286 GB, free: 6 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2065, allocations: 4.062 kB / 0.7286 GB, free: 5.996 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002664/0.2067, allocations: 72.61 kB / 0.7286 GB, free: 5.926 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.2071, allocations: 64.39 kB / 0.7287 GB, free: 5.863 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/0.2112, allocations: 2.549 MB / 0.7312 GB, free: 3.148 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004523/0.2117, allocations: 0.7477 MB / 0.7319 GB, free: 2.375 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 0.0001442/0.2118, allocations: 37.61 kB / 0.732 GB, free: 2.34 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.2119, allocations: 67.41 kB / 0.732 GB, free: 2.273 MB / 0.545 GB
Notification: Performance of SimCode: time 1.182e-06/0.2119, allocations: 4 kB / 0.732 GB, free: 2.27 MB / 0.545 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03353/0.2455, allocations: 5.402 MB / 0.7373 GB, free: 13 MB / 0.5606 GB
Notification: Performance of buildModelFMU: Generate platform static: time 7.987/8.233, allocations: 1.438 kB / 0.7373 GB, free: 13 MB / 0.5606 GB
"
[Timeout remaining time 652]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator  --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5]
[Calling sys.exit(0), Time elapsed: 12.362509047001367]
Failed to read output from testmodel.py, exit status != 0:
8.30764827800158 8.641853963 8.129813815
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f10dbd217b0>