Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.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.001462/0.001462, allocations: 108 kB / 20.33 MB, free: 1.582 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.001465/0.001465, allocations: 185.9 kB / 23.59 MB, free: 4.965 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.46/1.46, allocations: 225.6 MB / 252.3 MB, free: 13.04 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.9908/0.9908, allocations: 149.5 MB / 457.1 MB, free: 1.27 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 73.06 kB / 0.6332 GB, free: 9.121 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1664, allocations: 87.87 MB / 0.719 GB, free: 1.168 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001749/0.1681, allocations: 0.5409 MB / 0.7195 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 3.495e-05/0.1682, allocations: 0 / 0.7195 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.45e-05/0.1682, allocations: 0 / 0.7195 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.633e-05/0.1682, allocations: 0 / 0.7195 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.363e-05/0.1682, allocations: 3.938 kB / 0.7195 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 2.948e-05/0.1683, allocations: 0 / 0.7195 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.002e-05/0.1683, allocations: 4 kB / 0.7195 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 6.714e-05/0.1684, allocations: 4 kB / 0.7195 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.337e-05/0.1684, allocations: 0 / 0.7195 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.006e-05/0.1684, allocations: 7.984 kB / 0.7195 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.1685, allocations: 4 kB / 0.7195 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 3.497e-06/0.1685, allocations: 0 / 0.7195 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.1685, allocations: 0 / 0.7195 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.307e-05/0.1685, allocations: 3.938 kB / 0.7195 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 6.205e-05/0.1686, allocations: 3.984 kB / 0.7195 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1686, allocations: 0 / 0.7195 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.955e-06/0.1686, allocations: 0 / 0.7195 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.1686, allocations: 0 / 0.7195 GB, free: 0.6016 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003279/0.1689, allocations: 236.5 kB / 0.7197 GB, free: 348 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1689, allocations: 16.62 kB / 0.7198 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.714e-05/0.169, allocations: 0.9375 kB / 0.7198 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1691, allocations: 106.5 kB / 0.7199 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.1691, allocations: 384 / 0.7199 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.1691, allocations: 384 / 0.7199 GB, free: 200 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.594e-05/0.1692, allocations: 34.2 kB / 0.7199 GB, free: 160 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1692, allocations: 4.125 kB / 0.7199 GB, free: 156 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1692, allocations: 3.938 kB / 0.7199 GB, free: 152 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.1692, allocations: 0 / 0.7199 GB, free: 152 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.026e-05/0.1692, allocations: 7.984 kB / 0.7199 GB, free: 144 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.1696, allocations: 350.6 kB / 0.7203 GB, free: 15.75 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.1697, allocations: 181.5 kB / 0.7204 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.953e-05/0.1697, allocations: 80.14 kB / 0.7205 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/0.1698, allocations: 75.28 kB / 0.7206 GB, free: 15.41 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.1698, allocations: 109.9 kB / 0.7207 GB, free: 15.29 MB / 0.545 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.1698, allocations: 0 / 0.7207 GB, free: 15.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=0): time 8.09e-05/0.1699, allocations: 33.7 kB / 0.7207 GB, free: 15.25 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.166e-05/0.17, allocations: 126.7 kB / 0.7208 GB, free: 15.12 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.042e-05/0.1701, allocations: 97.84 kB / 0.7209 GB, free: 15.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.1701, allocations: 29.7 kB / 0.721 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.203e-05/0.1701, allocations: 84.27 kB / 0.721 GB, free: 14.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.994e-06/0.1701, allocations: 0 / 0.721 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.201e-05/0.1702, allocations: 17.59 kB / 0.721 GB, free: 14.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.1703, allocations: 310.8 kB / 0.7213 GB, free: 14.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.278e-06/0.1703, allocations: 0 / 0.7213 GB, free: 14.55 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.635e-06/0.1703, allocations: 0 / 0.7213 GB, free: 14.55 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/0.1703, allocations: 79.28 kB / 0.7214 GB, free: 14.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.264e-05/0.1704, allocations: 75.28 kB / 0.7215 GB, free: 14.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.585e-05/0.1704, allocations: 33.64 kB / 0.7215 GB, free: 14.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.1705, allocations: 83.28 kB / 0.7216 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.573e-05/0.1705, allocations: 83.2 kB / 0.7217 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.266e-05/0.1706, allocations: 154.6 kB / 0.7218 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.464e-05/0.1706, allocations: 75.28 kB / 0.7219 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.187e-05/0.1707, allocations: 158.5 kB / 0.7221 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.408e-05/0.1708, allocations: 75.28 kB / 0.7221 GB, free: 13.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.819e-05/0.1708, allocations: 83.22 kB / 0.7222 GB, free: 13.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.0001297/0.171, allocations: 260.3 kB / 0.7225 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.171, allocations: 116.9 kB / 0.7226 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.497e-05/0.1711, allocations: 104.1 kB / 0.7227 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.647e-05/0.1712, allocations: 180.2 kB / 0.7228 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.388e-05/0.1713, allocations: 180.3 kB / 0.723 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.087e-05/0.1713, allocations: 184.2 kB / 0.7232 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.1716, allocations: 376.2 kB / 0.7235 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.435e-05/0.1716, allocations: 105 kB / 0.7236 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-05/0.1717, allocations: 108.9 kB / 0.7237 GB, free: 11.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.382e-05/0.1718, allocations: 184.2 kB / 0.7239 GB, free: 11.78 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/0.1718, allocations: 180.2 kB / 0.7241 GB, free: 11.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.221e-05/0.1719, allocations: 180.6 kB / 0.7243 GB, free: 11.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.883e-05/0.172, allocations: 192.1 kB / 0.7244 GB, free: 11.22 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.1722, allocations: 311.8 kB / 0.7247 GB, free: 10.89 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.181e-05/0.1722, allocations: 108.9 kB / 0.7249 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.171e-05/0.1723, allocations: 176.3 kB / 0.725 GB, free: 10.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.918e-05/0.1724, allocations: 108.9 kB / 0.7251 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.532e-05/0.1725, allocations: 176.3 kB / 0.7253 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.791e-05/0.1725, allocations: 105 kB / 0.7254 GB, free: 10.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.041e-05/0.1726, allocations: 83.28 kB / 0.7255 GB, free: 10.11 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1726, allocations: 0 / 0.7255 GB, free: 10.11 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002469/0.1728, allocations: 0 / 0.7255 GB, free: 10.11 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001579/0.173, allocations: 182.4 kB / 0.7256 GB, free: 9.922 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 5.131e-05/0.173, allocations: 4 kB / 0.7256 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.173, allocations: 0 / 0.7256 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.173, allocations: 0 / 0.7256 GB, free: 9.918 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.1734, allocations: 459.7 kB / 0.7261 GB, free: 9.465 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002471/0.1737, allocations: 164.2 kB / 0.7262 GB, free: 9.277 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.174, allocations: 0.669 MB / 0.7269 GB, free: 8.582 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.983e-06/0.174, allocations: 0 / 0.7269 GB, free: 8.582 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.821e-05/0.174, allocations: 7.438 kB / 0.7269 GB, free: 8.574 MB / 0.545 GB Notification: Performance of SimCode: time 3.9e-07/0.174, allocations: 0 / 0.7269 GB, free: 8.574 MB / 0.545 GB Notification: Performance of Templates: time 0.00225/0.1763, allocations: 175.4 kB / 0.7271 GB, free: 8.406 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.602533505007159] Failed to read output from testmodel.py, exit status != 0: 0.18488800500927027 0.20111456900000002 0.029293825000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f9c14925840>