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.001295/0.001295, allocations: 103.8 kB / 20.49 MB, free: 1.32 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.001402/0.001402, allocations: 216.8 kB / 23.79 MB, free: 4.465 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.4/1.4, allocations: 230.6 MB / 257.6 MB, free: 7.766 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.9273/0.9273, allocations: 150 MB / 464 MB, free: 10.24 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.00199/0.00199, allocations: 66.8 kB / 0.6425 GB, free: 9.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1653, allocations: 89.17 MB / 0.7296 GB, free: 240 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.00194/0.1672, allocations: 0.7397 MB / 0.7303 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.1683, allocations: 0.886 MB / 0.7312 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.553e-05/0.1683, allocations: 0 / 0.7312 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.1684, allocations: 11.81 kB / 0.7312 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.625e-05/0.1685, allocations: 15.86 kB / 0.7312 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001727/0.1686, allocations: 35.97 kB / 0.7312 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/0.1687, allocations: 87.81 kB / 0.7313 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.1689, allocations: 23.98 kB / 0.7313 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.678e-05/0.1689, allocations: 39.84 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.256e-05/0.169, allocations: 47.81 kB / 0.7314 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.169, allocations: 8 kB / 0.7314 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.772e-05/0.1691, allocations: 8 kB / 0.7314 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.888e-05/0.1691, allocations: 19.92 kB / 0.7315 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.1691, allocations: 27.84 kB / 0.7315 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1693, allocations: 91.61 kB / 0.7316 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.1693, allocations: 3.984 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1693, allocations: 4 kB / 0.7316 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.1693, allocations: 0 / 0.7316 GB, free: 14.18 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.000603/0.1699, allocations: 318 kB / 0.7319 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.1699, allocations: 8.031 kB / 0.7319 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.1699, allocations: 12.88 kB / 0.7319 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1701, allocations: 118.4 kB / 0.732 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.1701, allocations: 4.375 kB / 0.732 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.806e-05/0.1701, allocations: 8.375 kB / 0.732 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003018/0.1704, allocations: 109.5 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1704, allocations: 7.875 kB / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.1704, allocations: 0 / 0.7321 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.838e-06/0.1704, allocations: 4 kB / 0.7321 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003665/0.1708, allocations: 99.89 kB / 0.7322 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004795/0.1713, allocations: 268.3 kB / 0.7325 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006056/0.1719, allocations: 126.5 kB / 0.7326 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001874/0.1721, allocations: 52.8 kB / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.1721, allocations: 0 / 0.7327 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.1721, allocations: 34.56 kB / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 8.72e-07/0.1721, allocations: 0 / 0.7327 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7): time 0.0006537/0.1728, allocations: 185.4 kB / 0.7329 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/0.1728, allocations: 55.41 kB / 0.7329 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.1729, allocations: 121.8 kB / 0.733 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1729, allocations: 25.7 kB / 0.7331 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.173, allocations: 96.08 kB / 0.7332 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.173, allocations: 19.83 kB / 0.7332 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.827e-05/0.1731, allocations: 25.7 kB / 0.7332 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1732, allocations: 330.8 kB / 0.7335 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.1734, allocations: 43.95 kB / 0.7336 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.1736, allocations: 43.95 kB / 0.7336 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.1739, allocations: 92.78 kB / 0.7337 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.1739, allocations: 4 kB / 0.7337 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004119/0.1743, allocations: 145.4 kB / 0.7338 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/0.1743, allocations: 4 kB / 0.7338 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1743, allocations: 0.5469 kB / 0.7338 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1744, allocations: 4 kB / 0.7338 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.1745, allocations: 23.97 kB / 0.7339 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.1745, allocations: 0 / 0.7339 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000117/0.1747, allocations: 19.94 kB / 0.7339 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.1747, allocations: 7.922 kB / 0.7339 GB, free: 11.64 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 9.647e-05/0.1748, allocations: 113.8 kB / 0.734 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.1748, allocations: 4 kB / 0.734 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004628/0.1753, allocations: 153.9 kB / 0.7342 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.1753, allocations: 8 kB / 0.7342 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1753, allocations: 3.984 kB / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.1753, allocations: 0 / 0.7342 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/0.1754, allocations: 137.2 kB / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1754, allocations: 0 / 0.7343 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1756, allocations: 23.97 kB / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1756, allocations: 0 / 0.7343 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.1756, allocations: 4 kB / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1756, allocations: 4 kB / 0.7343 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1756, allocations: 3.938 kB / 0.7343 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004656/0.1761, allocations: 243.3 kB / 0.7346 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.376e-05/0.1761, allocations: 7.938 kB / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.1761, allocations: 4 kB / 0.7346 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.1763, allocations: 15.97 kB / 0.7346 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.1763, allocations: 23.95 kB / 0.7346 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.1764, allocations: 4 kB / 0.7346 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.754e-05/0.1764, allocations: 95.27 kB / 0.7347 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.1764, allocations: 0 / 0.7347 GB, free: 10.74 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000225/0.1766, allocations: 19.95 kB / 0.7347 GB, free: 10.72 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.0001187/0.1768, allocations: 102.4 kB / 0.7348 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004184/0.1772, allocations: 103.8 kB / 0.7349 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1772, allocations: 0 / 0.7349 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.1774, allocations: 63.89 kB / 0.735 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.1777, allocations: 9.875 kB / 0.735 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.1781, allocations: 178.2 kB / 0.7352 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.428e-05/0.1782, allocations: 75.33 kB / 0.7352 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.669e-05/0.1782, allocations: 12 kB / 0.7352 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.82e-05/0.1783, allocations: 19.42 kB / 0.7353 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.1783, allocations: 0 / 0.7353 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of Templates: time 0.004279/0.1826, allocations: 1.731 MB / 0.737 GB, free: 8.41 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.437018878990784] Failed to read output from testmodel.py, exit status != 0: 0.19050972699187696 0.20359561 0.031456769 Calling exit ...