Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.001396/0.001396, allocations: 104.2 kB / 17.07 MB, free: 5.965 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.001425/0.001425, allocations: 193.2 kB / 20.03 MB, free: 3.035 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.436/1.436, allocations: 222.9 MB / 245.7 MB, free: 4.191 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.086/1.086, allocations: 147.6 MB / 445.5 MB, free: 8.348 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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 61.72 kB / 0.6113 GB, free: 37.86 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1667, allocations: 83.17 MB / 0.6925 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0019/0.1686, allocations: 0.5987 MB / 0.6931 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001125/0.1698, allocations: 0.8261 MB / 0.6939 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.14e-05/0.1698, allocations: 1.469 kB / 0.6939 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.659e-05/0.1699, allocations: 3.938 kB / 0.6939 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.217e-05/0.1699, allocations: 3.938 kB / 0.6939 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.1701, allocations: 16.28 kB / 0.694 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.954e-05/0.1702, allocations: 33.67 kB / 0.694 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.1703, allocations: 7.938 kB / 0.694 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.837e-05/0.1704, allocations: 7.984 kB / 0.694 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.086e-05/0.1704, allocations: 11.69 kB / 0.694 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.1705, allocations: 2.688 kB / 0.694 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.1705, allocations: 2.344 kB / 0.694 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.343e-05/0.1705, allocations: 13.56 kB / 0.694 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.1706, allocations: 9.281 kB / 0.694 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 9.956e-05/0.1707, allocations: 25.89 kB / 0.6941 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.1707, allocations: 4 kB / 0.6941 GB, free: 12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1707, allocations: 0 / 0.6941 GB, free: 12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.1707, allocations: 0 / 0.6941 GB, free: 12 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005344/0.1712, allocations: 334.2 kB / 0.6944 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1713, allocations: 9.25 kB / 0.6944 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.1713, allocations: 10.11 kB / 0.6944 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.1715, allocations: 167 kB / 0.6946 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1715, allocations: 384 / 0.6946 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.1715, allocations: 5.875 kB / 0.6946 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.1717, allocations: 58.28 kB / 0.6946 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.1717, allocations: 192 / 0.6946 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.1717, allocations: 5.25 kB / 0.6946 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.1718, allocations: 0 / 0.6946 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.1719, allocations: 35.47 kB / 0.6947 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.1723, allocations: 246.4 kB / 0.6949 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.1725, allocations: 51.67 kB / 0.695 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.625e-05/0.1726, allocations: 22.88 kB / 0.695 GB, free: 11.02 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1726, allocations: 5.047 kB / 0.695 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.1727, allocations: 31.75 kB / 0.695 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.1727, allocations: 0 / 0.695 GB, free: 10.97 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0003989/0.1731, allocations: 94.98 kB / 0.6951 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.1731, allocations: 51.41 kB / 0.6952 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.314e-05/0.1732, allocations: 103 kB / 0.6952 GB, free: 10.74 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1733, allocations: 25.7 kB / 0.6953 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.1733, allocations: 81.2 kB / 0.6954 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.1734, allocations: 20.91 kB / 0.6954 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.1734, allocations: 17.28 kB / 0.6954 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1736, allocations: 310.8 kB / 0.6957 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.557e-05/0.1737, allocations: 17.83 kB / 0.6957 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.754e-05/0.1738, allocations: 22.69 kB / 0.6957 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.1739, allocations: 37.14 kB / 0.6958 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.174, allocations: 8.062 kB / 0.6958 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002231/0.1742, allocations: 70.09 kB / 0.6958 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1742, allocations: 5.031 kB / 0.6958 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.1742, allocations: 3.938 kB / 0.6958 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.1742, allocations: 0 / 0.6958 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/0.1744, allocations: 10.02 kB / 0.6959 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.1744, allocations: 1.906 kB / 0.6959 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.986e-05/0.1744, allocations: 11.73 kB / 0.6959 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.65e-06/0.1744, allocations: 0 / 0.6959 GB, free: 10.16 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.764e-05/0.1746, allocations: 115.8 kB / 0.696 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.1746, allocations: 5.719 kB / 0.696 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.1746, allocations: 7.109 kB / 0.696 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1746, allocations: 1.906 kB / 0.696 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.1746, allocations: 0 / 0.696 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1746, allocations: 0 / 0.696 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002048/0.1748, allocations: 161.5 kB / 0.6961 GB, free: 9.828 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1749, allocations: 5.969 kB / 0.6961 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-05/0.1749, allocations: 9.828 kB / 0.6962 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.1749, allocations: 0 / 0.6962 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.844e-06/0.1749, allocations: 0 / 0.6962 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.175, allocations: 1.781 kB / 0.6962 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.175, allocations: 0 / 0.6962 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002835/0.1752, allocations: 175.4 kB / 0.6963 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.805e-05/0.1753, allocations: 82.84 kB / 0.6964 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.1753, allocations: 1.438 kB / 0.6964 GB, free: 9.559 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.344e-05/0.1754, allocations: 7.016 kB / 0.6964 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.675e-05/0.1755, allocations: 6.953 kB / 0.6964 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.1755, allocations: 0 / 0.6964 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.987e-05/0.1755, allocations: 87.67 kB / 0.6965 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1755, allocations: 0 / 0.6965 GB, free: 9.469 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002111/0.1758, allocations: 2.688 kB / 0.6965 GB, free: 9.469 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: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001081/0.1759, allocations: 99.59 kB / 0.6966 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002442/0.1761, allocations: 42.67 kB / 0.6966 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1761, allocations: 0 / 0.6966 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.1762, allocations: 21.7 kB / 0.6967 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.1765, allocations: 14.62 kB / 0.6967 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002872/0.1768, allocations: 106 kB / 0.6968 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.1772, allocations: 0.6762 MB / 0.6974 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.135e-05/0.1772, allocations: 2.938 kB / 0.6974 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.103e-05/0.1772, allocations: 10.12 kB / 0.6974 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1772, allocations: 0 / 0.6974 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of Templates: time 0.002864/0.1801, allocations: 0.6005 MB / 0.698 GB, free: 8.203 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.665806672070175] Failed to read output from testmodel.py, exit status != 0: 0.48313171369954944 0.20010176899999996 0.026820755 Calling exit ...