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.00171/0.00171, allocations: 117.2 kB / 17.76 MB, free: 5.348 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.001917/0.001917, allocations: 188.6 kB / 20.69 MB, free: 2.418 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.46/1.46, allocations: 222.9 MB / 246.4 MB, free: 4.195 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.156/1.156, allocations: 147.6 MB / 446.2 MB, free: 8.305 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.001969/0.001969, allocations: 63.95 kB / 0.612 GB, free: 37.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1404, allocations: 83.16 MB / 0.6932 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002026/0.1425, allocations: 0.8899 MB / 0.6941 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003372/0.1458, allocations: 2.475 MB / 0.6965 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.188e-05/0.146, allocations: 5.312 kB / 0.6965 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/0.146, allocations: 15.8 kB / 0.6965 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.1463, allocations: 45.12 kB / 0.6966 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.1475, allocations: 0.4904 MB / 0.697 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0004101/0.1479, allocations: 321.5 kB / 0.6974 GB, free: 9.879 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.552e-05/0.148, allocations: 15.86 kB / 0.6974 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001942/0.1482, allocations: 135.4 kB / 0.6975 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002304/0.1485, allocations: 156 kB / 0.6976 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.82e-05/0.1485, allocations: 23.97 kB / 0.6977 GB, free: 9.703 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000719/0.1492, allocations: 368.3 kB / 0.698 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.207e-05/0.1493, allocations: 72.41 kB / 0.6981 GB, free: 9.488 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001344/0.1495, allocations: 110.3 kB / 0.6982 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009939/0.1505, allocations: 0.5544 MB / 0.6987 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.1505, allocations: 0 / 0.6987 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.643e-06/0.1505, allocations: 4 kB / 0.6987 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.1505, allocations: 4 kB / 0.6987 GB, free: 8.902 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.001683/0.1522, allocations: 0.6674 MB / 0.6994 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.1523, allocations: 12.03 kB / 0.6994 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1524, allocations: 20.84 kB / 0.6994 GB, free: 8.152 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.1527, allocations: 196.8 kB / 0.6996 GB, free: 7.918 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.1529, allocations: 131.4 kB / 0.6997 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.51e-05/0.153, allocations: 20.38 kB / 0.6998 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004476/0.1534, allocations: 255.8 kB / 0.7 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.1535, allocations: 0 / 0.7 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.1535, allocations: 8 kB / 0.7 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.024e-05/0.1535, allocations: 7.938 kB / 0.7 GB, free: 7.438 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002543/0.1538, allocations: 111.8 kB / 0.7001 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007423/0.1545, allocations: 395.1 kB / 0.7005 GB, free: 6.859 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.1561, allocations: 495.3 kB / 0.701 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002438/0.1564, allocations: 166.3 kB / 0.7011 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.187e-05/0.1564, allocations: 11.97 kB / 0.7011 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005139/0.157, allocations: 311.5 kB / 0.7014 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.753e-06/0.157, allocations: 0 / 0.7014 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.0008938/0.1579, allocations: 413.7 kB / 0.7018 GB, free: 5.289 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002284/0.1581, allocations: 358.1 kB / 0.7022 GB, free: 4.859 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001785/0.1583, allocations: 165.9 kB / 0.7023 GB, free: 4.684 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.815e-05/0.1584, allocations: 45.7 kB / 0.7024 GB, free: 4.633 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.242e-05/0.1584, allocations: 101.1 kB / 0.7025 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/0.1586, allocations: 115.1 kB / 0.7026 GB, free: 4.418 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001458/0.1588, allocations: 102.2 kB / 0.7027 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.1589, allocations: 330.8 kB / 0.703 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.1593, allocations: 117 kB / 0.7031 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.1597, allocations: 173 kB / 0.7033 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.1602, allocations: 260.3 kB / 0.7035 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1603, allocations: 0 / 0.7035 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008243/0.1611, allocations: 384.4 kB / 0.7039 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.1611, allocations: 4 kB / 0.7039 GB, free: 3.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.1611, allocations: 4 kB / 0.7039 GB, free: 3.039 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1611, allocations: 4 kB / 0.7039 GB, free: 3.035 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003889/0.1615, allocations: 83.81 kB / 0.704 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.1616, allocations: 4 kB / 0.704 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.1619, allocations: 47.75 kB / 0.704 GB, free: 2.902 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.242e-05/0.1619, allocations: 19.98 kB / 0.7041 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.0001814/0.1621, allocations: 157.7 kB / 0.7042 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.539e-05/0.1622, allocations: 35.78 kB / 0.7042 GB, free: 2.684 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007121/0.1629, allocations: 359.2 kB / 0.7046 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.517e-06/0.1629, allocations: 11.94 kB / 0.7046 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/0.1629, allocations: 4 kB / 0.7046 GB, free: 2.312 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.1629, allocations: 4 kB / 0.7046 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000408/0.1633, allocations: 345.2 kB / 0.7049 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.1634, allocations: 7.938 kB / 0.7049 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002983/0.1637, allocations: 75.84 kB / 0.705 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-06/0.1637, allocations: 4 kB / 0.705 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.1637, allocations: 19.98 kB / 0.705 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.72e-06/0.1637, allocations: 4 kB / 0.705 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.1637, allocations: 7.938 kB / 0.705 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007706/0.1645, allocations: 498 kB / 0.7055 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.1647, allocations: 156.7 kB / 0.7057 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.1648, allocations: 20.17 kB / 0.7057 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002339/0.165, allocations: 27.98 kB / 0.7057 GB, free: 1.039 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.1652, allocations: 55.86 kB / 0.7058 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.1652, allocations: 23.98 kB / 0.7058 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001035/0.1653, allocations: 123.2 kB / 0.7059 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1653, allocations: 0 / 0.7059 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006099/0.1659, allocations: 223.2 kB / 0.7061 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.000627/0.1666, allocations: 333.3 kB / 0.7064 GB, free: 292 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000712/0.1673, allocations: 338.4 kB / 0.7068 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.1673, allocations: 0 / 0.7068 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.1676, allocations: 191.7 kB / 0.7069 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.0002745/0.1679, allocations: 31.98 kB / 0.707 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.169, allocations: 0.5782 MB / 0.7075 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004205/0.1694, allocations: 0.7649 MB / 0.7083 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.1696, allocations: 47.41 kB / 0.7083 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of SimCode: time 2.21e-07/0.1696, allocations: 0 / 0.7083 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of Templates: time 0.008814/0.1784, allocations: 5.273 MB / 0.7135 GB, free: 9.004 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: 8.173674165969715] Failed to read output from testmodel.py, exit status != 0: 0.44680392695590854 0.19943243300000002 0.04631964 Calling exit ...