Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.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.001308/0.001308, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001417/0.001417, allocations: 213.3 kB / 23.74 MB, free: 4.445 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.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.793 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 1.003/1.003, allocations: 149.9 MB / 463.8 MB, free: 10.37 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.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter") [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.002134/0.002134, allocations: 72.16 kB / 0.6423 GB, free: 9.629 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1715, allocations: 89.17 MB / 0.7294 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001865/0.1734, allocations: 0.6696 MB / 0.73 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001613/0.175, allocations: 1.213 MB / 0.7312 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.975e-05/0.175, allocations: 0 / 0.7312 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.175, allocations: 3.938 kB / 0.7312 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.139e-05/0.1751, allocations: 19.92 kB / 0.7312 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006631/0.1758, allocations: 222.4 kB / 0.7315 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.176, allocations: 179.7 kB / 0.7316 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.404e-05/0.1761, allocations: 4 kB / 0.7316 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1762, allocations: 71.88 kB / 0.7317 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.1764, allocations: 51.86 kB / 0.7317 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.977e-05/0.1764, allocations: 16 kB / 0.7318 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 8.642e-05/0.1765, allocations: 39.97 kB / 0.7318 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.895e-05/0.1765, allocations: 15.92 kB / 0.7318 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.794e-05/0.1766, allocations: 47.89 kB / 0.7319 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.000231/0.1768, allocations: 155.5 kB / 0.732 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.315e-06/0.1768, allocations: 4 kB / 0.732 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1768, allocations: 0 / 0.732 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.1768, allocations: 0 / 0.732 GB, free: 13.83 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005641/0.1774, allocations: 373.4 kB / 0.7324 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.1774, allocations: 8.031 kB / 0.7324 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.976e-05/0.1775, allocations: 12.89 kB / 0.7324 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.1776, allocations: 107.3 kB / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.1776, allocations: 12.31 kB / 0.7325 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.772e-05/0.1777, allocations: 12.36 kB / 0.7325 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1778, allocations: 53.62 kB / 0.7326 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.1778, allocations: 0 / 0.7326 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.638e-05/0.1778, allocations: 3.984 kB / 0.7326 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1778, allocations: 0 / 0.7326 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.929e-05/0.1779, allocations: 12 kB / 0.7326 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000497/0.1784, allocations: 292.3 kB / 0.7329 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.947e-05/0.1785, allocations: 26.58 kB / 0.7329 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.227e-05/0.1785, allocations: 20.94 kB / 0.7329 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.1785, allocations: 4 kB / 0.7329 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.1787, allocations: 87.3 kB / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.1787, allocations: 0 / 0.733 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=9): time 0.000286/0.179, allocations: 129.6 kB / 0.7331 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.179, allocations: 55.39 kB / 0.7332 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001203/0.1791, allocations: 128.5 kB / 0.7333 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.1792, allocations: 33.7 kB / 0.7333 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.1792, allocations: 92.36 kB / 0.7334 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.113e-05/0.1793, allocations: 19.89 kB / 0.7334 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.29e-05/0.1794, allocations: 49.69 kB / 0.7335 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.1795, allocations: 330.8 kB / 0.7338 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001819/0.1797, allocations: 123.4 kB / 0.7339 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002134/0.1799, allocations: 165.4 kB / 0.7341 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002302/0.1801, allocations: 185.3 kB / 0.7342 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.1801, allocations: 4 kB / 0.7343 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005151/0.1806, allocations: 348.2 kB / 0.7346 GB, free: 10.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.223e-05/0.1807, allocations: 67.39 kB / 0.7346 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1807, allocations: 0 / 0.7346 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.1807, allocations: 4.375 kB / 0.7347 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.1808, allocations: 7.938 kB / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.1808, allocations: 4 kB / 0.7347 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003218/0.1811, allocations: 63.98 kB / 0.7347 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.1811, allocations: 15.92 kB / 0.7347 GB, free: 10.74 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.000122/0.1813, allocations: 129.7 kB / 0.7349 GB, free: 10.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.1813, allocations: 7.953 kB / 0.7349 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.1813, allocations: 12.36 kB / 0.7349 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.1813, allocations: 4.078 kB / 0.7349 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1813, allocations: 0 / 0.7349 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1813, allocations: 0 / 0.7349 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.1816, allocations: 306.1 kB / 0.7352 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.1816, allocations: 4 kB / 0.7352 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-05/0.1816, allocations: 4 kB / 0.7352 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1816, allocations: 0 / 0.7352 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.1817, allocations: 0 / 0.7352 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1817, allocations: 0 / 0.7352 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1817, allocations: 0 / 0.7352 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002074/0.1819, allocations: 211.3 kB / 0.7354 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.385e-05/0.1819, allocations: 7.953 kB / 0.7354 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.1819, allocations: 0 / 0.7354 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.648e-05/0.182, allocations: 4 kB / 0.7354 GB, free: 10 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.182, allocations: 7.984 kB / 0.7354 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.393e-05/0.182, allocations: 8 kB / 0.7354 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.282e-05/0.1821, allocations: 95.2 kB / 0.7355 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1821, allocations: 0 / 0.7355 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002784/0.1823, allocations: 32 kB / 0.7355 GB, free: 9.859 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * 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.0001352/0.1825, allocations: 107.1 kB / 0.7356 GB, free: 9.746 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004072/0.1829, allocations: 290.1 kB / 0.7359 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1829, allocations: 192 / 0.7359 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.892e-05/0.183, allocations: 40.17 kB / 0.736 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.1833, allocations: 23.98 kB / 0.736 GB, free: 9.363 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003785/0.1836, allocations: 188.2 kB / 0.7362 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.604e-05/0.1837, allocations: 79.31 kB / 0.7362 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.1837, allocations: 11.44 kB / 0.7362 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.1837, allocations: 0 / 0.7362 GB, free: 9.035 MB / 0.5606 GB Notification: Performance of Templates: time 0.003445/0.1872, allocations: 1.5 MB / 0.7377 GB, free: 7.551 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.019252466969192] Failed to read output from testmodel.py, exit status != 0: 0.1959058283828199 0.21058008799999994 0.030653412 Calling exit ...