Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.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.00145/0.00145, allocations: 114.8 kB / 19.59 MB, free: 2.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.001492/0.001492, allocations: 195.6 kB / 22.85 MB, free: 5.645 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.313/1.313, allocations: 225.6 MB / 251.5 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 179] 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.8892/0.8892, allocations: 149.5 MB / 456.3 MB, free: 1.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.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 68.66 kB / 0.6324 GB, free: 9.203 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1606, allocations: 87.87 MB / 0.7182 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.001751/0.1623, allocations: 0.6698 MB / 0.7188 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1636, allocations: 1.061 MB / 0.7199 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.694e-05/0.1636, allocations: 3.938 kB / 0.7199 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.139e-05/0.1637, allocations: 3.938 kB / 0.7199 GB, free: 15.51 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.971e-05/0.1637, allocations: 3.938 kB / 0.7199 GB, free: 15.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.164, allocations: 43.83 kB / 0.7199 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.457e-05/0.1641, allocations: 47.86 kB / 0.72 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.42e-05/0.1641, allocations: 11.98 kB / 0.72 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.549e-05/0.1642, allocations: 19.92 kB / 0.72 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.728e-05/0.1643, allocations: 27.91 kB / 0.72 GB, free: 15.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1643, allocations: 4 kB / 0.72 GB, free: 15.35 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.465e-05/0.1643, allocations: 15.98 kB / 0.72 GB, free: 15.34 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.986e-05/0.1644, allocations: 8 kB / 0.7201 GB, free: 15.33 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.1644, allocations: 23.86 kB / 0.7201 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.1645, allocations: 51.84 kB / 0.7201 GB, free: 15.25 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1645, allocations: 4 kB / 0.7201 GB, free: 15.25 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.72e-07/0.1645, allocations: 4 kB / 0.7201 GB, free: 15.25 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.1645, allocations: 0 / 0.7201 GB, free: 15.25 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005466/0.1651, allocations: 283.9 kB / 0.7204 GB, free: 14.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.1651, allocations: 8.625 kB / 0.7204 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.1651, allocations: 12.89 kB / 0.7204 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.1653, allocations: 118.5 kB / 0.7205 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.1653, allocations: 384 / 0.7205 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1653, allocations: 4.375 kB / 0.7205 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1655, allocations: 66.22 kB / 0.7206 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1655, allocations: 4.125 kB / 0.7206 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.1655, allocations: 3.938 kB / 0.7206 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1655, allocations: 4 kB / 0.7206 GB, free: 14.69 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.1657, allocations: 35.97 kB / 0.7207 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.1661, allocations: 259.8 kB / 0.7209 GB, free: 14.36 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001535/0.1662, allocations: 58.47 kB / 0.721 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.143e-05/0.1663, allocations: 24.97 kB / 0.721 GB, free: 14.27 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1663, allocations: 3.984 kB / 0.721 GB, free: 14.26 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.1665, allocations: 79.34 kB / 0.7211 GB, free: 14.17 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.1665, allocations: 0 / 0.7211 GB, free: 14.17 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.0003846/0.1669, allocations: 121.6 kB / 0.7212 GB, free: 14.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.167, allocations: 51.41 kB / 0.7212 GB, free: 13.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1671, allocations: 105.8 kB / 0.7213 GB, free: 13.87 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.1671, allocations: 29.7 kB / 0.7214 GB, free: 13.84 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.1672, allocations: 88.09 kB / 0.7214 GB, free: 13.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.1672, allocations: 19.89 kB / 0.7215 GB, free: 13.73 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.245e-05/0.1672, allocations: 21.72 kB / 0.7215 GB, free: 13.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1674, allocations: 318.8 kB / 0.7218 GB, free: 13.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.31e-05/0.1675, allocations: 23.98 kB / 0.7218 GB, free: 13.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.1676, allocations: 47.41 kB / 0.7219 GB, free: 13.3 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.1678, allocations: 87.2 kB / 0.7219 GB, free: 13.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1678, allocations: 0 / 0.7219 GB, free: 13.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002434/0.168, allocations: 105.6 kB / 0.722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.168, allocations: 7.984 kB / 0.722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.168, allocations: 4 kB / 0.722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.168, allocations: 0 / 0.722 GB, free: 13.08 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.997e-05/0.1681, allocations: 15.98 kB / 0.7221 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1682, allocations: 4 kB / 0.7221 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.223e-05/0.1682, allocations: 7.938 kB / 0.7221 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.1682, allocations: 4 kB / 0.7221 GB, free: 13.05 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.378e-05/0.1683, allocations: 128.3 kB / 0.7222 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.161e-05/0.1683, allocations: 3.953 kB / 0.7222 GB, free: 12.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002625/0.1686, allocations: 106 kB / 0.7223 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1686, allocations: 0 / 0.7223 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.1686, allocations: 0 / 0.7223 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1686, allocations: 0 / 0.7223 GB, free: 12.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004155/0.169, allocations: 337.5 kB / 0.7226 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.169, allocations: 0 / 0.7226 GB, free: 12.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.688e-05/0.1691, allocations: 12.61 kB / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.1691, allocations: 0 / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.1691, allocations: 0 / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1691, allocations: 0 / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1691, allocations: 0 / 0.7226 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.1694, allocations: 203.4 kB / 0.7228 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.556e-06/0.1694, allocations: 3.984 kB / 0.7228 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.1694, allocations: 7.938 kB / 0.7228 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/0.1695, allocations: 11.98 kB / 0.7229 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.962e-05/0.1695, allocations: 0 / 0.7229 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/0.1695, allocations: 7.938 kB / 0.7229 GB, free: 12.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.1696, allocations: 87.27 kB / 0.7229 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1696, allocations: 0 / 0.7229 GB, free: 12.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002302/0.1698, allocations: 12 kB / 0.723 GB, free: 12.06 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: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001381/0.1699, allocations: 103.2 kB / 0.7231 GB, free: 11.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002359/0.1702, allocations: 59.88 kB / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1702, allocations: 4 kB / 0.7231 GB, free: 11.89 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.976e-05/0.1703, allocations: 23.98 kB / 0.7231 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/0.1705, allocations: 24.19 kB / 0.7232 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.1708, allocations: 126.3 kB / 0.7233 GB, free: 11.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.1712, allocations: 0.6884 MB / 0.724 GB, free: 10.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.4e-05/0.1712, allocations: 11.67 kB / 0.724 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.437e-05/0.1712, allocations: 11.44 kB / 0.724 GB, free: 10.96 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1712, allocations: 0 / 0.724 GB, free: 10.96 MB / 0.545 GB Notification: Performance of Templates: time 0.003491/0.1747, allocations: 0.8154 MB / 0.7248 GB, free: 10.15 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.113246124237776] Failed to read output from testmodel.py, exit status != 0: 0.18212087359279394 0.19526531900000002 0.027905850000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f37313397b0>