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.001521/0.001521, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001986/0.001986, allocations: 212.5 kB / 22.99 MB, free: 4.605 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.662/1.662, allocations: 230.6 MB / 256.8 MB, free: 7.785 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 0.9894/0.9894, allocations: 149.9 MB / 463 MB, free: 10.32 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.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.002264/0.002264, allocations: 63.56 kB / 0.6411 GB, free: 10.11 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1715, allocations: 89.18 MB / 0.7282 GB, free: 1 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.GreaterThreshold): time 0.002015/0.1735, allocations: 0.6794 MB / 0.7288 GB, free: 328 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1746, allocations: 0.8549 MB / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.955e-05/0.1747, allocations: 0 / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.691e-05/0.1747, allocations: 11.92 kB / 0.7297 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.785e-05/0.1748, allocations: 3.938 kB / 0.7297 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.1749, allocations: 19.92 kB / 0.7297 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.614e-05/0.175, allocations: 55.83 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.688e-05/0.1751, allocations: 11.94 kB / 0.7298 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.374e-05/0.1752, allocations: 15.98 kB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.362e-05/0.1753, allocations: 23.84 kB / 0.7298 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.1753, allocations: 4 kB / 0.7298 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.454e-05/0.1753, allocations: 8 kB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.209e-05/0.1753, allocations: 11.98 kB / 0.7298 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.389e-05/0.1754, allocations: 19.92 kB / 0.7298 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.1755, allocations: 48.02 kB / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1755, allocations: 0 / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1755, allocations: 0 / 0.7299 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.1755, allocations: 0 / 0.7299 GB, free: 15.22 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005125/0.176, allocations: 282.2 kB / 0.7302 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.176, allocations: 12.03 kB / 0.7302 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/0.1761, allocations: 34.73 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.1761, allocations: 8.938 kB / 0.7302 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.1762, allocations: 122.4 kB / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1762, allocations: 384 / 0.7303 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.005e-05/0.1763, allocations: 8.125 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.1765, allocations: 61.66 kB / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.1765, allocations: 0 / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.1765, allocations: 0 / 0.7304 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-06/0.1765, allocations: 4 kB / 0.7304 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002127/0.1767, allocations: 55.94 kB / 0.7305 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.1771, allocations: 251.9 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002117/0.1773, allocations: 62.55 kB / 0.7308 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1775, allocations: 28.91 kB / 0.7308 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.1775, allocations: 4 kB / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.1775, allocations: 34.56 kB / 0.7308 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 1.242e-06/0.1775, allocations: 0 / 0.7308 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0004289/0.1779, allocations: 113.5 kB / 0.7309 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.178, allocations: 51.41 kB / 0.731 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.1781, allocations: 117.9 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1781, allocations: 25.7 kB / 0.7311 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.1782, allocations: 80.14 kB / 0.7312 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.1782, allocations: 15.91 kB / 0.7312 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.155e-05/0.1782, allocations: 21.7 kB / 0.7312 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.1784, allocations: 318.7 kB / 0.7315 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.1785, allocations: 23.97 kB / 0.7315 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.482e-05/0.1786, allocations: 27.97 kB / 0.7316 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.1788, allocations: 57.05 kB / 0.7316 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1788, allocations: 0 / 0.7316 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002509/0.179, allocations: 89.62 kB / 0.7317 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.179, allocations: 7.938 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.179, allocations: 0 / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1791, allocations: 4 kB / 0.7317 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.1792, allocations: 11.98 kB / 0.7317 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.1792, allocations: 0 / 0.7317 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.123e-05/0.1793, allocations: 15.92 kB / 0.7318 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.1793, allocations: 3.938 kB / 0.7318 GB, free: 13.11 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: 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 9.961e-05/0.1794, allocations: 117.8 kB / 0.7319 GB, free: 12.99 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.1794, allocations: 3.953 kB / 0.7319 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.1794, allocations: 8 kB / 0.7319 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.1794, allocations: 4 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.1794, allocations: 7.938 kB / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.1794, allocations: 0 / 0.7319 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.1796, allocations: 136.7 kB / 0.732 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1796, allocations: 4 kB / 0.732 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.646e-05/0.1797, allocations: 7.984 kB / 0.732 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.1797, allocations: 7.984 kB / 0.732 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.555e-06/0.1797, allocations: 0 / 0.732 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1797, allocations: 0 / 0.732 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1797, allocations: 320 / 0.732 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003153/0.1801, allocations: 187.4 kB / 0.7322 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.25e-05/0.1801, allocations: 4 kB / 0.7322 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.1801, allocations: 0 / 0.7322 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.1802, allocations: 7.984 kB / 0.7322 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.65e-05/0.1802, allocations: 11.98 kB / 0.7322 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.1802, allocations: 0 / 0.7322 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.1803, allocations: 103.1 kB / 0.7323 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1803, allocations: 0 / 0.7323 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002282/0.1805, allocations: 8 kB / 0.7323 GB, free: 12.43 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 (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.0006482/0.1812, allocations: 0.7124 MB / 0.733 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002569/0.1814, allocations: 59.83 kB / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1814, allocations: 0 / 0.7331 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1816, allocations: 31.97 kB / 0.7331 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.1819, allocations: 5.875 kB / 0.7331 GB, free: 11.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.1836, allocations: 1.319 MB / 0.7344 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.844e-05/0.1836, allocations: 75.33 kB / 0.7345 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.851e-05/0.1837, allocations: 15.92 kB / 0.7345 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.143e-05/0.1837, allocations: 11.44 kB / 0.7345 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.1837, allocations: 4 kB / 0.7345 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.2134, allocations: 2.42 MB / 0.7369 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.5, allocations: 2.5 kB / 0.7369 GB, free: 7.801 MB / 0.5606 GB " [Timeout remaining time 648] (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: 15.590793406125158] Failed to read output from testmodel.py, exit status != 0: 11.602805666159838 11.618709388 11.440184822 Calling exit ...