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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 108.5 kB / 17.07 MB, free: 6.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00143/0.001431, allocations: 190.8 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.483/1.483, allocations: 222.9 MB / 245.7 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.101/1.101, allocations: 147.6 MB / 445.5 MB, free: 8.328 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002261/0.002261, allocations: 75.61 kB / 0.6114 GB, free: 37.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1598, allocations: 83.16 MB / 0.6926 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Max): time 0.001951/0.1618, allocations: 0.7473 MB / 0.6933 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.1629, allocations: 0.8742 MB / 0.6942 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.285e-05/0.1629, allocations: 3.938 kB / 0.6942 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.002e-05/0.163, allocations: 7.875 kB / 0.6942 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.258e-05/0.1631, allocations: 9.953 kB / 0.6942 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001988/0.1633, allocations: 46.39 kB / 0.6942 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.1634, allocations: 86.94 kB / 0.6943 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1636, allocations: 22.67 kB / 0.6943 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.724e-05/0.1637, allocations: 35.97 kB / 0.6944 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.1638, allocations: 53.56 kB / 0.6944 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.741e-05/0.1639, allocations: 12.25 kB / 0.6944 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.971e-05/0.1639, allocations: 8.25 kB / 0.6944 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.099e-05/0.1639, allocations: 17.3 kB / 0.6945 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.862e-05/0.164, allocations: 38.66 kB / 0.6945 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.1641, allocations: 84.17 kB / 0.6946 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1642, allocations: 0 / 0.6946 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1642, allocations: 1.375 kB / 0.6946 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.1642, allocations: 0 / 0.6946 GB, free: 11.56 MB / 0.5137 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.0007595/0.1649, allocations: 390.8 kB / 0.6949 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.165, allocations: 9.625 kB / 0.695 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.165, allocations: 9.016 kB / 0.695 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.1652, allocations: 184.3 kB / 0.6951 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.993e-05/0.1652, allocations: 11.06 kB / 0.6951 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.509e-05/0.1653, allocations: 4.5 kB / 0.6952 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003138/0.1656, allocations: 105.4 kB / 0.6953 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.1656, allocations: 1.375 kB / 0.6953 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.1656, allocations: 4 kB / 0.6953 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.1656, allocations: 5.375 kB / 0.6953 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000387/0.166, allocations: 96.14 kB / 0.6954 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005587/0.1666, allocations: 345.7 kB / 0.6957 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006767/0.1673, allocations: 122.6 kB / 0.6958 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002121/0.1675, allocations: 59.48 kB / 0.6959 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.055e-05/0.1675, allocations: 9.125 kB / 0.6959 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.61e-05/0.1676, allocations: 31.72 kB / 0.6959 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.263e-06/0.1676, allocations: 4 kB / 0.6959 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0007059/0.1683, allocations: 171.8 kB / 0.6961 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.1684, allocations: 52.66 kB / 0.6961 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.1685, allocations: 134 kB / 0.6962 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1685, allocations: 25.7 kB / 0.6963 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1687, allocations: 95.97 kB / 0.6964 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.1687, allocations: 18.45 kB / 0.6964 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-05/0.1687, allocations: 23.8 kB / 0.6964 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001575/0.1689, allocations: 320.1 kB / 0.6967 GB, free: 9.535 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001976/0.1691, allocations: 43.98 kB / 0.6967 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001866/0.1693, allocations: 53.17 kB / 0.6968 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003837/0.1697, allocations: 106.6 kB / 0.6969 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.149e-05/0.1697, allocations: 4 kB / 0.6969 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004426/0.1702, allocations: 140.3 kB / 0.697 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.1702, allocations: 6.531 kB / 0.697 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1702, allocations: 0 / 0.697 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1702, allocations: 0 / 0.697 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001777/0.1704, allocations: 32.19 kB / 0.6971 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1704, allocations: 0 / 0.6971 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.1705, allocations: 19.33 kB / 0.6971 GB, free: 9.312 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.1706, allocations: 2.375 kB / 0.6971 GB, free: 9.312 MB / 0.5137 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.0001152/0.1707, allocations: 120.9 kB / 0.6972 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.127e-05/0.1707, allocations: 7.984 kB / 0.6972 GB, free: 9.184 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005041/0.1712, allocations: 143.8 kB / 0.6974 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.1712, allocations: 0 / 0.6974 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.1713, allocations: 1.812 kB / 0.6974 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.1713, allocations: 3.938 kB / 0.6974 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002442/0.1715, allocations: 207.8 kB / 0.6976 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1715, allocations: 3.938 kB / 0.6976 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.1717, allocations: 23.56 kB / 0.6976 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.1717, allocations: 1.438 kB / 0.6976 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.1717, allocations: 1.25 kB / 0.6976 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1717, allocations: 0 / 0.6976 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.1717, allocations: 3.984 kB / 0.6976 GB, free: 8.832 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005162/0.1723, allocations: 231.5 kB / 0.6978 GB, free: 8.648 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.1723, allocations: 91.7 kB / 0.6979 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.1723, allocations: 1.438 kB / 0.6979 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.1725, allocations: 10.8 kB / 0.6979 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.191e-05/0.1726, allocations: 26.78 kB / 0.6979 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.247e-06/0.1726, allocations: 1.375 kB / 0.6979 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001034/0.1727, allocations: 106.6 kB / 0.698 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1727, allocations: 0 / 0.698 GB, free: 8.426 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002337/0.173, allocations: 20.31 kB / 0.6981 GB, free: 8.418 MB / 0.5137 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.000136/0.1731, allocations: 94.38 kB / 0.6981 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004585/0.1736, allocations: 109.6 kB / 0.6983 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1736, allocations: 5.375 kB / 0.6983 GB, free: 8.277 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.1738, allocations: 61.67 kB / 0.6983 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003147/0.1741, allocations: 9.172 kB / 0.6983 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004484/0.1746, allocations: 170.8 kB / 0.6985 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.175, allocations: 0.6962 MB / 0.6992 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 6.388e-05/0.1751, allocations: 15.92 kB / 0.6992 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.84e-05/0.1752, allocations: 23.44 kB / 0.6992 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1752, allocations: 0 / 0.6992 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of Templates: time 0.004752/0.1799, allocations: 1.586 MB / 0.7008 GB, free: 5.734 MB / 0.5137 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: 5.819257735274732] Failed to read output from testmodel.py, exit status != 0: 0.47585388319566846 0.20164498199999994 0.034660527000000003 Calling exit ...