Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.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.001318/0.001318, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001619/0.001619, allocations: 221.6 kB / 23 MB, free: 4.965 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.004/1.004, allocations: 149.9 MB / 463 MB, free: 10.34 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.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="IBPSA_latest_IBPSA_Controls_OBC_CDL_Integers_Validation_Max",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.002196/0.002196, allocations: 66.67 kB / 0.6411 GB, free: 10.12 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1796, allocations: 89.18 MB / 0.7282 GB, free: 1.008 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.002083/0.1817, allocations: 0.7343 MB / 0.7289 GB, free: 280 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001284/0.183, allocations: 0.89 MB / 0.7298 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.183, allocations: 0 / 0.7298 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.458e-05/0.1831, allocations: 7.922 kB / 0.7298 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.892e-05/0.1831, allocations: 11.88 kB / 0.7298 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001937/0.1833, allocations: 47.88 kB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.1835, allocations: 79.83 kB / 0.7299 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001148/0.1836, allocations: 19.98 kB / 0.7299 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.126e-05/0.1837, allocations: 39.84 kB / 0.73 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.307e-05/0.1838, allocations: 47.77 kB / 0.73 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.1838, allocations: 8 kB / 0.73 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.905e-05/0.1838, allocations: 12 kB / 0.73 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.172e-05/0.1838, allocations: 19.97 kB / 0.73 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.341e-05/0.1839, allocations: 23.86 kB / 0.7301 GB, free: 15.06 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.184, allocations: 95.88 kB / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.184, allocations: 0 / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.184, allocations: 0 / 0.7301 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.184, allocations: 0 / 0.7301 GB, free: 14.96 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006726/0.1847, allocations: 322 kB / 0.7305 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1848, allocations: 8.031 kB / 0.7305 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.324e-05/0.1848, allocations: 42.75 kB / 0.7305 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.076e-05/0.1848, allocations: 8.891 kB / 0.7305 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001449/0.185, allocations: 118.4 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/0.185, allocations: 8.375 kB / 0.7306 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.968e-05/0.185, allocations: 8.125 kB / 0.7306 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003147/0.1853, allocations: 108.5 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1853, allocations: 0 / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1854, allocations: 0 / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1854, allocations: 3.984 kB / 0.7307 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003739/0.1857, allocations: 103.9 kB / 0.7308 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00062/0.1864, allocations: 303.7 kB / 0.7311 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000611/0.187, allocations: 122.5 kB / 0.7313 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.1872, allocations: 52.81 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.1872, allocations: 4 kB / 0.7313 GB, free: 13.66 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.1872, allocations: 34.56 kB / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.1872, allocations: 0 / 0.7313 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006617/0.1879, allocations: 185.7 kB / 0.7315 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1879, allocations: 55.41 kB / 0.7316 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.1881, allocations: 124.7 kB / 0.7317 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.1881, allocations: 25.7 kB / 0.7317 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.1882, allocations: 100.1 kB / 0.7318 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.1882, allocations: 15.84 kB / 0.7318 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.206e-05/0.1882, allocations: 25.64 kB / 0.7318 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1884, allocations: 322.8 kB / 0.7322 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.1886, allocations: 43.95 kB / 0.7322 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.1887, allocations: 52.02 kB / 0.7322 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/0.1891, allocations: 92.78 kB / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1891, allocations: 0 / 0.7323 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004244/0.1895, allocations: 145.5 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.1895, allocations: 4 kB / 0.7325 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.1895, allocations: 4 kB / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.1895, allocations: 0 / 0.7325 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001689/0.1897, allocations: 27.91 kB / 0.7325 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1897, allocations: 3.938 kB / 0.7325 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.1898, allocations: 19.92 kB / 0.7325 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.1899, allocations: 4 kB / 0.7325 GB, free: 12.33 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 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001171/0.19, allocations: 117.8 kB / 0.7326 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.19, allocations: 4 kB / 0.7327 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.1905, allocations: 142 kB / 0.7328 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.1905, allocations: 11.92 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1905, allocations: 3.938 kB / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1905, allocations: 0 / 0.7328 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.1907, allocations: 164.6 kB / 0.733 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1907, allocations: 4 kB / 0.733 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.1909, allocations: 23.97 kB / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.1909, allocations: 0 / 0.733 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1909, allocations: 4 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.1909, allocations: 3.938 kB / 0.733 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.1909, allocations: 7.922 kB / 0.733 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004759/0.1914, allocations: 231.4 kB / 0.7332 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.722e-05/0.1914, allocations: 7.922 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.1914, allocations: 4 kB / 0.7332 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.1915, allocations: 15.98 kB / 0.7333 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.1916, allocations: 27.91 kB / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.1916, allocations: 0 / 0.7333 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.705e-05/0.1917, allocations: 99.2 kB / 0.7334 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1917, allocations: 0 / 0.7334 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002507/0.1919, allocations: 19.95 kB / 0.7334 GB, free: 11.38 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: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.00082/0.1928, allocations: 0.7632 MB / 0.7341 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004216/0.1932, allocations: 108.3 kB / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1932, allocations: 0 / 0.7342 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002023/0.1934, allocations: 64.09 kB / 0.7343 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.1937, allocations: 9.969 kB / 0.7343 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.196, allocations: 1.542 MB / 0.7358 GB, free: 8.789 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.413e-05/0.196, allocations: 71.58 kB / 0.7359 GB, free: 8.699 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.279e-05/0.1961, allocations: 12 kB / 0.7359 GB, free: 8.688 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.735e-05/0.1962, allocations: 27.42 kB / 0.7359 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.1962, allocations: 0 / 0.7359 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03212/0.2283, allocations: 3.349 MB / 0.7392 GB, free: 5.457 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.36/11.59, allocations: 6.656 kB / 0.7392 GB, free: 5.453 MB / 0.5606 GB " [Timeout remaining time 648] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max_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_Max.fmu > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.615185648668557] Failed to read output from testmodel.py, exit status != 0: 11.697093599941581 11.724738558 11.535364186 Calling exit ...