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.00153/0.00153, allocations: 107.1 kB / 17.07 MB, free: 5.969 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.001579/0.001579, allocations: 198.6 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.472/1.472, allocations: 222.9 MB / 245.7 MB, free: 4.191 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.167/1.167, allocations: 147.6 MB / 445.5 MB, free: 8.363 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.001903/0.001903, allocations: 69.41 kB / 0.6113 GB, free: 37.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1372, allocations: 83.17 MB / 0.6925 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001986/0.1392, allocations: 0.8887 MB / 0.6934 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003154/0.1424, allocations: 2.475 MB / 0.6958 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.525e-05/0.1424, allocations: 1.312 kB / 0.6958 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.684e-05/0.1425, allocations: 15.8 kB / 0.6958 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002126/0.1427, allocations: 49.81 kB / 0.6959 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.1438, allocations: 0.4902 MB / 0.6964 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003286/0.1442, allocations: 316.3 kB / 0.6967 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.1442, allocations: 20.05 kB / 0.6967 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002101/0.1444, allocations: 136.2 kB / 0.6968 GB, free: 9.812 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.1447, allocations: 155.7 kB / 0.697 GB, free: 9.711 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.894e-05/0.1447, allocations: 27.31 kB / 0.697 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006562/0.1454, allocations: 369.8 kB / 0.6973 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.973e-05/0.1455, allocations: 67.91 kB / 0.6974 GB, free: 9.496 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001382/0.1456, allocations: 113.8 kB / 0.6975 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007631/0.1464, allocations: 0.5483 MB / 0.6981 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1464, allocations: 0 / 0.6981 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.583e-06/0.1464, allocations: 0 / 0.6981 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.1464, allocations: 4 kB / 0.6981 GB, free: 8.906 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.1479, allocations: 0.6752 MB / 0.6987 GB, free: 8.18 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.1479, allocations: 11.97 kB / 0.6987 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.148, allocations: 20.84 kB / 0.6988 GB, free: 8.148 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.1482, allocations: 196.8 kB / 0.6989 GB, free: 7.914 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/0.1484, allocations: 131.4 kB / 0.6991 GB, free: 7.762 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.114e-05/0.1484, allocations: 24.36 kB / 0.6991 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000399/0.1488, allocations: 251.9 kB / 0.6993 GB, free: 7.449 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.1489, allocations: 3.938 kB / 0.6993 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.1489, allocations: 0 / 0.6993 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.618e-06/0.1489, allocations: 8 kB / 0.6993 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002409/0.1492, allocations: 107.8 kB / 0.6994 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.1497, allocations: 407.1 kB / 0.6998 GB, free: 6.852 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002026/0.1517, allocations: 495.3 kB / 0.7003 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003608/0.1521, allocations: 154.3 kB / 0.7005 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.1522, allocations: 15.97 kB / 0.7005 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000719/0.1529, allocations: 311.5 kB / 0.7008 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 3.015e-06/0.1529, allocations: 4 kB / 0.7008 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.001341/0.1543, allocations: 414 kB / 0.7012 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002711/0.1545, allocations: 354.1 kB / 0.7015 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002535/0.1548, allocations: 169.4 kB / 0.7017 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.47e-05/0.1549, allocations: 38.2 kB / 0.7017 GB, free: 4.637 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 9.739e-05/0.155, allocations: 105.1 kB / 0.7018 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.1552, allocations: 119.1 kB / 0.7019 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.1554, allocations: 98.17 kB / 0.702 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.1556, allocations: 330.8 kB / 0.7023 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004536/0.1561, allocations: 121 kB / 0.7024 GB, free: 3.863 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005173/0.1566, allocations: 169 kB / 0.7026 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009051/0.1575, allocations: 264.4 kB / 0.7028 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.1575, allocations: 0 / 0.7028 GB, free: 3.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001281/0.1588, allocations: 380.7 kB / 0.7032 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1589, allocations: 8 kB / 0.7032 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1589, allocations: 0 / 0.7032 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.1589, allocations: 8 kB / 0.7032 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005952/0.1595, allocations: 75.88 kB / 0.7033 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.1595, allocations: 4 kB / 0.7033 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004536/0.16, allocations: 51.75 kB / 0.7034 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.408e-05/0.1601, allocations: 19.98 kB / 0.7034 GB, free: 2.883 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.0002269/0.1603, allocations: 149.7 kB / 0.7035 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.1604, allocations: 31.8 kB / 0.7035 GB, free: 2.695 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.1615, allocations: 359.1 kB / 0.7039 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.1615, allocations: 15.94 kB / 0.7039 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.1616, allocations: 8.062 kB / 0.7039 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/0.1616, allocations: 0 / 0.7039 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006606/0.1623, allocations: 353.2 kB / 0.7042 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.1623, allocations: 7.875 kB / 0.7043 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/0.1628, allocations: 71.91 kB / 0.7043 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.1628, allocations: 8 kB / 0.7043 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.512e-05/0.1629, allocations: 19.98 kB / 0.7044 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/0.1629, allocations: 8 kB / 0.7044 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.1629, allocations: 3.938 kB / 0.7044 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.1641, allocations: 498 kB / 0.7048 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002612/0.1644, allocations: 152.8 kB / 0.705 GB, free: 1.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-05/0.1645, allocations: 19.98 kB / 0.705 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003817/0.1649, allocations: 31.98 kB / 0.705 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.165, allocations: 55.86 kB / 0.7051 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.124e-05/0.1651, allocations: 23.98 kB / 0.7051 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001642/0.1653, allocations: 127.2 kB / 0.7052 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/0.1653, allocations: 0 / 0.7052 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009447/0.1662, allocations: 219.2 kB / 0.7054 GB, free: 0.6211 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.0008329/0.1671, allocations: 333.3 kB / 0.7058 GB, free: 292 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001104/0.1682, allocations: 338.4 kB / 0.7061 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1682, allocations: 0 / 0.7061 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.1688, allocations: 188.3 kB / 0.7063 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.1692, allocations: 34.02 kB / 0.7063 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1706, allocations: 0.5492 MB / 0.7068 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005459/0.1712, allocations: 0.7649 MB / 0.7076 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003216/0.1715, allocations: 54.7 kB / 0.7076 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002033/0.1717, allocations: 51.41 kB / 0.7077 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of SimCode: time 5.41e-07/0.1717, allocations: 0 / 0.7077 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of Templates: time 0.01569/0.1874, allocations: 5.672 MB / 0.7132 GB, free: 8.586 MB / 0.5294 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: 6.11242864606902] Failed to read output from testmodel.py, exit status != 0: 0.4811600833199918 0.207838297 0.058784435 Calling exit ...