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.001329/0.001329, allocations: 111.4 kB / 17.08 MB, free: 5.973 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.001391/0.001392, allocations: 193.2 kB / 20.03 MB, free: 3.043 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.449/1.449, allocations: 222.9 MB / 245.7 MB, free: 4.203 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.127/1.127, allocations: 147.6 MB / 445.5 MB, free: 8.383 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.001971/0.001971, allocations: 66.05 kB / 0.6113 GB, free: 37.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1695, allocations: 83.16 MB / 0.6925 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002403/0.1719, allocations: 0.8778 MB / 0.6934 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004276/0.1763, allocations: 2.48 MB / 0.6958 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001164/0.1764, allocations: 1.375 kB / 0.6958 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 6.473e-05/0.1765, allocations: 15.8 kB / 0.6958 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002918/0.1768, allocations: 46.44 kB / 0.6959 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.1783, allocations: 0.4886 MB / 0.6964 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0005372/0.1789, allocations: 317.9 kB / 0.6967 GB, free: 9.859 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.602e-05/0.179, allocations: 23.28 kB / 0.6967 GB, free: 9.848 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.1793, allocations: 140.2 kB / 0.6968 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.1795, allocations: 151 kB / 0.697 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.737e-05/0.1796, allocations: 23.69 kB / 0.697 GB, free: 9.676 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007184/0.1803, allocations: 369 kB / 0.6973 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.715e-05/0.1804, allocations: 72.41 kB / 0.6974 GB, free: 9.461 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.1806, allocations: 125.1 kB / 0.6975 GB, free: 9.359 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008169/0.1814, allocations: 0.5451 MB / 0.6981 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.1814, allocations: 0 / 0.6981 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.043e-06/0.1814, allocations: 0 / 0.6981 GB, free: 8.812 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.1814, allocations: 0 / 0.6981 GB, free: 8.812 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.001538/0.183, allocations: 0.6713 MB / 0.6987 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.183, allocations: 12.03 kB / 0.6987 GB, free: 8.078 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.491e-05/0.1831, allocations: 20.84 kB / 0.6987 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.1834, allocations: 200.7 kB / 0.6989 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.1836, allocations: 127.4 kB / 0.6991 GB, free: 7.672 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.1836, allocations: 20.38 kB / 0.6991 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.1841, allocations: 251.8 kB / 0.6993 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1841, allocations: 0 / 0.6993 GB, free: 7.363 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.54e-05/0.1841, allocations: 8 kB / 0.6993 GB, free: 7.355 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.1841, allocations: 4 kB / 0.6993 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.1844, allocations: 111.8 kB / 0.6994 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.1849, allocations: 407.1 kB / 0.6998 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.1864, allocations: 491.2 kB / 0.7003 GB, free: 6.172 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002442/0.1867, allocations: 158.3 kB / 0.7004 GB, free: 5.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.803e-05/0.1867, allocations: 19.91 kB / 0.7005 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005608/0.1873, allocations: 311.6 kB / 0.7008 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=40): time 1.874e-06/0.1873, allocations: 0 / 0.7008 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.0008585/0.1882, allocations: 409 kB / 0.7012 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002383/0.1884, allocations: 354.6 kB / 0.7015 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1886, allocations: 173.4 kB / 0.7017 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.453e-05/0.1887, allocations: 37.7 kB / 0.7017 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.566e-05/0.1887, allocations: 105.1 kB / 0.7018 GB, free: 4.441 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.1889, allocations: 115 kB / 0.7019 GB, free: 4.328 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.189, allocations: 98.17 kB / 0.702 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1892, allocations: 330.8 kB / 0.7023 GB, free: 3.895 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002883/0.1895, allocations: 121 kB / 0.7024 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003319/0.1898, allocations: 172.9 kB / 0.7026 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005728/0.1904, allocations: 256.6 kB / 0.7028 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1904, allocations: 0 / 0.7028 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008006/0.1912, allocations: 393.1 kB / 0.7032 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1913, allocations: 4 kB / 0.7032 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1913, allocations: 0 / 0.7032 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.1913, allocations: 4 kB / 0.7032 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.1917, allocations: 79.88 kB / 0.7033 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.1917, allocations: 0 / 0.7033 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.192, allocations: 48.75 kB / 0.7033 GB, free: 2.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.192, allocations: 23.98 kB / 0.7034 GB, free: 2.797 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.0001671/0.1922, allocations: 158.4 kB / 0.7035 GB, free: 2.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.5e-05/0.1923, allocations: 39.7 kB / 0.7036 GB, free: 2.594 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/0.193, allocations: 362.1 kB / 0.7039 GB, free: 2.234 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.193, allocations: 8 kB / 0.7039 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.193, allocations: 4 kB / 0.7039 GB, free: 2.223 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.193, allocations: 8 kB / 0.7039 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004247/0.1935, allocations: 349.2 kB / 0.7042 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.1935, allocations: 7.938 kB / 0.7043 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/0.1938, allocations: 71.84 kB / 0.7043 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.1938, allocations: 8 kB / 0.7043 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.085e-05/0.1938, allocations: 19.98 kB / 0.7044 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.1939, allocations: 7.938 kB / 0.7044 GB, free: 1.711 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1939, allocations: 4 kB / 0.7044 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.1946, allocations: 0.4902 MB / 0.7048 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001928/0.1948, allocations: 152.7 kB / 0.705 GB, free: 0.9883 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.1949, allocations: 15.98 kB / 0.705 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.1952, allocations: 27.98 kB / 0.705 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.1953, allocations: 56.06 kB / 0.7051 GB, free: 0.8906 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.1954, allocations: 23.98 kB / 0.7051 GB, free: 0.8672 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.000126/0.1955, allocations: 127.2 kB / 0.7052 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1955, allocations: 0 / 0.7052 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006366/0.1962, allocations: 223.2 kB / 0.7054 GB, free: 0.5234 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.0006371/0.1968, allocations: 317.4 kB / 0.7057 GB, free: 208 kB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0007751/0.1976, allocations: 342.8 kB / 0.7061 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1976, allocations: 0 / 0.7061 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003155/0.1979, allocations: 204 kB / 0.7063 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.1982, allocations: 34.61 kB / 0.7063 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.1993, allocations: 0.5415 MB / 0.7068 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.1997, allocations: 0.7649 MB / 0.7076 GB, free: 14.24 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.1999, allocations: 50.67 kB / 0.7076 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.2, allocations: 55.41 kB / 0.7077 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of SimCode: time 2.5e-07/0.2, allocations: 0 / 0.7077 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of Templates: time 0.01168/0.2117, allocations: 5.675 MB / 0.7132 GB, free: 8.492 MB / 0.5294 GB " [Timeout remaining time 659] 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: 6.0609070509672165] Failed to read output from testmodel.py, exit status != 0: 0.5185729172080755 0.233131728 0.049025214000000004 Calling exit ...