Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.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.001324/0.001324, allocations: 109 kB / 20.45 MB, free: 1.496 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.001506/0.001506, allocations: 208.6 kB / 23.75 MB, free: 4.727 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.453/1.453, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.9548/0.9548, allocations: 150 MB / 463.9 MB, free: 10.5 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.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer") [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.002045/0.002045, allocations: 67.53 kB / 0.6425 GB, free: 9.898 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1718, allocations: 89.17 MB / 0.7296 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Logical.Validation.Timer): time 0.00207/0.1738, allocations: 0.7343 MB / 0.7303 GB, free: 60 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001793/0.1756, allocations: 1.295 MB / 0.7316 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.639e-05/0.1757, allocations: 4 kB / 0.7316 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.153e-05/0.1757, allocations: 11.92 kB / 0.7316 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.925e-05/0.1758, allocations: 15.8 kB / 0.7316 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007395/0.1766, allocations: 245.2 kB / 0.7318 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003519/0.1769, allocations: 251.6 kB / 0.7321 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.706e-05/0.177, allocations: 16.22 kB / 0.7321 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001651/0.1772, allocations: 107.8 kB / 0.7322 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1774, allocations: 91.75 kB / 0.7323 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.01e-05/0.1774, allocations: 24 kB / 0.7323 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.364e-05/0.1775, allocations: 39.97 kB / 0.7323 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.736e-05/0.1776, allocations: 31.91 kB / 0.7324 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000118/0.1777, allocations: 91.75 kB / 0.7325 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003062/0.178, allocations: 231.2 kB / 0.7327 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.178, allocations: 0 / 0.7327 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.502e-06/0.178, allocations: 0 / 0.7327 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.178, allocations: 0 / 0.7327 GB, free: 13.61 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007658/0.1788, allocations: 425.3 kB / 0.7331 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1788, allocations: 8.031 kB / 0.7331 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.1789, allocations: 16.89 kB / 0.7331 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005709/0.1794, allocations: 205.3 kB / 0.7333 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.1795, allocations: 8.375 kB / 0.7333 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.1795, allocations: 28.36 kB / 0.7333 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.1798, allocations: 131.8 kB / 0.7335 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1798, allocations: 3.938 kB / 0.7335 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.772e-05/0.1798, allocations: 4 kB / 0.7335 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.1798, allocations: 0 / 0.7335 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001269/0.1799, allocations: 59.95 kB / 0.7335 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008559/0.1808, allocations: 499.7 kB / 0.734 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002724/0.181, allocations: 137.2 kB / 0.7341 GB, free: 11.98 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.294e-05/0.1811, allocations: 53.69 kB / 0.7342 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.987e-06/0.1812, allocations: 4 kB / 0.7342 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003784/0.1815, allocations: 202.2 kB / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.532e-06/0.1815, allocations: 4 kB / 0.7344 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22): time 0.0005877/0.1821, allocations: 309.4 kB / 0.7347 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.1822, allocations: 93.03 kB / 0.7348 GB, free: 11.28 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.1823, allocations: 132.8 kB / 0.7349 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.758e-05/0.1823, allocations: 37.7 kB / 0.7349 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.132e-05/0.1824, allocations: 96.59 kB / 0.735 GB, free: 11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/0.1825, allocations: 55.62 kB / 0.7351 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.1826, allocations: 73.67 kB / 0.7351 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1828, allocations: 334.8 kB / 0.7355 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001983/0.183, allocations: 88.22 kB / 0.7355 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002344/0.1832, allocations: 152.2 kB / 0.7357 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/0.1836, allocations: 243.4 kB / 0.7359 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.1836, allocations: 3.938 kB / 0.7359 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006318/0.1842, allocations: 364.7 kB / 0.7363 GB, free: 9.609 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.278e-05/0.1843, allocations: 63.39 kB / 0.7363 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.1843, allocations: 4 kB / 0.7363 GB, free: 9.531 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.1843, allocations: 4 kB / 0.7363 GB, free: 9.527 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.1844, allocations: 27.91 kB / 0.7364 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.1844, allocations: 3.938 kB / 0.7364 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003415/0.1848, allocations: 72.05 kB / 0.7364 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.1848, allocations: 15.98 kB / 0.7365 GB, free: 9.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001484/0.1849, allocations: 143.8 kB / 0.7366 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.185, allocations: 15.91 kB / 0.7366 GB, free: 9.246 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.185, allocations: 12.44 kB / 0.7366 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.185, allocations: 8 kB / 0.7366 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.185, allocations: 7.875 kB / 0.7366 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.185, allocations: 3.984 kB / 0.7366 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006702/0.1857, allocations: 0.5804 MB / 0.7372 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1857, allocations: 0 / 0.7372 GB, free: 8.586 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.1857, allocations: 15.92 kB / 0.7372 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.1857, allocations: 3.938 kB / 0.7372 GB, free: 8.566 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.1858, allocations: 12 kB / 0.7372 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.1858, allocations: 0 / 0.7372 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1858, allocations: 7.984 kB / 0.7372 GB, free: 8.547 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004483/0.1862, allocations: 421 kB / 0.7376 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.64e-05/0.1862, allocations: 15.89 kB / 0.7377 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.799e-05/0.1863, allocations: 11.92 kB / 0.7377 GB, free: 8.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.1864, allocations: 11.98 kB / 0.7377 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.825e-05/0.1865, allocations: 27.89 kB / 0.7377 GB, free: 8.055 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.148e-05/0.1865, allocations: 15.98 kB / 0.7377 GB, free: 8.039 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.873e-05/0.1866, allocations: 99.27 kB / 0.7378 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1866, allocations: 96 / 0.7378 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003579/0.1869, allocations: 55.94 kB / 0.7379 GB, free: 7.887 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001588/0.1871, allocations: 125.3 kB / 0.738 GB, free: 7.758 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005155/0.1876, allocations: 314.6 kB / 0.7383 GB, free: 7.426 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1876, allocations: 4.438 kB / 0.7383 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1878, allocations: 83.88 kB / 0.7384 GB, free: 7.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004003/0.1882, allocations: 31.91 kB / 0.7384 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005693/0.1887, allocations: 298 kB / 0.7387 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.1891, allocations: 0.7086 MB / 0.7394 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.864e-05/0.1891, allocations: 23.42 kB / 0.7394 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of SimCode: time 2.8e-07/0.1891, allocations: 0 / 0.7394 GB, free: 6.215 MB / 0.5606 GB Notification: Performance of Templates: time 0.004513/0.1936, allocations: 2.272 MB / 0.7416 GB, free: 3.953 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.002982018981129] Failed to read output from testmodel.py, exit status != 0: 0.20210535801015794 0.21704418700000003 0.035898974 Calling exit ...