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.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.00129/0.00129, allocations: 108.2 kB / 17.07 MB, free: 5.984 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.001322/0.001322, allocations: 191.8 kB / 20.03 MB, free: 3.059 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.492/1.492, allocations: 222.9 MB / 245.7 MB, free: 4.23 MB / 190.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.153/1.153, allocations: 147.6 MB / 445.5 MB, free: 8.309 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.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: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 63.36 kB / 0.6109 GB, free: 37.69 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.182/0.1841, allocations: 83.16 MB / 0.6922 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Reals.Validation.GreaterThreshold): time 0.002857/0.187, allocations: 0.8035 MB / 0.6929 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1888, allocations: 0.8779 MB / 0.6938 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001597/0.189, allocations: 5.875 kB / 0.6938 GB, free: 12 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0002033/0.1892, allocations: 7.875 kB / 0.6938 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.3e-05/0.1893, allocations: 17.59 kB / 0.6938 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002498/0.1895, allocations: 19.64 kB / 0.6938 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002142/0.1898, allocations: 86.73 kB / 0.6939 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.19, allocations: 30.3 kB / 0.694 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1901, allocations: 29.78 kB / 0.694 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1903, allocations: 26.67 kB / 0.694 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.1903, allocations: 9.125 kB / 0.694 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.38e-05/0.1903, allocations: 6.25 kB / 0.694 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.278e-05/0.1904, allocations: 13.2 kB / 0.694 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.1905, allocations: 29.91 kB / 0.6941 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.1907, allocations: 81.42 kB / 0.6941 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.1907, allocations: 0 / 0.6941 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.058e-06/0.1907, allocations: 0 / 0.6941 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.137e-06/0.1907, allocations: 0 / 0.6941 GB, free: 11.75 MB / 0.5137 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.0009439/0.1917, allocations: 393.5 kB / 0.6945 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/0.1917, allocations: 12.44 kB / 0.6945 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.096e-05/0.1918, allocations: 36.34 kB / 0.6946 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.101e-05/0.1919, allocations: 10.3 kB / 0.6946 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.1923, allocations: 203.6 kB / 0.6948 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.1923, allocations: 4.188 kB / 0.6948 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.645e-05/0.1923, allocations: 5.75 kB / 0.6948 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000185/0.1925, allocations: 62.67 kB / 0.6948 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1925, allocations: 3.938 kB / 0.6948 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.1925, allocations: 4 kB / 0.6948 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.1926, allocations: 1.375 kB / 0.6948 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/0.1927, allocations: 37.84 kB / 0.6949 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000609/0.1933, allocations: 315.1 kB / 0.6952 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001831/0.1935, allocations: 52.77 kB / 0.6952 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.992e-05/0.1936, allocations: 16.73 kB / 0.6953 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.1936, allocations: 0 / 0.6953 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.156e-05/0.1936, allocations: 35.69 kB / 0.6953 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.984e-06/0.1937, allocations: 0 / 0.6953 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.000309/0.194, allocations: 75.02 kB / 0.6954 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.194, allocations: 56.22 kB / 0.6954 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.1942, allocations: 133.6 kB / 0.6955 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1942, allocations: 26.89 kB / 0.6956 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.251e-05/0.1943, allocations: 100.1 kB / 0.6957 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.263e-05/0.1943, allocations: 13.23 kB / 0.6957 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.1944, allocations: 17.5 kB / 0.6957 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.1946, allocations: 325.4 kB / 0.696 GB, free: 9.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.684e-05/0.1946, allocations: 11.25 kB / 0.696 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.994e-05/0.1947, allocations: 20.11 kB / 0.696 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000112/0.1948, allocations: 39.48 kB / 0.6961 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1948, allocations: 0 / 0.6961 GB, free: 9.797 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001614/0.195, allocations: 63.95 kB / 0.6961 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/0.195, allocations: 11.22 kB / 0.6961 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.152e-06/0.195, allocations: 0 / 0.6961 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1951, allocations: 0 / 0.6961 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.097e-05/0.1951, allocations: 3.344 kB / 0.6961 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.1952, allocations: 5.156 kB / 0.6961 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.006e-05/0.1952, allocations: 13.44 kB / 0.6962 GB, free: 9.734 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.1953, allocations: 5.125 kB / 0.6962 GB, free: 9.73 MB / 0.5137 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.000119/0.1954, allocations: 122.3 kB / 0.6963 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.229e-05/0.1954, allocations: 7.453 kB / 0.6963 GB, free: 9.602 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.521e-05/0.1955, allocations: 9.5 kB / 0.6963 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.1955, allocations: 1.156 kB / 0.6963 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1955, allocations: 4 kB / 0.6963 GB, free: 9.586 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1955, allocations: 5.125 kB / 0.6963 GB, free: 9.582 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.1957, allocations: 185.8 kB / 0.6965 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1957, allocations: 0 / 0.6965 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.164e-05/0.1958, allocations: 8.078 kB / 0.6965 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.1958, allocations: 0 / 0.6965 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.1958, allocations: 1.312 kB / 0.6965 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1958, allocations: 0 / 0.6965 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1958, allocations: 0 / 0.6965 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002025/0.196, allocations: 163.9 kB / 0.6966 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.219e-05/0.1961, allocations: 79.11 kB / 0.6967 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.1961, allocations: 1 kB / 0.6967 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1962, allocations: 14.05 kB / 0.6967 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.944e-05/0.1963, allocations: 11.39 kB / 0.6967 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1963, allocations: 1.188 kB / 0.6967 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.406e-05/0.1964, allocations: 109.8 kB / 0.6969 GB, free: 9 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1964, allocations: 0 / 0.6969 GB, free: 9 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000217/0.1966, allocations: 11.7 kB / 0.6969 GB, free: 8.996 MB / 0.5137 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.0005763/0.1972, allocations: 0.694 MB / 0.6975 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000171/0.1974, allocations: 35.27 kB / 0.6976 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1974, allocations: 0 / 0.6976 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.012e-05/0.1975, allocations: 22.11 kB / 0.6976 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.1978, allocations: 13.52 kB / 0.6976 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.1994, allocations: 1.388 MB / 0.699 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003384/0.1997, allocations: 0.6926 MB / 0.6996 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.818e-05/0.1998, allocations: 10.58 kB / 0.6997 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.53e-05/0.1998, allocations: 27.55 kB / 0.6997 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1998, allocations: 0 / 0.6997 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/0.2236, allocations: 1.984 MB / 0.7016 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.946/8.169, allocations: 3.938 kB / 0.7016 GB, free: 4.934 MB / 0.5137 GB " [Timeout remaining time 651] (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: 12.227695891167969] Failed to read output from testmodel.py, exit status != 0: 8.597109194844961 8.266298987 8.070697377 Calling exit ...