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.001244/0.001244, allocations: 114.4 kB / 19.59 MB, free: 2.281 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.001381/0.001381, allocations: 189.7 kB / 22.85 MB, free: 5.664 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.338/1.338, allocations: 225.6 MB / 251.5 MB, free: 13.05 MB / 206.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 0.9131/0.9131, allocations: 149.5 MB / 456.3 MB, free: 1.316 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.001851/0.001851, allocations: 73.5 kB / 0.6324 GB, free: 9.152 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.165, allocations: 87.87 MB / 0.7182 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Subtract): time 0.001884/0.1669, allocations: 0.7667 MB / 0.719 GB, free: 444 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009759/0.1679, allocations: 0.874 MB / 0.7198 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.181e-05/0.1679, allocations: 0 / 0.7198 GB, free: 15.55 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.254e-05/0.168, allocations: 3.938 kB / 0.7198 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.848e-05/0.1681, allocations: 11.88 kB / 0.7198 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.1682, allocations: 35.94 kB / 0.7199 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.1683, allocations: 83.83 kB / 0.7199 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1684, allocations: 23.98 kB / 0.72 GB, free: 15.39 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.723e-05/0.1685, allocations: 39.84 kB / 0.72 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.1686, allocations: 51.83 kB / 0.7201 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.1686, allocations: 8 kB / 0.7201 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.1686, allocations: 8 kB / 0.7201 GB, free: 15.29 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.573e-05/0.1687, allocations: 19.91 kB / 0.7201 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.1687, allocations: 39.73 kB / 0.7201 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001287/0.1688, allocations: 87.66 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.1688, allocations: 3.938 kB / 0.7202 GB, free: 15.14 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1688, allocations: 0 / 0.7202 GB, free: 15.14 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.1688, allocations: 4 kB / 0.7202 GB, free: 15.13 MB / 0.545 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.0006167/0.1695, allocations: 315.4 kB / 0.7205 GB, free: 14.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.1695, allocations: 12.62 kB / 0.7205 GB, free: 14.79 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.1695, allocations: 8.891 kB / 0.7205 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.1697, allocations: 122.4 kB / 0.7207 GB, free: 14.63 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.1697, allocations: 8.312 kB / 0.7207 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/0.1697, allocations: 8.375 kB / 0.7207 GB, free: 14.62 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.17, allocations: 109.5 kB / 0.7208 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.17, allocations: 3.938 kB / 0.7208 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.17, allocations: 4 kB / 0.7208 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.17, allocations: 0 / 0.7208 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.1704, allocations: 95.91 kB / 0.7209 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005771/0.171, allocations: 319.7 kB / 0.7212 GB, free: 14.05 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005789/0.1715, allocations: 114.5 kB / 0.7213 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/0.1717, allocations: 52.88 kB / 0.7213 GB, free: 13.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1717, allocations: 8 kB / 0.7213 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1718, allocations: 34.56 kB / 0.7214 GB, free: 13.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.1718, allocations: 0 / 0.7214 GB, free: 13.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.0006336/0.1724, allocations: 181.5 kB / 0.7216 GB, free: 13.64 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.1724, allocations: 59.41 kB / 0.7216 GB, free: 13.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/0.1726, allocations: 129.7 kB / 0.7217 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.1726, allocations: 25.7 kB / 0.7218 GB, free: 13.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.906e-05/0.1727, allocations: 100.1 kB / 0.7219 GB, free: 13.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.1727, allocations: 11.86 kB / 0.7219 GB, free: 13.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.53e-05/0.1727, allocations: 25.7 kB / 0.7219 GB, free: 13.25 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.1729, allocations: 318.8 kB / 0.7222 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.1731, allocations: 47.95 kB / 0.7222 GB, free: 12.89 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001544/0.1732, allocations: 47.95 kB / 0.7223 GB, free: 12.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003143/0.1735, allocations: 100.7 kB / 0.7224 GB, free: 12.74 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1735, allocations: 0 / 0.7224 GB, free: 12.74 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003604/0.1739, allocations: 142 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.1739, allocations: 8 kB / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.657e-06/0.1739, allocations: 0 / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1739, allocations: 0 / 0.7225 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.1741, allocations: 23.97 kB / 0.7225 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1741, allocations: 80 / 0.7225 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.1742, allocations: 23.86 kB / 0.7226 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.486e-05/0.1742, allocations: 15.91 kB / 0.7226 GB, free: 12.52 MB / 0.545 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 8.778e-05/0.1743, allocations: 117.8 kB / 0.7227 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.121e-05/0.1743, allocations: 7.953 kB / 0.7227 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.923e-05/0.1744, allocations: 12.31 kB / 0.7227 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1744, allocations: 4 kB / 0.7227 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.1744, allocations: 0 / 0.7227 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.1744, allocations: 3.938 kB / 0.7227 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.1746, allocations: 168.7 kB / 0.7229 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1746, allocations: 4 kB / 0.7229 GB, free: 12.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000148/0.1747, allocations: 23.97 kB / 0.7229 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1747, allocations: 0 / 0.7229 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1747, allocations: 0 / 0.7229 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.1747, allocations: 0 / 0.7229 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1747, allocations: 0 / 0.7229 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.1752, allocations: 247.3 kB / 0.7231 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.611e-05/0.1752, allocations: 7.953 kB / 0.7232 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.1752, allocations: 3.984 kB / 0.7232 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.1753, allocations: 11.98 kB / 0.7232 GB, free: 11.85 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.1754, allocations: 23.91 kB / 0.7232 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1754, allocations: 11.98 kB / 0.7232 GB, free: 11.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.889e-05/0.1755, allocations: 91.27 kB / 0.7233 GB, free: 11.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1755, allocations: 8 kB / 0.7233 GB, free: 11.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002168/0.1757, allocations: 12 kB / 0.7233 GB, free: 11.71 MB / 0.545 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.0001208/0.1758, allocations: 95.25 kB / 0.7234 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004162/0.1762, allocations: 99.89 kB / 0.7235 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.1762, allocations: 4 kB / 0.7235 GB, free: 11.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001906/0.1764, allocations: 63.89 kB / 0.7236 GB, free: 11.44 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.1768, allocations: 7.984 kB / 0.7236 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004419/0.1772, allocations: 179.1 kB / 0.7237 GB, free: 11.23 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003104/0.1775, allocations: 0.6962 MB / 0.7244 GB, free: 10.51 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.551e-05/0.1776, allocations: 15.73 kB / 0.7244 GB, free: 10.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.936e-05/0.1776, allocations: 15.44 kB / 0.7244 GB, free: 10.48 MB / 0.545 GB Notification: Performance of SimCode: time 3e-07/0.1776, allocations: 4 kB / 0.7245 GB, free: 10.47 MB / 0.545 GB Notification: Performance of Templates: time 0.004193/0.1818, allocations: 1.63 MB / 0.726 GB, free: 8.855 MB / 0.545 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: 5.196324302814901] Failed to read output from testmodel.py, exit status != 0: 0.1894741328433156 0.202560489 0.030903642000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f450f55d7b0>