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.001361/0.001361, allocations: 119 kB / 19.69 MB, free: 2.199 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.001579/0.001579, allocations: 222.8 kB / 23.01 MB, free: 5.047 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.544/1.544, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.005/1.005, allocations: 150 MB / 463.1 MB, free: 10.49 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: translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max") [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.002054/0.002054, allocations: 74.83 kB / 0.6417 GB, free: 9.879 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1908, allocations: 89.17 MB / 0.7288 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.002053/0.1929, allocations: 0.7679 MB / 0.7296 GB, free: 0 / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00113/0.194, allocations: 0.8938 MB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.179e-05/0.1941, allocations: 7.938 kB / 0.7304 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.806e-05/0.1941, allocations: 7.938 kB / 0.7305 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.58e-05/0.1942, allocations: 11.86 kB / 0.7305 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.1944, allocations: 43.89 kB / 0.7305 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.1945, allocations: 87.81 kB / 0.7306 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.1946, allocations: 16 kB / 0.7306 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.988e-05/0.1947, allocations: 47.83 kB / 0.7307 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.507e-05/0.1948, allocations: 47.83 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.144e-05/0.1948, allocations: 8 kB / 0.7307 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.759e-05/0.1949, allocations: 8 kB / 0.7307 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/0.1949, allocations: 27.91 kB / 0.7307 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.1949, allocations: 27.86 kB / 0.7308 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001452/0.1951, allocations: 99.53 kB / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1951, allocations: 0 / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1951, allocations: 0 / 0.7309 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.1951, allocations: 0 / 0.7309 GB, free: 14.66 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.0006349/0.1957, allocations: 322 kB / 0.7312 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1958, allocations: 8.031 kB / 0.7312 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.1958, allocations: 8.891 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.1959, allocations: 118.5 kB / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.1959, allocations: 4.375 kB / 0.7313 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.196, allocations: 4.375 kB / 0.7313 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/0.1963, allocations: 109.5 kB / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1963, allocations: 0 / 0.7314 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1963, allocations: 7.922 kB / 0.7314 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.1963, allocations: 4 kB / 0.7314 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.1967, allocations: 103.9 kB / 0.7315 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.1972, allocations: 315.7 kB / 0.7318 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.1978, allocations: 114.6 kB / 0.7319 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.198, allocations: 48.81 kB / 0.732 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.198, allocations: 7.938 kB / 0.732 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/0.198, allocations: 38.55 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 1.042e-06/0.198, allocations: 0 / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006404/0.1987, allocations: 193.4 kB / 0.7322 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.1987, allocations: 51.41 kB / 0.7323 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.1988, allocations: 127.6 kB / 0.7324 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.1988, allocations: 25.7 kB / 0.7324 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.1989, allocations: 96.09 kB / 0.7325 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.1989, allocations: 23.83 kB / 0.7325 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.199, allocations: 21.7 kB / 0.7325 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1991, allocations: 318.8 kB / 0.7328 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001714/0.1993, allocations: 43.95 kB / 0.7329 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.1994, allocations: 43.95 kB / 0.7329 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003244/0.1998, allocations: 100.8 kB / 0.733 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1998, allocations: 0 / 0.733 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003956/0.2002, allocations: 141.5 kB / 0.7332 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.2002, allocations: 7.984 kB / 0.7332 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.706e-06/0.2002, allocations: 0 / 0.7332 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.2002, allocations: 8 kB / 0.7332 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.2004, allocations: 23.97 kB / 0.7332 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2004, allocations: 0 / 0.7332 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.2005, allocations: 19.88 kB / 0.7332 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-06/0.2005, allocations: 0 / 0.7332 GB, free: 12.07 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.0001011/0.2006, allocations: 117.8 kB / 0.7333 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.2006, allocations: 7.984 kB / 0.7333 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000443/0.2011, allocations: 149.9 kB / 0.7335 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.2011, allocations: 0 / 0.7335 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.178e-06/0.2011, allocations: 8 kB / 0.7335 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.2011, allocations: 3.938 kB / 0.7335 GB, free: 11.77 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002133/0.2013, allocations: 176.6 kB / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2013, allocations: 0 / 0.7337 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001595/0.2015, allocations: 27.97 kB / 0.7337 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.2015, allocations: 4 kB / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.2015, allocations: 0 / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.2015, allocations: 0 / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2015, allocations: 0 / 0.7337 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004554/0.2019, allocations: 247.2 kB / 0.7339 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.2019, allocations: 7.938 kB / 0.7339 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.202, allocations: 3.984 kB / 0.7339 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.2021, allocations: 11.98 kB / 0.7339 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.882e-05/0.2022, allocations: 23.91 kB / 0.734 GB, free: 11.22 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.2022, allocations: 4 kB / 0.734 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.502e-05/0.2023, allocations: 95.27 kB / 0.7341 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2023, allocations: 0 / 0.7341 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002258/0.2025, allocations: 19.95 kB / 0.7341 GB, free: 11.1 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.0001291/0.2026, allocations: 103.2 kB / 0.7342 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004095/0.203, allocations: 104.5 kB / 0.7343 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.203, allocations: 0 / 0.7343 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.2032, allocations: 59.95 kB / 0.7343 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.2035, allocations: 7.984 kB / 0.7343 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004748/0.204, allocations: 178.5 kB / 0.7345 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.2043, allocations: 0.6962 MB / 0.7352 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.189e-05/0.2044, allocations: 15.98 kB / 0.7352 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.296e-05/0.2044, allocations: 23.42 kB / 0.7352 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2044, allocations: 0 / 0.7352 GB, free: 9.859 MB / 0.5606 GB Notification: Performance of Templates: time 0.004424/0.2089, allocations: 1.625 MB / 0.7368 GB, free: 8.25 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.makefile [Timeout 660] (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 & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.087183900177479] Failed to read output from testmodel.py, exit status != 0: 0.2170258960686624 0.23086435900000002 0.032802005 Calling exit ...