Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.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.001639/0.001639, allocations: 113.8 kB / 17.75 MB, free: 5.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.00182/0.001821, allocations: 185.3 kB / 20.69 MB, free: 2.371 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.439/1.439, allocations: 222.9 MB / 246.4 MB, free: 4.297 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.183/1.183, allocations: 147.7 MB / 446.2 MB, free: 8.422 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.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 69.34 kB / 0.612 GB, free: 37.79 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1434, allocations: 83.16 MB / 0.6932 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002017/0.1455, allocations: 0.8975 MB / 0.6941 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003176/0.1487, allocations: 2.471 MB / 0.6965 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.454e-05/0.1488, allocations: 5.188 kB / 0.6965 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.624e-05/0.1488, allocations: 15.75 kB / 0.6965 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.1491, allocations: 41.53 kB / 0.6966 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001222/0.1503, allocations: 0.5019 MB / 0.6971 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003391/0.1507, allocations: 314.6 kB / 0.6974 GB, free: 9.898 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.199e-05/0.1507, allocations: 15.25 kB / 0.6974 GB, free: 9.895 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.1509, allocations: 136.3 kB / 0.6975 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002257/0.1511, allocations: 150.4 kB / 0.6976 GB, free: 9.727 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.1512, allocations: 28.75 kB / 0.6977 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006482/0.1519, allocations: 372.9 kB / 0.698 GB, free: 9.562 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.526e-05/0.152, allocations: 68.7 kB / 0.6981 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.1521, allocations: 113.5 kB / 0.6982 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007778/0.1529, allocations: 0.5532 MB / 0.6987 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1529, allocations: 0 / 0.6987 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1529, allocations: 0 / 0.6987 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.665e-06/0.1529, allocations: 3.984 kB / 0.6987 GB, free: 8.91 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.001462/0.1544, allocations: 0.6752 MB / 0.6994 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1544, allocations: 12.02 kB / 0.6994 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.565e-05/0.1545, allocations: 20.84 kB / 0.6994 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.1547, allocations: 192.8 kB / 0.6996 GB, free: 7.922 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001693/0.1549, allocations: 123.4 kB / 0.6997 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.908e-05/0.1549, allocations: 24.38 kB / 0.6998 GB, free: 7.754 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003897/0.1553, allocations: 243.9 kB / 0.7 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1553, allocations: 7.984 kB / 0.7 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.1554, allocations: 4 kB / 0.7 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1554, allocations: 8 kB / 0.7 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002496/0.1556, allocations: 123.7 kB / 0.7001 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.1561, allocations: 391.2 kB / 0.7005 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001509/0.1577, allocations: 491.3 kB / 0.701 GB, free: 6.277 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/0.1579, allocations: 162.3 kB / 0.7011 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.495e-05/0.158, allocations: 15.97 kB / 0.7011 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005315/0.1585, allocations: 315.5 kB / 0.7014 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.1585, allocations: 0 / 0.7014 GB, free: 5.707 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.0008849/0.1594, allocations: 422.1 kB / 0.7018 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000219/0.1596, allocations: 346.1 kB / 0.7022 GB, free: 4.871 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.1598, allocations: 173.4 kB / 0.7023 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.515e-05/0.1599, allocations: 37.7 kB / 0.7024 GB, free: 4.645 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.044e-05/0.1599, allocations: 101.1 kB / 0.7025 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.1601, allocations: 111.1 kB / 0.7026 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.1602, allocations: 106.2 kB / 0.7027 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1604, allocations: 334.8 kB / 0.703 GB, free: 3.988 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.1607, allocations: 113.1 kB / 0.7031 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000331/0.161, allocations: 168.9 kB / 0.7033 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005777/0.1616, allocations: 267.1 kB / 0.7035 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1616, allocations: 0 / 0.7035 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007969/0.1624, allocations: 381.4 kB / 0.7039 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1625, allocations: 8 kB / 0.7039 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1625, allocations: 0 / 0.7039 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.1625, allocations: 7.984 kB / 0.7039 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.1629, allocations: 79.81 kB / 0.704 GB, free: 2.965 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1629, allocations: 4 kB / 0.704 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.1632, allocations: 47.75 kB / 0.704 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.875e-05/0.1633, allocations: 23.98 kB / 0.7041 GB, free: 2.891 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.0001749/0.1634, allocations: 149.7 kB / 0.7042 GB, free: 2.734 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.475e-05/0.1635, allocations: 35.72 kB / 0.7042 GB, free: 2.699 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007032/0.1642, allocations: 363.3 kB / 0.7046 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.1642, allocations: 8 kB / 0.7046 GB, free: 2.332 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.1643, allocations: 4 kB / 0.7046 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.1643, allocations: 11.92 kB / 0.7046 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004122/0.1647, allocations: 341.2 kB / 0.7049 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1647, allocations: 7.938 kB / 0.7049 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003009/0.165, allocations: 75.84 kB / 0.705 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.165, allocations: 7.984 kB / 0.705 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.28e-05/0.1651, allocations: 16 kB / 0.705 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.1651, allocations: 4 kB / 0.705 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.1651, allocations: 8 kB / 0.705 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007741/0.1659, allocations: 498 kB / 0.7055 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001858/0.1661, allocations: 152.7 kB / 0.7057 GB, free: 1.102 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.577e-05/0.1661, allocations: 27.86 kB / 0.7057 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002425/0.1664, allocations: 31.97 kB / 0.7057 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.1665, allocations: 48.08 kB / 0.7058 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.1665, allocations: 23.98 kB / 0.7058 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001118/0.1667, allocations: 131.2 kB / 0.7059 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1667, allocations: 0 / 0.7059 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005861/0.1673, allocations: 219.2 kB / 0.7061 GB, free: 0.6289 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.0005641/0.1678, allocations: 333.3 kB / 0.7064 GB, free: 300 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007237/0.1686, allocations: 339.3 kB / 0.7068 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.1686, allocations: 4 kB / 0.7068 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003265/0.1689, allocations: 183.9 kB / 0.7069 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002804/0.1692, allocations: 31.98 kB / 0.707 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.1702, allocations: 0.5783 MB / 0.7075 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.1707, allocations: 0.7687 MB / 0.7083 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001433/0.1708, allocations: 47.41 kB / 0.7083 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of SimCode: time 2.71e-07/0.1708, allocations: 0 / 0.7083 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of Templates: time 0.008631/0.1795, allocations: 5.271 MB / 0.7135 GB, free: 9.008 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.194814573042095] Failed to read output from testmodel.py, exit status != 0: 0.45872551715001464 0.19988270800000002 0.044354305000000004 Calling exit ...