Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.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.001316/0.001316, allocations: 104.8 kB / 17.07 MB, free: 5.969 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.001303/0.001303, 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.441/1.441, 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.118/1.118, allocations: 147.6 MB / 445.5 MB, free: 8.355 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.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 67.03 kB / 0.6114 GB, free: 37.75 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1614, allocations: 83.16 MB / 0.6926 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002115/0.1636, allocations: 0.8046 MB / 0.6934 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001848/0.1654, allocations: 1.288 MB / 0.6946 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.1655, allocations: 1.312 kB / 0.6946 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.549e-05/0.1656, allocations: 11.86 kB / 0.6946 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.471e-05/0.1657, allocations: 18.48 kB / 0.6947 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008943/0.1666, allocations: 330.9 kB / 0.695 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003647/0.1669, allocations: 303.9 kB / 0.6953 GB, free: 11.1 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.1671, allocations: 46.42 kB / 0.6953 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.1672, allocations: 111.1 kB / 0.6954 GB, free: 11.01 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002081/0.1674, allocations: 122.2 kB / 0.6955 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.51e-05/0.1675, allocations: 26.38 kB / 0.6956 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1676, allocations: 43.92 kB / 0.6956 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.137e-05/0.1677, allocations: 26.17 kB / 0.6956 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1678, allocations: 103.1 kB / 0.6957 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.1682, allocations: 264.6 kB / 0.696 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1682, allocations: 0 / 0.696 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1682, allocations: 0 / 0.696 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.1682, allocations: 0 / 0.696 GB, free: 10.61 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0007408/0.1689, allocations: 0.5202 MB / 0.6965 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.169, allocations: 13.62 kB / 0.6965 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.1691, allocations: 22.59 kB / 0.6965 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.1692, allocations: 188.8 kB / 0.6967 GB, free: 9.855 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.736e-05/0.1693, allocations: 17.75 kB / 0.6967 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.1693, allocations: 19.12 kB / 0.6967 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001831/0.1695, allocations: 88.02 kB / 0.6968 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.1695, allocations: 3.984 kB / 0.6968 GB, free: 9.777 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.1696, allocations: 5.375 kB / 0.6968 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.1696, allocations: 2.75 kB / 0.6968 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001076/0.1697, allocations: 48.67 kB / 0.6969 GB, free: 9.75 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00074/0.1704, allocations: 498.7 kB / 0.6973 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002496/0.1707, allocations: 71.5 kB / 0.6974 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.1708, allocations: 29.22 kB / 0.6974 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.345e-05/0.1708, allocations: 1.375 kB / 0.6974 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.171, allocations: 115.8 kB / 0.6976 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=14): time 3.587e-06/0.1711, allocations: 0 / 0.6976 GB, free: 9.133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=14): time 0.0004491/0.1715, allocations: 178 kB / 0.6977 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.661e-05/0.1716, allocations: 53.81 kB / 0.6978 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.1718, allocations: 162.8 kB / 0.6979 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.398e-05/0.1719, allocations: 33.7 kB / 0.698 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.172, allocations: 112.1 kB / 0.6981 GB, free: 8.676 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.172, allocations: 39.72 kB / 0.6981 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.1722, allocations: 69.67 kB / 0.6982 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.1724, allocations: 326.8 kB / 0.6985 GB, free: 8.234 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.1726, allocations: 95.94 kB / 0.6986 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/0.1729, allocations: 144.7 kB / 0.6987 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003598/0.1733, allocations: 248.9 kB / 0.699 GB, free: 7.699 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1733, allocations: 4 kB / 0.699 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007981/0.1741, allocations: 411.6 kB / 0.6993 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/0.1742, allocations: 105 kB / 0.6995 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1743, allocations: 0 / 0.6995 GB, free: 7.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.1743, allocations: 7.938 kB / 0.6995 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.1744, allocations: 12 kB / 0.6995 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.1744, allocations: 4 kB / 0.6995 GB, free: 7.125 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004858/0.1749, allocations: 87.97 kB / 0.6996 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.1749, allocations: 19.98 kB / 0.6996 GB, free: 7.02 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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.0001367/0.1751, allocations: 138.4 kB / 0.6997 GB, free: 6.875 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.1751, allocations: 15.84 kB / 0.6997 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/0.1751, allocations: 16.84 kB / 0.6997 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1751, allocations: 0 / 0.6997 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1751, allocations: 4 kB / 0.6997 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1752, allocations: 3.984 kB / 0.6997 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.1754, allocations: 217.6 kB / 0.7 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1754, allocations: 0 / 0.7 GB, free: 6.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.701e-05/0.1754, allocations: 11.94 kB / 0.7 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1755, allocations: 0 / 0.7 GB, free: 6.559 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.1755, allocations: 7.984 kB / 0.7 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1755, allocations: 0 / 0.7 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1755, allocations: 0 / 0.7 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.1757, allocations: 168.9 kB / 0.7001 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.1758, allocations: 92.94 kB / 0.7002 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.828e-05/0.1758, allocations: 0 / 0.7002 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.58e-05/0.1759, allocations: 8 kB / 0.7002 GB, free: 6.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.545e-05/0.1759, allocations: 7.984 kB / 0.7002 GB, free: 6.242 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1759, allocations: 7.984 kB / 0.7002 GB, free: 6.234 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.462e-05/0.176, allocations: 118.5 kB / 0.7004 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.176, allocations: 0 / 0.7004 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002703/0.1763, allocations: 55.94 kB / 0.7004 GB, free: 6.066 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: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002129/0.1765, allocations: 111.2 kB / 0.7005 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005539/0.1771, allocations: 386 kB / 0.7009 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1771, allocations: 0 / 0.7009 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.1772, allocations: 55.91 kB / 0.7009 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.1775, allocations: 34.69 kB / 0.701 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005402/0.178, allocations: 242.9 kB / 0.7012 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004203/0.1785, allocations: 0.7084 MB / 0.7019 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.1785, allocations: 12.64 kB / 0.7019 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.1786, allocations: 19.44 kB / 0.7019 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of SimCode: time 2.31e-07/0.1786, allocations: 0 / 0.7019 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of Templates: time 0.006517/0.1851, allocations: 2.798 MB / 0.7047 GB, free: 1.656 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.786996196955442] Failed to read output from testmodel.py, exit status != 0: 0.469379095826298 0.206806702 0.035840249000000005 Calling exit ...