Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.001562/0.001562, allocations: 114.6 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.001869/0.001869, allocations: 186.8 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.383/1.383, allocations: 225.6 MB / 251.5 MB, free: 13.07 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.9385/0.9385, allocations: 149.5 MB / 456.3 MB, free: 1.297 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.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 64.03 kB / 0.6324 GB, free: 9.184 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1633, allocations: 87.88 MB / 0.7182 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002007/0.1653, allocations: 0.8921 MB / 0.7191 GB, free: 340 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003149/0.1685, allocations: 2.49 MB / 0.7215 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.171e-05/0.1686, allocations: 0 / 0.7215 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.59e-05/0.1686, allocations: 11.81 kB / 0.7215 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002008/0.1688, allocations: 51.56 kB / 0.7216 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.17, allocations: 0.4944 MB / 0.722 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003764/0.1704, allocations: 319.1 kB / 0.7223 GB, free: 12.95 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.094e-05/0.1704, allocations: 9.812 kB / 0.7223 GB, free: 12.94 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.1707, allocations: 151.6 kB / 0.7225 GB, free: 12.79 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.1709, allocations: 151.5 kB / 0.7226 GB, free: 12.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.1709, allocations: 24 kB / 0.7227 GB, free: 12.62 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006297/0.1716, allocations: 367.7 kB / 0.723 GB, free: 12.26 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.571e-05/0.1716, allocations: 71.78 kB / 0.7231 GB, free: 12.19 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.1718, allocations: 123.5 kB / 0.7232 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007064/0.1725, allocations: 0.5451 MB / 0.7237 GB, free: 11.52 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1725, allocations: 0 / 0.7237 GB, free: 11.52 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1725, allocations: 0 / 0.7237 GB, free: 11.52 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.251e-05/0.1725, allocations: 0 / 0.7237 GB, free: 11.52 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001316/0.1738, allocations: 0.596 MB / 0.7243 GB, free: 10.89 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1738, allocations: 8.625 kB / 0.7243 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.508e-05/0.1739, allocations: 24.84 kB / 0.7243 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.174, allocations: 143.9 kB / 0.7245 GB, free: 10.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.1742, allocations: 127.4 kB / 0.7246 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.1742, allocations: 20.38 kB / 0.7246 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.1746, allocations: 247.8 kB / 0.7249 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1746, allocations: 0 / 0.7249 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.1746, allocations: 8 kB / 0.7249 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.363e-06/0.1746, allocations: 4 kB / 0.7249 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002236/0.1749, allocations: 111.8 kB / 0.725 GB, free: 10.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/0.1753, allocations: 374.2 kB / 0.7253 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.1767, allocations: 479.2 kB / 0.7258 GB, free: 9.102 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002261/0.1769, allocations: 150.3 kB / 0.7259 GB, free: 8.918 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.1769, allocations: 15.92 kB / 0.7259 GB, free: 8.902 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000506/0.1774, allocations: 319.6 kB / 0.7263 GB, free: 8.539 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.104e-06/0.1775, allocations: 0 / 0.7263 GB, free: 8.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0008616/0.1783, allocations: 409.9 kB / 0.7266 GB, free: 8.133 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/0.1785, allocations: 358.6 kB / 0.727 GB, free: 7.703 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.1787, allocations: 172.6 kB / 0.7272 GB, free: 7.523 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.866e-05/0.1787, allocations: 41.7 kB / 0.7272 GB, free: 7.477 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.379e-05/0.1788, allocations: 101.1 kB / 0.7273 GB, free: 7.371 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.1789, allocations: 111.1 kB / 0.7274 GB, free: 7.262 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.1791, allocations: 98.11 kB / 0.7275 GB, free: 7.16 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1792, allocations: 330.8 kB / 0.7278 GB, free: 6.828 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002791/0.1795, allocations: 124.9 kB / 0.7279 GB, free: 6.707 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.1798, allocations: 168.5 kB / 0.7281 GB, free: 6.531 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.1804, allocations: 269.1 kB / 0.7283 GB, free: 6.262 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1804, allocations: 0 / 0.7283 GB, free: 6.262 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000755/0.1811, allocations: 392.5 kB / 0.7287 GB, free: 5.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.1811, allocations: 4 kB / 0.7287 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.1811, allocations: 0 / 0.7287 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1812, allocations: 4 kB / 0.7287 GB, free: 5.867 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003714/0.1815, allocations: 71.88 kB / 0.7288 GB, free: 5.797 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.547e-06/0.1815, allocations: 4 kB / 0.7288 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.1818, allocations: 51.75 kB / 0.7288 GB, free: 5.742 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.1819, allocations: 19.98 kB / 0.7289 GB, free: 5.723 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: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001602/0.182, allocations: 157.7 kB / 0.729 GB, free: 5.559 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.382e-05/0.1821, allocations: 27.8 kB / 0.729 GB, free: 5.531 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006595/0.1827, allocations: 362.9 kB / 0.7294 GB, free: 5.176 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.1828, allocations: 8 kB / 0.7294 GB, free: 5.168 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.411e-05/0.1828, allocations: 4 kB / 0.7294 GB, free: 5.164 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.1828, allocations: 4.188 kB / 0.7294 GB, free: 5.16 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004152/0.1832, allocations: 324.3 kB / 0.7297 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.959e-06/0.1832, allocations: 11.88 kB / 0.7297 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.1835, allocations: 67.91 kB / 0.7298 GB, free: 4.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.139e-05/0.1835, allocations: 11.98 kB / 0.7298 GB, free: 4.711 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.975e-05/0.1835, allocations: 16.23 kB / 0.7298 GB, free: 4.695 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.1835, allocations: 7.938 kB / 0.7298 GB, free: 4.688 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.1835, allocations: 8 kB / 0.7298 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007698/0.1843, allocations: 0.4924 MB / 0.7303 GB, free: 4.129 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001766/0.1845, allocations: 79.55 kB / 0.7304 GB, free: 4.051 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.986e-05/0.1845, allocations: 16 kB / 0.7304 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.1848, allocations: 31.97 kB / 0.7304 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1849, allocations: 51.8 kB / 0.7305 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.1849, allocations: 23.98 kB / 0.7305 GB, free: 3.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001069/0.185, allocations: 131.2 kB / 0.7306 GB, free: 3.801 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.185, allocations: 4 kB / 0.7306 GB, free: 3.797 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005736/0.1856, allocations: 219.2 kB / 0.7308 GB, free: 3.582 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * 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.000547/0.1861, allocations: 313 kB / 0.7311 GB, free: 3.266 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006371/0.1868, allocations: 319.2 kB / 0.7314 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1868, allocations: 0 / 0.7314 GB, free: 2.949 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.1871, allocations: 175.6 kB / 0.7316 GB, free: 2.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002574/0.1873, allocations: 37.42 kB / 0.7316 GB, free: 2.742 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.1883, allocations: 0.5543 MB / 0.7322 GB, free: 2.129 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.1886, allocations: 0.7688 MB / 0.7329 GB, free: 1.332 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001756/0.1888, allocations: 50.31 kB / 0.733 GB, free: 1.289 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000126/0.189, allocations: 55.41 kB / 0.733 GB, free: 1.234 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.189, allocations: 0 / 0.733 GB, free: 1.234 MB / 0.545 GB Notification: Performance of Templates: time 0.01079/0.1997, allocations: 5.891 MB / 0.7388 GB, free: 11.36 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.859868500381708] Failed to read output from testmodel.py, exit status != 0: 0.20767685305327177 0.488361395 0.31265683699999997 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2c8e6617b0>