Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 114.8 kB / 19.69 MB, free: 2.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 223.3 kB / 23.01 MB, free: 4.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.558/1.558, allocations: 230.6 MB / 256.8 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.046/1.046, allocations: 150 MB / 463.2 MB, free: 10.48 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002412/0.002412, allocations: 68.8 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1984/0.2008, allocations: 89.18 MB / 0.7284 GB, free: 1.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002419/0.2032, allocations: 0.8052 MB / 0.7292 GB, free: 436 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.2048, allocations: 0.9172 MB / 0.7301 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2049, allocations: 3.938 kB / 0.7301 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000143/0.2051, allocations: 19.86 kB / 0.7301 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.794e-05/0.2051, allocations: 7.875 kB / 0.7301 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.2054, allocations: 39.83 kB / 0.7302 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.2055, allocations: 75.78 kB / 0.7302 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.2056, allocations: 19.98 kB / 0.7302 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.2058, allocations: 39.84 kB / 0.7303 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001142/0.2059, allocations: 31.84 kB / 0.7303 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.926e-05/0.2059, allocations: 8 kB / 0.7303 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.19e-05/0.206, allocations: 12 kB / 0.7303 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.917e-05/0.206, allocations: 7.938 kB / 0.7303 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.2061, allocations: 35.8 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001786/0.2063, allocations: 87.83 kB / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.2063, allocations: 0 / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.272e-06/0.2063, allocations: 0 / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.2063, allocations: 0 / 0.7305 GB, free: 15.11 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005934/0.2069, allocations: 318 kB / 0.7308 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.2069, allocations: 12.02 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.057e-05/0.207, allocations: 34.75 kB / 0.7308 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.2071, allocations: 24.83 kB / 0.7308 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.2074, allocations: 134.4 kB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.2074, allocations: 8.359 kB / 0.731 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.2074, allocations: 4.375 kB / 0.731 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.2076, allocations: 66.23 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2076, allocations: 3.938 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.2076, allocations: 0 / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2076, allocations: 4 kB / 0.731 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/0.2078, allocations: 31.92 kB / 0.7311 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005436/0.2083, allocations: 291.8 kB / 0.7313 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.2085, allocations: 58.56 kB / 0.7314 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.104e-05/0.2085, allocations: 21 kB / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.915e-05/0.2086, allocations: 0 / 0.7314 GB, free: 14 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.2086, allocations: 30.56 kB / 0.7315 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.2086, allocations: 3.938 kB / 0.7315 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0002711/0.2089, allocations: 81.56 kB / 0.7315 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.2089, allocations: 51.41 kB / 0.7316 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.2091, allocations: 132.6 kB / 0.7317 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.2091, allocations: 33.7 kB / 0.7317 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.2092, allocations: 100.1 kB / 0.7318 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.2092, allocations: 7.938 kB / 0.7318 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.764e-05/0.2092, allocations: 17.72 kB / 0.7319 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.2094, allocations: 326.8 kB / 0.7322 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.672e-05/0.2094, allocations: 15.98 kB / 0.7322 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.967e-05/0.2095, allocations: 16 kB / 0.7322 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.844e-05/0.2096, allocations: 24.84 kB / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.2096, allocations: 3.938 kB / 0.7322 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001664/0.2098, allocations: 73.56 kB / 0.7323 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2098, allocations: 4 kB / 0.7323 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2098, allocations: 0 / 0.7323 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.2098, allocations: 4 kB / 0.7323 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.2099, allocations: 7.984 kB / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2099, allocations: 0 / 0.7323 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.693e-05/0.2099, allocations: 11.98 kB / 0.7323 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-06/0.2099, allocations: 3.938 kB / 0.7323 GB, free: 13 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (greHys.greHys.y,$PRE.greHys.greHys.y,gre.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 0.0001203/0.2101, allocations: 113.8 kB / 0.7324 GB, free: 12.88 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.118e-05/0.2101, allocations: 7.953 kB / 0.7325 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.528e-05/0.2101, allocations: 12.34 kB / 0.7325 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2101, allocations: 0 / 0.7325 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-06/0.2101, allocations: 0 / 0.7325 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.2102, allocations: 4 kB / 0.7325 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.2103, allocations: 156.6 kB / 0.7326 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2104, allocations: 0 / 0.7326 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.2104, allocations: 4 kB / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.2104, allocations: 0 / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-06/0.2104, allocations: 0 / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2104, allocations: 0 / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.2104, allocations: 3.938 kB / 0.7326 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002023/0.2106, allocations: 163.4 kB / 0.7328 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 2.131e-05/0.2106, allocations: 15.89 kB / 0.7328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.2107, allocations: 4.359 kB / 0.7328 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.2108, allocations: 8 kB / 0.7328 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.2108, allocations: 11.97 kB / 0.7328 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.2108, allocations: 4 kB / 0.7328 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 9.218e-05/0.2109, allocations: 111.1 kB / 0.7329 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2109, allocations: 0 / 0.7329 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002377/0.2111, allocations: 15.94 kB / 0.7329 GB, free: 12.3 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: 2 (gre.y,greHys.greHys.y) * Number of discrete states: 1 (greHys.greHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005471/0.2117, allocations: 0.6928 MB / 0.7336 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001635/0.2119, allocations: 39.97 kB / 0.7337 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.2119, allocations: 0 / 0.7337 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.762e-05/0.2119, allocations: 15.98 kB / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.2123, allocations: 11.94 kB / 0.7337 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.2139, allocations: 1.377 MB / 0.735 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.2143, allocations: 0.6963 MB / 0.7357 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.012e-05/0.2143, allocations: 0 / 0.7357 GB, free: 9.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.448e-05/0.2144, allocations: 23.42 kB / 0.7357 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of SimCode: time 7.92e-07/0.2144, allocations: 0 / 0.7357 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.2457, allocations: 2.114 MB / 0.7378 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.2, allocations: 9.891 kB / 0.7378 GB, free: 7.336 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_OBC_CDL_Reals_Validation_GreaterThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.132151731057093] Failed to read output from testmodel.py, exit status != 0: 11.307706600986421 11.332397241 11.121491536 Calling exit ...