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.001483/0.001483, allocations: 115 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.001669/0.001669, allocations: 186.9 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.44/1.44, allocations: 222.9 MB / 246.4 MB, free: 4.215 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.082/1.082, allocations: 147.6 MB / 446.2 MB, free: 8.414 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.002047/0.002047, allocations: 67.7 kB / 0.612 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1468/0.1488, 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.SunRiseSet): time 0.002041/0.1509, allocations: 0.8845 MB / 0.6941 GB, free: 12.46 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003124/0.1541, allocations: 2.467 MB / 0.6965 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.771e-05/0.1542, allocations: 5.188 kB / 0.6965 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.654e-05/0.1542, allocations: 15.75 kB / 0.6965 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002263/0.1545, allocations: 50.27 kB / 0.6966 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1556, allocations: 0.4937 MB / 0.697 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000361/0.156, allocations: 314.8 kB / 0.6973 GB, free: 9.891 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.451e-05/0.156, allocations: 14.48 kB / 0.6974 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.1562, allocations: 149 kB / 0.6975 GB, free: 9.805 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.1565, allocations: 150.8 kB / 0.6976 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.1565, allocations: 23.38 kB / 0.6977 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006789/0.1572, allocations: 370 kB / 0.698 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.1573, allocations: 72.36 kB / 0.6981 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001423/0.1575, allocations: 117 kB / 0.6982 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007712/0.1582, allocations: 0.5442 MB / 0.6987 GB, free: 8.945 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.692e-05/0.1583, allocations: 4 kB / 0.6987 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.128e-06/0.1583, allocations: 0 / 0.6987 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.132e-05/0.1583, allocations: 3.938 kB / 0.6987 GB, free: 8.938 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.001455/0.1598, allocations: 0.6752 MB / 0.6994 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.1598, allocations: 8.031 kB / 0.6994 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.16e-05/0.1599, allocations: 20.84 kB / 0.6994 GB, free: 8.184 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.16, allocations: 196.8 kB / 0.6996 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001739/0.1602, allocations: 135.3 kB / 0.6997 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.313e-05/0.1603, allocations: 16.38 kB / 0.6998 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.1607, allocations: 247.9 kB / 0.7 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1607, allocations: 0 / 0.7 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.1607, allocations: 11.98 kB / 0.7 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.1608, allocations: 4 kB / 0.7 GB, free: 7.477 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.161, allocations: 111.7 kB / 0.7001 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/0.1615, allocations: 399.1 kB / 0.7005 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001537/0.163, allocations: 499.2 kB / 0.701 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002381/0.1633, allocations: 158.3 kB / 0.7011 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/0.1634, allocations: 12 kB / 0.7011 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005025/0.1639, allocations: 311.6 kB / 0.7014 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 2.064e-06/0.1639, allocations: 3.938 kB / 0.7014 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.0008891/0.1648, allocations: 417.9 kB / 0.7018 GB, free: 5.32 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001932/0.165, allocations: 350.6 kB / 0.7022 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.1651, allocations: 174.1 kB / 0.7023 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.32e-05/0.1652, allocations: 41.64 kB / 0.7024 GB, free: 4.668 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.1653, allocations: 97.09 kB / 0.7025 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1654, allocations: 119.1 kB / 0.7026 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001504/0.1655, allocations: 98.12 kB / 0.7027 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1657, allocations: 334.8 kB / 0.703 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000289/0.166, allocations: 117 kB / 0.7031 GB, free: 3.902 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000335/0.1663, allocations: 169 kB / 0.7033 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005806/0.1669, allocations: 264.5 kB / 0.7035 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1669, allocations: 0 / 0.7035 GB, free: 3.461 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007839/0.1677, allocations: 375.5 kB / 0.7039 GB, free: 3.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.1678, allocations: 11.98 kB / 0.7039 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1678, allocations: 0 / 0.7039 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.1678, allocations: 4 kB / 0.7039 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.1682, allocations: 79.83 kB / 0.704 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1682, allocations: 3.984 kB / 0.704 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.1685, allocations: 47.77 kB / 0.704 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.1686, allocations: 19.98 kB / 0.704 GB, free: 2.926 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.0001777/0.1687, allocations: 162.4 kB / 0.7042 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.817e-05/0.1688, allocations: 31.8 kB / 0.7042 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006889/0.1695, allocations: 358 kB / 0.7046 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.1695, allocations: 8 kB / 0.7046 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.1696, allocations: 4 kB / 0.7046 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.326e-05/0.1696, allocations: 7.984 kB / 0.7046 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004139/0.17, allocations: 349.2 kB / 0.7049 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.17, allocations: 11.94 kB / 0.7049 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003042/0.1703, allocations: 72.16 kB / 0.705 GB, free: 1.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.686e-06/0.1703, allocations: 8 kB / 0.705 GB, free: 1.871 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.362e-05/0.1704, allocations: 23.98 kB / 0.705 GB, free: 1.848 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-06/0.1704, allocations: 4 kB / 0.705 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.1704, allocations: 4 kB / 0.705 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007587/0.1712, allocations: 498 kB / 0.7055 GB, free: 1.293 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.1714, allocations: 160.7 kB / 0.7057 GB, free: 1.117 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.005e-05/0.1714, allocations: 12 kB / 0.7057 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002348/0.1717, allocations: 27.97 kB / 0.7057 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001202/0.1718, allocations: 59.81 kB / 0.7058 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.1718, allocations: 23.98 kB / 0.7058 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001082/0.1719, allocations: 123.2 kB / 0.7059 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.1719, allocations: 4 kB / 0.7059 GB, free: 0.8711 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006129/0.1726, allocations: 223.1 kB / 0.7061 GB, free: 0.6523 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.0005605/0.1731, allocations: 328.6 kB / 0.7064 GB, free: 328 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007016/0.1738, allocations: 333.5 kB / 0.7067 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1739, allocations: 4 kB / 0.7067 GB, free: 15.99 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.1742, allocations: 188.6 kB / 0.7069 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002811/0.1745, allocations: 37.48 kB / 0.707 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.1755, allocations: 0.5862 MB / 0.7075 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.1759, allocations: 0.761 MB / 0.7083 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001366/0.176, allocations: 43.42 kB / 0.7083 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of SimCode: time 2.7e-07/0.176, allocations: 4 kB / 0.7083 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of Templates: time 0.008382/0.1844, allocations: 5.255 MB / 0.7135 GB, free: 9.039 MB / 0.5294 GB " [Timeout remaining time 660] 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: 8.109715769067407] Failed to read output from testmodel.py, exit status != 0: 0.4460530651267618 0.20441219100000002 0.043631981 Calling exit ...