Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.001312/0.001312, allocations: 104.7 kB / 17.07 MB, free: 5.965 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.001319/0.001319, allocations: 194.7 kB / 20.03 MB, free: 3.035 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.466/1.466, allocations: 222.9 MB / 245.7 MB, free: 4.188 MB / 190.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 1.137/1.137, allocations: 147.6 MB / 445.5 MB, free: 8.328 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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 64.66 kB / 0.6113 GB, free: 37.65 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.169, allocations: 83.17 MB / 0.6926 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002142/0.1712, allocations: 0.8814 MB / 0.6934 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003399/0.1746, allocations: 2.469 MB / 0.6958 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.621e-05/0.1747, allocations: 0 / 0.6958 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.13e-05/0.1748, allocations: 11.81 kB / 0.6958 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.175, allocations: 54.42 kB / 0.6959 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1762, allocations: 0.4926 MB / 0.6964 GB, free: 10 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003646/0.1766, allocations: 321.6 kB / 0.6967 GB, free: 9.816 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.1766, allocations: 15.48 kB / 0.6967 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002118/0.1768, allocations: 136.8 kB / 0.6968 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002339/0.1771, allocations: 150.6 kB / 0.697 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.366e-05/0.1771, allocations: 23.97 kB / 0.697 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006919/0.1778, allocations: 373.8 kB / 0.6973 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.109e-05/0.1779, allocations: 72.16 kB / 0.6974 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.1781, allocations: 117.8 kB / 0.6975 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000783/0.1789, allocations: 0.5529 MB / 0.6981 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1789, allocations: 0 / 0.6981 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1789, allocations: 0 / 0.6981 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.1789, allocations: 0 / 0.6981 GB, free: 8.863 MB / 0.5137 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.001452/0.1803, allocations: 0.6713 MB / 0.6987 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.1804, allocations: 8.031 kB / 0.6987 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.699e-05/0.1805, allocations: 20.84 kB / 0.6987 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.1807, allocations: 192.8 kB / 0.6989 GB, free: 7.883 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.1808, allocations: 131.4 kB / 0.6991 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.1809, allocations: 20.38 kB / 0.6991 GB, free: 7.711 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.1813, allocations: 251.8 kB / 0.6993 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1813, allocations: 4 kB / 0.6993 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.1813, allocations: 4 kB / 0.6993 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.1814, allocations: 4 kB / 0.6993 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.1816, allocations: 119.7 kB / 0.6994 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.1821, allocations: 399.2 kB / 0.6998 GB, free: 6.82 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001529/0.1837, allocations: 495.3 kB / 0.7003 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002437/0.1839, allocations: 158.2 kB / 0.7004 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.558e-05/0.184, allocations: 11.94 kB / 0.7005 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005115/0.1845, allocations: 319.5 kB / 0.7008 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.984e-06/0.1845, allocations: 4 kB / 0.7008 GB, free: 5.656 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.000873/0.1854, allocations: 409 kB / 0.7012 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002155/0.1856, allocations: 354.1 kB / 0.7015 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.1858, allocations: 166.1 kB / 0.7017 GB, free: 4.648 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.1858, allocations: 38.2 kB / 0.7017 GB, free: 4.605 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.1859, allocations: 109 kB / 0.7018 GB, free: 4.496 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001221/0.1861, allocations: 115.1 kB / 0.7019 GB, free: 4.383 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.1862, allocations: 98.17 kB / 0.702 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.1864, allocations: 330.8 kB / 0.7023 GB, free: 3.949 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.1867, allocations: 117.1 kB / 0.7024 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.187, allocations: 168.9 kB / 0.7026 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/0.1877, allocations: 269.2 kB / 0.7028 GB, free: 3.391 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.1877, allocations: 4 kB / 0.7028 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008549/0.1886, allocations: 377.7 kB / 0.7032 GB, free: 3.016 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.1886, allocations: 9.719 kB / 0.7032 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.1886, allocations: 0 / 0.7032 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1886, allocations: 4 kB / 0.7032 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003919/0.189, allocations: 79.88 kB / 0.7033 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.189, allocations: 7.938 kB / 0.7033 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.1893, allocations: 52.75 kB / 0.7034 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.122e-05/0.1894, allocations: 19.98 kB / 0.7034 GB, free: 2.848 MB / 0.5137 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.0001953/0.1896, allocations: 153.7 kB / 0.7035 GB, free: 2.688 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.015e-05/0.1897, allocations: 31.8 kB / 0.7035 GB, free: 2.656 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007397/0.1904, allocations: 362.1 kB / 0.7039 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.1904, allocations: 12 kB / 0.7039 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.1905, allocations: 0 / 0.7039 GB, free: 2.285 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.1905, allocations: 7.984 kB / 0.7039 GB, free: 2.277 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.1909, allocations: 353.2 kB / 0.7042 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.1909, allocations: 3.938 kB / 0.7043 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.1912, allocations: 71.89 kB / 0.7043 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.1912, allocations: 8 kB / 0.7043 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/0.1912, allocations: 16 kB / 0.7043 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.347e-06/0.1912, allocations: 11.92 kB / 0.7044 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.1913, allocations: 4 kB / 0.7044 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007594/0.192, allocations: 498 kB / 0.7048 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.1923, allocations: 152.7 kB / 0.705 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.809e-05/0.1923, allocations: 19.98 kB / 0.705 GB, free: 1.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002394/0.1926, allocations: 31.97 kB / 0.705 GB, free: 1.004 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.1927, allocations: 52.08 kB / 0.7051 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.1928, allocations: 23.98 kB / 0.7051 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001141/0.1929, allocations: 131.2 kB / 0.7052 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.1929, allocations: 0 / 0.7052 GB, free: 0.8008 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005843/0.1935, allocations: 215.2 kB / 0.7054 GB, free: 0.5898 MB / 0.5137 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.0005851/0.1941, allocations: 340.7 kB / 0.7058 GB, free: 252 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006845/0.1948, allocations: 339.6 kB / 0.7061 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1948, allocations: 0 / 0.7061 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.1951, allocations: 187.7 kB / 0.7063 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/0.1954, allocations: 35.92 kB / 0.7063 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.1964, allocations: 0.5454 MB / 0.7068 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000382/0.1968, allocations: 0.761 MB / 0.7076 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001843/0.197, allocations: 51.31 kB / 0.7076 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.1971, allocations: 51.41 kB / 0.7077 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.1971, allocations: 0 / 0.7077 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.01109/0.2082, allocations: 5.652 MB / 0.7132 GB, free: 8.566 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.067505371756852] Failed to read output from testmodel.py, exit status != 0: 0.5198196158744395 0.22810078299999995 0.046586982000000006 Calling exit ...