Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.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.001595/0.001595, allocations: 114.6 kB / 19.69 MB, free: 2.199 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.001403/0.001403, allocations: 191.6 kB / 22.98 MB, free: 5.062 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.349/1.349, allocations: 225.6 MB / 251.8 MB, free: 13.03 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.905/0.905, allocations: 149.6 MB / 456.6 MB, free: 1.188 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.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 60.61 kB / 0.6328 GB, free: 9.027 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1635, allocations: 87.88 MB / 0.7186 GB, free: 1.055 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.004622/0.1682, allocations: 3.168 MB / 0.7217 GB, free: 13.87 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001624/0.1698, allocations: 0.9662 MB / 0.7227 GB, free: 12.9 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.17, allocations: 23.88 kB / 0.7227 GB, free: 12.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002395/0.1702, allocations: 75.25 kB / 0.7228 GB, free: 12.8 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1704, allocations: 95.11 kB / 0.7229 GB, free: 12.71 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.1709, allocations: 253.8 kB / 0.7231 GB, free: 12.46 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005742/0.1715, allocations: 0.5583 MB / 0.7237 GB, free: 11.9 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003277/0.1718, allocations: 179.9 kB / 0.7238 GB, free: 11.72 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.1721, allocations: 219 kB / 0.724 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.1723, allocations: 203 kB / 0.7242 GB, free: 11.3 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.609e-05/0.1724, allocations: 52 kB / 0.7243 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 6.278e-05/0.1725, allocations: 52 kB / 0.7243 GB, free: 11.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.637e-05/0.1726, allocations: 111.5 kB / 0.7244 GB, free: 11.09 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/0.1728, allocations: 238.7 kB / 0.7247 GB, free: 10.86 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006192/0.1734, allocations: 0.5913 MB / 0.7252 GB, free: 10.27 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1734, allocations: 3.938 kB / 0.7252 GB, free: 10.26 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1734, allocations: 4 kB / 0.7252 GB, free: 10.26 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.1734, allocations: 0 / 0.7252 GB, free: 10.26 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001129/0.1745, allocations: 0.6943 MB / 0.7259 GB, free: 9.535 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.138e-05/0.1746, allocations: 16.62 kB / 0.7259 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.887e-05/0.1746, allocations: 56.61 kB / 0.726 GB, free: 9.465 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006029/0.1753, allocations: 367 kB / 0.7263 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.674e-05/0.1753, allocations: 29.38 kB / 0.7264 GB, free: 9.051 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.805e-05/0.1753, allocations: 36.38 kB / 0.7264 GB, free: 9.016 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006834/0.176, allocations: 401.9 kB / 0.7268 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.715e-05/0.176, allocations: 0 / 0.7268 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.639e-05/0.1761, allocations: 16 kB / 0.7268 GB, free: 8.582 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1761, allocations: 8 kB / 0.7268 GB, free: 8.574 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005808/0.1767, allocations: 267.8 kB / 0.7271 GB, free: 8.312 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00184/0.1785, allocations: 1.27 MB / 0.7283 GB, free: 6.977 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006517/0.1792, allocations: 286.6 kB / 0.7286 GB, free: 6.688 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000253/0.1794, allocations: 133.3 kB / 0.7287 GB, free: 6.555 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.1795, allocations: 4 kB / 0.7287 GB, free: 6.551 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/0.1798, allocations: 177.5 kB / 0.7289 GB, free: 6.363 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.523e-06/0.1798, allocations: 0 / 0.7289 GB, free: 6.363 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.0007929/0.1806, allocations: 390.7 kB / 0.7293 GB, free: 5.977 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.093e-05/0.1806, allocations: 85.11 kB / 0.7293 GB, free: 5.875 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.181, allocations: 345.6 kB / 0.7297 GB, free: 5.527 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.1811, allocations: 37.7 kB / 0.7297 GB, free: 5.484 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.1812, allocations: 232.7 kB / 0.7299 GB, free: 5.254 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/0.1813, allocations: 115.1 kB / 0.73 GB, free: 5.141 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00011/0.1814, allocations: 70.08 kB / 0.7301 GB, free: 5.062 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1816, allocations: 354.7 kB / 0.7304 GB, free: 4.707 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002196/0.1818, allocations: 100.7 kB / 0.7305 GB, free: 4.609 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002729/0.1821, allocations: 172.3 kB / 0.7307 GB, free: 4.414 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.1826, allocations: 255.9 kB / 0.7309 GB, free: 4.145 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.1826, allocations: 3.938 kB / 0.7309 GB, free: 4.141 MB / 0.545 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005958/0.1832, allocations: 358.6 kB / 0.7313 GB, free: 3.785 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.1832, allocations: 4 kB / 0.7313 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.1832, allocations: 4.188 kB / 0.7313 GB, free: 3.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1832, allocations: 7.938 kB / 0.7313 GB, free: 3.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002561/0.1834, allocations: 67.91 kB / 0.7314 GB, free: 3.703 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1835, allocations: 7.984 kB / 0.7314 GB, free: 3.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.1836, allocations: 35.77 kB / 0.7314 GB, free: 3.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.1837, allocations: 12 kB / 0.7314 GB, free: 3.648 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 14 (con.greaterEqualThreshold.y,con.hys.y,$PRE.con.hys.y,con.on,con.offTimer.entryTime,$PRE.con.offTimer.entryTime,con.onTimer.entryTime,$PRE.con.onTimer.entryTime,con.offHys.entryTime,$PRE.con.offHys.entryTime,$whenCondition1,$whenCondition2,$whenCondition3,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0001894/0.1838, allocations: 174.2 kB / 0.7316 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.515e-05/0.1839, allocations: 43.72 kB / 0.7316 GB, free: 3.426 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.469e-05/0.184, allocations: 52.23 kB / 0.7317 GB, free: 3.375 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.184, allocations: 4 kB / 0.7317 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.184, allocations: 0 / 0.7317 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.184, allocations: 0 / 0.7317 GB, free: 3.371 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001085/0.1851, allocations: 0.7789 MB / 0.7324 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1851, allocations: 0 / 0.7324 GB, free: 2.539 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000229/0.1853, allocations: 55.91 kB / 0.7325 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.1853, allocations: 4 kB / 0.7325 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.1854, allocations: 4 kB / 0.7325 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1854, allocations: 4 kB / 0.7325 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1854, allocations: 4 kB / 0.7325 GB, free: 2.469 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008259/0.1862, allocations: 0.5248 MB / 0.733 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.1863, allocations: 59.77 kB / 0.7331 GB, free: 1.871 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.27e-05/0.1863, allocations: 12 kB / 0.7331 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001826/0.1865, allocations: 15.98 kB / 0.7331 GB, free: 1.844 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.602e-05/0.1866, allocations: 27.94 kB / 0.7331 GB, free: 1.816 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.1866, allocations: 8 kB / 0.7331 GB, free: 1.809 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002522/0.1869, allocations: 243.2 kB / 0.7334 GB, free: 1.57 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.1869, allocations: 0 / 0.7334 GB, free: 1.57 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000324/0.1872, allocations: 99.67 kB / 0.7335 GB, free: 1.473 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.greaterEqualThreshold.y) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * 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.0001314/0.1873, allocations: 111.9 kB / 0.7336 GB, free: 1.355 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005485/0.1879, allocations: 255.6 kB / 0.7338 GB, free: 1.105 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1879, allocations: 0 / 0.7338 GB, free: 1.105 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.1881, allocations: 119.9 kB / 0.7339 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004741/0.1886, allocations: 84.52 kB / 0.734 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.19, allocations: 0.8131 MB / 0.7348 GB, free: 76 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004624/0.1905, allocations: 0.8153 MB / 0.7356 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.1906, allocations: 39.27 kB / 0.7356 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.503e-05/0.1907, allocations: 31.44 kB / 0.7357 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.1907, allocations: 0 / 0.7357 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.008335/0.199, allocations: 3.883 MB / 0.7395 GB, free: 11.31 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Obsolete.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.631851391866803] Failed to read output from testmodel.py, exit status != 0: 0.20718003157526255 0.49130299099999997 0.31488281100000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f137a9a17b0>