Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.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.001899/0.001899, allocations: 112.9 kB / 17.12 MB, free: 6.008 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.002281/0.002281, allocations: 212.3 kB / 20.1 MB, free: 3.055 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.515/1.515, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.07/1.07, allocations: 150 MB / 459.5 MB, free: 5.27 MB / 350.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.Integers.Validation.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_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.001978/0.001978, allocations: 66.72 kB / 0.6361 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1987/0.2007, allocations: 89.13 MB / 0.7232 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.001999/0.2027, allocations: 0.6954 MB / 0.7238 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.2039, allocations: 0.8688 MB / 0.7247 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.351e-05/0.204, allocations: 0 / 0.7247 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.204, allocations: 3.938 kB / 0.7247 GB, free: 2.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.072e-05/0.2041, allocations: 7.938 kB / 0.7247 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000146/0.2042, allocations: 27.95 kB / 0.7247 GB, free: 2.547 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 9.23e-05/0.2043, allocations: 43.84 kB / 0.7248 GB, free: 2.504 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.2044, allocations: 8 kB / 0.7248 GB, free: 2.496 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.694e-05/0.2045, allocations: 27.92 kB / 0.7248 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.807e-05/0.2046, allocations: 27.89 kB / 0.7248 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.2046, allocations: 4 kB / 0.7248 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 1.198e-05/0.2046, allocations: 4 kB / 0.7248 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.074e-05/0.2046, allocations: 8 kB / 0.7248 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.2046, allocations: 19.86 kB / 0.7249 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.2048, allocations: 52.02 kB / 0.7249 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.2048, allocations: 4 kB / 0.7249 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.443e-06/0.2048, allocations: 0 / 0.7249 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.085e-06/0.2048, allocations: 3.984 kB / 0.7249 GB, free: 2.348 MB / 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.0006066/0.2054, allocations: 359.3 kB / 0.7253 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.2054, allocations: 8.031 kB / 0.7253 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.939e-05/0.2055, allocations: 38.69 kB / 0.7253 GB, free: 1.895 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.2055, allocations: 4.938 kB / 0.7253 GB, free: 1.891 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.2057, allocations: 172.3 kB / 0.7255 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2057, allocations: 384 / 0.7255 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.71e-05/0.2057, allocations: 8.125 kB / 0.7255 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002182/0.2059, allocations: 69.59 kB / 0.7256 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2059, allocations: 7.984 kB / 0.7256 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.206, allocations: 0 / 0.7256 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.206, allocations: 4 kB / 0.7256 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000239/0.2062, allocations: 47.89 kB / 0.7256 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004745/0.2067, allocations: 288.8 kB / 0.7259 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.2069, allocations: 70.47 kB / 0.726 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/0.207, allocations: 28.91 kB / 0.726 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.207, allocations: 4 kB / 0.726 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.518e-05/0.2071, allocations: 30.56 kB / 0.726 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.2071, allocations: 0 / 0.726 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0005048/0.2076, allocations: 113.6 kB / 0.7261 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.2076, allocations: 51.41 kB / 0.7262 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.296e-05/0.2077, allocations: 105.8 kB / 0.7263 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.2077, allocations: 29.64 kB / 0.7263 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.948e-05/0.2078, allocations: 88.14 kB / 0.7264 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.139e-05/0.2078, allocations: 11.91 kB / 0.7264 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.2078, allocations: 17.7 kB / 0.7264 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.208, allocations: 322.8 kB / 0.7267 GB, free: 284 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.2081, allocations: 27.97 kB / 0.7267 GB, free: 256 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.2082, allocations: 23.97 kB / 0.7268 GB, free: 232 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.2084, allocations: 49.09 kB / 0.7268 GB, free: 180 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2084, allocations: 0 / 0.7268 GB, free: 180 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002581/0.2087, allocations: 93.64 kB / 0.7269 GB, free: 80 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.2087, allocations: 4 kB / 0.7269 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.2087, allocations: 0 / 0.7269 GB, free: 76 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.2087, allocations: 4 kB / 0.7269 GB, free: 72 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001257/0.2088, allocations: 15.92 kB / 0.7269 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.2088, allocations: 3.938 kB / 0.7269 GB, free: 52 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.036e-05/0.2089, allocations: 15.88 kB / 0.7269 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.798e-06/0.2089, allocations: 3.938 kB / 0.727 GB, free: 32 kB / 0.5294 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,intGreThr.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.0001059/0.209, allocations: 113.8 kB / 0.7271 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.2091, allocations: 7.984 kB / 0.7271 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.2091, allocations: 11.91 kB / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.2091, allocations: 0 / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.2091, allocations: 0 / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.2091, allocations: 0 / 0.7271 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.2093, allocations: 177.6 kB / 0.7273 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.2093, allocations: 0 / 0.7273 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.024e-05/0.2094, allocations: 11.98 kB / 0.7273 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2094, allocations: 0 / 0.7273 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.193e-06/0.2094, allocations: 0 / 0.7273 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2094, allocations: 4 kB / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2094, allocations: 0 / 0.7273 GB, free: 15.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.2097, allocations: 187.3 kB / 0.7274 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.2098, allocations: 81.11 kB / 0.7275 GB, free: 15.35 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.2098, allocations: 3.938 kB / 0.7275 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.2099, allocations: 7.984 kB / 0.7275 GB, free: 15.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.21, allocations: 15.98 kB / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.21, allocations: 0 / 0.7275 GB, free: 15.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.77e-05/0.21, allocations: 95.2 kB / 0.7276 GB, free: 15.23 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.21, allocations: 0 / 0.7276 GB, free: 15.23 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002205/0.2103, allocations: 8 kB / 0.7276 GB, free: 15.22 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 (intGreThr.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.0006786/0.2109, allocations: 0.7163 MB / 0.7283 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.2112, allocations: 51.95 kB / 0.7284 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2112, allocations: 0 / 0.7284 GB, free: 14.43 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.2113, allocations: 31.97 kB / 0.7284 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002904/0.2116, allocations: 10.72 kB / 0.7284 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/0.2134, allocations: 1.327 MB / 0.7297 GB, free: 12.98 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.2137, allocations: 0.6922 MB / 0.7304 GB, free: 12.26 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.89e-05/0.2138, allocations: 8 kB / 0.7304 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.557e-05/0.2138, allocations: 23.42 kB / 0.7304 GB, free: 12.23 MB / 0.545 GB Notification: Performance of SimCode: time 2.71e-07/0.2138, allocations: 0 / 0.7304 GB, free: 12.23 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.2399, allocations: 1.847 MB / 0.7322 GB, free: 10.51 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.088/8.328, allocations: 9.578 kB / 0.7323 GB, free: 10.5 MB / 0.545 GB " [Timeout remaining time 652] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.473230391042307] Failed to read output from testmodel.py, exit status != 0: 8.398442919133231 8.424576397 8.214701987 Calling exit ...