Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001794/0.001794, allocations: 114.4 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.002303/0.002303, allocations: 192.2 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.521/1.521, 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.042/1.042, allocations: 149.5 MB / 456.3 MB, free: 1.711 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.Integers.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"})
"" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002062/0.002062, allocations: 72.72 kB / 0.6319 GB, free: 9.734 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2267, allocations: 87.86 MB / 0.7177 GB, free: 1.789 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002219/0.2289, allocations: 0.7045 MB / 0.7184 GB, free: 1.086 MB / 0.5294 GB
Notification: Performance of NFInst.instExpressions: time 0.001053/0.23, allocations: 0.8351 MB / 0.7192 GB, free: 244 kB / 0.5294 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.45e-05/0.23, allocations: 4 kB / 0.7192 GB, free: 240 kB / 0.5294 GB
Notification: Performance of NFTyping.typeComponents: time 3.743e-05/0.2301, allocations: 3.938 kB / 0.7192 GB, free: 236 kB / 0.5294 GB
Notification: Performance of NFTyping.typeBindings: time 9.034e-05/0.2302, allocations: 7.922 kB / 0.7192 GB, free: 228 kB / 0.5294 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001587/0.2303, allocations: 27.84 kB / 0.7193 GB, free: 200 kB / 0.5294 GB
Notification: Performance of NFFlatten.flatten: time 0.0001057/0.2304, allocations: 51.84 kB / 0.7193 GB, free: 148 kB / 0.5294 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001242/0.2306, allocations: 8 kB / 0.7193 GB, free: 140 kB / 0.5294 GB
Notification: Performance of NFEvalConstants.evaluate: time 8.01e-05/0.2306, allocations: 23.91 kB / 0.7194 GB, free: 116 kB / 0.5294 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.509e-05/0.2307, allocations: 23.92 kB / 0.7194 GB, free: 92 kB / 0.5294 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.2308, allocations: 4 kB / 0.7194 GB, free: 88 kB / 0.5294 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.242e-05/0.2308, allocations: 4 kB / 0.7194 GB, free: 84 kB / 0.5294 GB
Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.2309, allocations: 11.98 kB / 0.7194 GB, free: 72 kB / 0.5294 GB
Notification: Performance of NFVerifyModel.verify: time 5.576e-05/0.2309, allocations: 23.86 kB / 0.7194 GB, free: 48 kB / 0.5294 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.231, allocations: 43.86 kB / 0.7195 GB, free: 4 kB / 0.5294 GB
Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.231, allocations: 0 / 0.7195 GB, free: 4 kB / 0.5294 GB
Notification: Performance of FrontEnd: time 1.773e-06/0.231, allocations: 0 / 0.7195 GB, free: 4 kB / 0.5294 GB
Notification: Performance of Transformations before backend: time 6.473e-06/0.2311, allocations: 0 / 0.7195 GB, free: 4 kB / 0.5294 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.0005995/0.2316, allocations: 283.6 kB / 0.7197 GB, free: 15.7 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.2317, allocations: 12.62 kB / 0.7197 GB, free: 15.69 MB / 0.545 GB
Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.408e-05/0.2318, allocations: 34.75 kB / 0.7198 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.2318, allocations: 8.875 kB / 0.7198 GB, free: 15.64 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.2319, allocations: 114.4 kB / 0.7199 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.232, allocations: 4.375 kB / 0.7199 GB, free: 15.5 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.738e-05/0.232, allocations: 8.125 kB / 0.7199 GB, free: 15.49 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.2322, allocations: 65.66 kB / 0.72 GB, free: 15.42 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.2322, allocations: 4 kB / 0.72 GB, free: 15.41 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.2322, allocations: 0 / 0.72 GB, free: 15.41 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.2322, allocations: 0 / 0.72 GB, free: 15.41 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001998/0.2324, allocations: 51.94 kB / 0.72 GB, free: 15.36 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.2329, allocations: 267.8 kB / 0.7203 GB, free: 15.06 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.2331, allocations: 66.53 kB / 0.7203 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.2332, allocations: 28.91 kB / 0.7204 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.836e-05/0.2332, allocations: 0 / 0.7204 GB, free: 14.95 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.2332, allocations: 34.56 kB / 0.7204 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.2332, allocations: 0 / 0.7204 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4): time 0.0004071/0.2336, allocations: 109.6 kB / 0.7205 GB, free: 14.8 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.2337, allocations: 51.41 kB / 0.7206 GB, free: 14.73 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.2338, allocations: 117.8 kB / 0.7207 GB, free: 14.61 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.2338, allocations: 25.7 kB / 0.7207 GB, free: 14.58 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.148e-05/0.2339, allocations: 84.12 kB / 0.7208 GB, free: 14.49 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.358e-05/0.2339, allocations: 15.89 kB / 0.7208 GB, free: 14.48 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 3.865e-05/0.2339, allocations: 13.72 kB / 0.7208 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001487/0.2341, allocations: 322.8 kB / 0.7211 GB, free: 14.13 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.643e-05/0.2342, allocations: 23.98 kB / 0.7211 GB, free: 14.11 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 8.456e-05/0.2343, allocations: 23.97 kB / 0.7212 GB, free: 14.09 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.2344, allocations: 60.75 kB / 0.7212 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2344, allocations: 3.938 kB / 0.7212 GB, free: 14.02 MB / 0.545 GB
Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002412/0.2347, allocations: 81.61 kB / 0.7213 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2347, allocations: 8 kB / 0.7213 GB, free: 13.93 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2347, allocations: 3.984 kB / 0.7213 GB, free: 13.92 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2347, allocations: 0 / 0.7213 GB, free: 13.92 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2348, allocations: 15.98 kB / 0.7213 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2348, allocations: 0 / 0.7213 GB, free: 13.91 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.018e-05/0.2349, allocations: 8 kB / 0.7213 GB, free: 13.9 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.19e-05/0.2349, allocations: 11.86 kB / 0.7213 GB, free: 13.89 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: 2 (reaToInt.y,intLesThr.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.238e-05/0.235, allocations: 109.8 kB / 0.7214 GB, free: 13.77 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.235, allocations: 11.95 kB / 0.7215 GB, free: 13.76 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.2351, allocations: 8 kB / 0.7215 GB, free: 13.74 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2351, allocations: 0 / 0.7215 GB, free: 13.74 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.2351, allocations: 4 kB / 0.7215 GB, free: 13.74 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2351, allocations: 0 / 0.7215 GB, free: 13.74 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.2353, allocations: 148.7 kB / 0.7216 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.2353, allocations: 3.938 kB / 0.7216 GB, free: 13.55 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.37e-05/0.2354, allocations: 11.98 kB / 0.7216 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2354, allocations: 0 / 0.7216 GB, free: 13.54 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.2354, allocations: 4 kB / 0.7216 GB, free: 13.53 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2354, allocations: 4 kB / 0.7216 GB, free: 13.53 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2354, allocations: 0 / 0.7216 GB, free: 13.53 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003011/0.2357, allocations: 179.8 kB / 0.7218 GB, free: 13.34 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.116e-05/0.2357, allocations: 3.953 kB / 0.7218 GB, free: 13.33 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.2357, allocations: 11.98 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.2358, allocations: 4 kB / 0.7218 GB, free: 13.32 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.795e-05/0.2359, allocations: 20.02 kB / 0.7218 GB, free: 13.3 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.2359, allocations: 3.984 kB / 0.7218 GB, free: 13.29 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 6.704e-05/0.236, allocations: 95.52 kB / 0.7219 GB, free: 13.2 MB / 0.545 GB
Notification: Performance of sort global known variables: time 7e-08/0.236, allocations: 0 / 0.7219 GB, free: 13.2 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.000214/0.2362, allocations: 4 kB / 0.7219 GB, free: 13.2 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: 2 (intLesThr.y,reaToInt.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.0006217/0.2368, allocations: 0.7085 MB / 0.7226 GB, free: 12.46 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0002653/0.2371, allocations: 59.94 kB / 0.7227 GB, free: 12.4 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2371, allocations: 0 / 0.7227 GB, free: 12.4 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.2372, allocations: 31.91 kB / 0.7227 GB, free: 12.37 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.2375, allocations: 9.969 kB / 0.7227 GB, free: 12.36 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.2392, allocations: 1.347 MB / 0.724 GB, free: 10.94 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.2395, allocations: 0.6807 MB / 0.7247 GB, free: 10.23 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 4.004e-05/0.2396, allocations: 8 kB / 0.7247 GB, free: 10.23 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.655e-05/0.2396, allocations: 19.42 kB / 0.7247 GB, free: 10.21 MB / 0.545 GB
Notification: Performance of SimCode: time 4.31e-07/0.2396, allocations: 0 / 0.7247 GB, free: 10.21 MB / 0.545 GB
Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02714/0.2668, allocations: 1.853 MB / 0.7265 GB, free: 8.449 MB / 0.545 GB
Notification: Performance of buildModelFMU: Generate platform static: time 7.773/8.04, allocations: 4.547 kB / 0.7266 GB, free: 8.449 MB / 0.545 GB
"
[Timeout remaining time 652]
(rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator  --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 52.5]
[Calling sys.exit(0), Time elapsed: 11.921256895991974]
Failed to read output from testmodel.py, exit status != 0:
8.112239426991437 8.131369372 7.897060537
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7faefdcbd7b0>