Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.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.001266/0.001266, allocations: 117.4 kB / 17.76 MB, free: 5.301 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.001341/0.001342, allocations: 188.5 kB / 20.69 MB, free: 2.371 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.418/1.418, allocations: 222.9 MB / 246.4 MB, free: 4.309 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.095/1.095, allocations: 147.6 MB / 446.2 MB, free: 8.281 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.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002905/0.002905, allocations: 66.08 kB / 0.612 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1657, allocations: 83.16 MB / 0.6933 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.002247/0.168, allocations: 0.7624 MB / 0.694 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001377/0.1694, allocations: 0.8637 MB / 0.6948 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.1695, allocations: 1.812 kB / 0.6948 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.91e-05/0.1695, allocations: 7.922 kB / 0.6949 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.1696, allocations: 7.875 kB / 0.6949 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.1699, allocations: 39.05 kB / 0.6949 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001686/0.17, allocations: 82.66 kB / 0.695 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.1702, allocations: 29.98 kB / 0.695 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.1703, allocations: 42.34 kB / 0.695 GB, free: 11.67 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.1705, allocations: 47.72 kB / 0.6951 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.1705, allocations: 8.406 kB / 0.6951 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 2.277e-05/0.1705, allocations: 11.44 kB / 0.6951 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 3.794e-05/0.1706, allocations: 19.11 kB / 0.6951 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.063e-05/0.1707, allocations: 38.38 kB / 0.6952 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001848/0.1709, allocations: 92.03 kB / 0.6953 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1709, allocations: 0 / 0.6953 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.664e-06/0.1709, allocations: 0 / 0.6953 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.1709, allocations: 0 / 0.6953 GB, free: 11.51 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.0007463/0.1716, allocations: 388.1 kB / 0.6956 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.1717, allocations: 9.625 kB / 0.6956 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.1717, allocations: 7.641 kB / 0.6956 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.1719, allocations: 181.7 kB / 0.6958 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.172, allocations: 7.125 kB / 0.6958 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.172, allocations: 8.438 kB / 0.6958 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003598/0.1724, allocations: 115.9 kB / 0.6959 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.1724, allocations: 0 / 0.6959 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1724, allocations: 1.375 kB / 0.6959 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1724, allocations: 1.375 kB / 0.6959 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003923/0.1728, allocations: 94.78 kB / 0.696 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.1734, allocations: 355 kB / 0.6964 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006671/0.1741, allocations: 118.9 kB / 0.6965 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.1744, allocations: 61.69 kB / 0.6965 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.1744, allocations: 7.922 kB / 0.6966 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.1744, allocations: 31.94 kB / 0.6966 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1744, allocations: 0 / 0.6966 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7): time 0.0007694/0.1752, allocations: 184.6 kB / 0.6968 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.1753, allocations: 52.88 kB / 0.6968 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1754, allocations: 125.4 kB / 0.6969 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.1754, allocations: 25.7 kB / 0.697 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.1755, allocations: 96.16 kB / 0.697 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.1756, allocations: 13.86 kB / 0.6971 GB, free: 9.832 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-05/0.1756, allocations: 31.12 kB / 0.6971 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1759, allocations: 321.1 kB / 0.6974 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.1761, allocations: 43.33 kB / 0.6974 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.1763, allocations: 49.58 kB / 0.6975 GB, free: 9.438 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00037/0.1766, allocations: 97.25 kB / 0.6976 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1767, allocations: 0 / 0.6976 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000447/0.1771, allocations: 140.7 kB / 0.6977 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.1771, allocations: 4.969 kB / 0.6977 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.1771, allocations: 0 / 0.6977 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.1772, allocations: 1.844 kB / 0.6977 GB, free: 9.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.1774, allocations: 27.09 kB / 0.6977 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1774, allocations: 9.094 kB / 0.6978 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.1775, allocations: 23.45 kB / 0.6978 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.1775, allocations: 9.172 kB / 0.6978 GB, free: 9.258 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,sub.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.0001072/0.1776, allocations: 113.3 kB / 0.6979 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.206e-05/0.1777, allocations: 6.953 kB / 0.6979 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.1777, allocations: 9.812 kB / 0.6979 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1777, allocations: 5.406 kB / 0.6979 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.1777, allocations: 0 / 0.6979 GB, free: 9.117 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.1778, allocations: 5.219 kB / 0.6979 GB, free: 9.113 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002638/0.178, allocations: 199.7 kB / 0.6981 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.178, allocations: 0 / 0.6981 GB, free: 8.887 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.1782, allocations: 24.62 kB / 0.6981 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1782, allocations: 0 / 0.6981 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.1782, allocations: 1.281 kB / 0.6981 GB, free: 8.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1782, allocations: 3.984 kB / 0.6981 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.1782, allocations: 1.312 kB / 0.6981 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/0.1788, allocations: 239 kB / 0.6984 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.263e-05/0.1788, allocations: 87.42 kB / 0.6984 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.1789, allocations: 0 / 0.6984 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.179, allocations: 11.42 kB / 0.6985 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.1791, allocations: 30.41 kB / 0.6985 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1791, allocations: 2.375 kB / 0.6985 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.094e-05/0.1792, allocations: 97.61 kB / 0.6986 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1792, allocations: 0 / 0.6986 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002371/0.1795, allocations: 12.38 kB / 0.6986 GB, free: 8.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: 3 (sub.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.0001568/0.1796, allocations: 105.7 kB / 0.6987 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004811/0.1801, allocations: 110.4 kB / 0.6988 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1801, allocations: 0 / 0.6988 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002076/0.1803, allocations: 57.73 kB / 0.6989 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.1807, allocations: 8.125 kB / 0.6989 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.1812, allocations: 202.6 kB / 0.6991 GB, free: 8.105 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.1816, allocations: 0.6888 MB / 0.6997 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.923e-05/0.1817, allocations: 22.3 kB / 0.6998 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1817, allocations: 7.875 kB / 0.6998 GB, free: 7.379 MB / 0.5137 GB Notification: Performance of Templates: time 0.003607/0.1853, allocations: 1.246 MB / 0.701 GB, free: 6.219 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.037961408030242] Failed to read output from testmodel.py, exit status != 0: 0.4760307699907571 0.206781304 0.033161626 Calling exit ...