Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001733/0.001733, allocations: 103.7 kB / 20.5 MB, free: 1.34 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002123/0.002123, allocations: 214 kB / 23.8 MB, free: 4.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 257.6 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9731/0.9731, allocations: 150 MB / 464 MB, free: 10.25 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") translateModel(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 61.53 kB / 0.6425 GB, free: 9.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1704, allocations: 89.18 MB / 0.7296 GB, free: 316 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.001857/0.1722, allocations: 0.7127 MB / 0.7303 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001459/0.1737, allocations: 1.186 MB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.1738, allocations: 0 / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.1738, allocations: 3.938 kB / 0.7314 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.1739, allocations: 15.86 kB / 0.7315 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005379/0.1744, allocations: 145.3 kB / 0.7316 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001904/0.1746, allocations: 127.7 kB / 0.7317 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.65e-05/0.1747, allocations: 16.16 kB / 0.7317 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.1748, allocations: 55.84 kB / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.379e-05/0.1749, allocations: 43.81 kB / 0.7318 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.1749, allocations: 12 kB / 0.7318 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.812e-05/0.175, allocations: 27.98 kB / 0.7319 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.188e-05/0.175, allocations: 7.984 kB / 0.7319 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.1751, allocations: 43.86 kB / 0.7319 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002032/0.1753, allocations: 127.5 kB / 0.732 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1753, allocations: 4 kB / 0.732 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.312e-06/0.1753, allocations: 4 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1753, allocations: 3.938 kB / 0.732 GB, free: 13.77 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005839/0.1759, allocations: 343.8 kB / 0.7324 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1759, allocations: 8.031 kB / 0.7324 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.176, allocations: 12.89 kB / 0.7324 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001173/0.1762, allocations: 122.4 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1762, allocations: 4.375 kB / 0.7325 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.1762, allocations: 12.38 kB / 0.7325 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1764, allocations: 78.16 kB / 0.7326 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1764, allocations: 3.938 kB / 0.7326 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.1764, allocations: 0 / 0.7326 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.1764, allocations: 0 / 0.7326 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000199/0.1766, allocations: 51.89 kB / 0.7327 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.1771, allocations: 268.4 kB / 0.7329 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001845/0.1773, allocations: 58.58 kB / 0.733 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.1774, allocations: 32.95 kB / 0.733 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.464e-05/0.1774, allocations: 0 / 0.733 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002513/0.1776, allocations: 99.33 kB / 0.7331 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=8): time 1.393e-06/0.1776, allocations: 0 / 0.7331 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8): time 0.0004639/0.1781, allocations: 149.5 kB / 0.7332 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.539e-05/0.1781, allocations: 51.41 kB / 0.7333 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1783, allocations: 125.8 kB / 0.7334 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.1783, allocations: 29.7 kB / 0.7334 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.1783, allocations: 96.09 kB / 0.7335 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.1784, allocations: 23.77 kB / 0.7335 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.72e-05/0.1785, allocations: 37.7 kB / 0.7336 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.1786, allocations: 326.8 kB / 0.7339 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.1788, allocations: 77.67 kB / 0.734 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002094/0.179, allocations: 122.8 kB / 0.7341 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.1793, allocations: 150.8 kB / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1793, allocations: 0 / 0.7342 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004784/0.1798, allocations: 249 kB / 0.7345 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.1798, allocations: 37.69 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.1798, allocations: 0 / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.1798, allocations: 3.938 kB / 0.7345 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.992e-05/0.1799, allocations: 15.98 kB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.1799, allocations: 4 kB / 0.7345 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.1801, allocations: 43.83 kB / 0.7346 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.1802, allocations: 4 kB / 0.7346 GB, free: 10.93 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001037/0.1803, allocations: 131.9 kB / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.1803, allocations: 7.953 kB / 0.7347 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.1806, allocations: 126 kB / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1806, allocations: 0 / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1806, allocations: 0 / 0.7348 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.1806, allocations: 11.89 kB / 0.7348 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.1806, allocations: 3.984 kB / 0.7348 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.047e-05/0.1807, allocations: 11.94 kB / 0.7348 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.1807, allocations: 11.98 kB / 0.7349 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003367/0.1811, allocations: 196.9 kB / 0.735 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003532/0.1814, allocations: 294.7 kB / 0.7353 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001085/0.1815, allocations: 27.97 kB / 0.7354 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.065e-05/0.1816, allocations: 98.66 kB / 0.7354 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of Backend: time 4.51e-07/0.1816, allocations: 4 kB / 0.7355 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006094/0.1822, allocations: 245.1 kB / 0.7357 GB, free: 9.727 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0005915/0.1828, allocations: 0.6207 MB / 0.7363 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of Templates: time 0.004568/0.1873, allocations: 1.804 MB / 0.7381 GB, free: 7.293 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.772001609904692] Failed to read output from testmodel.py, exit status != 0: 0.19541761209256947 0.20907824200000003 0.030740957000000003 Calling exit ...