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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 75.75 kB / 20.51 MB, free: 1.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 164.8 kB / 23.76 MB, free: 4.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.453/1.453, allocations: 177.2 MB / 204.1 MB, free: 8.973 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9423/0.9423, allocations: 113.9 MB / 374.5 MB, free: 12.9 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 66.25 kB / 0.555 GB, free: 2.77 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1724, allocations: 89.16 MB / 0.6421 GB, free: 9.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002127/0.1745, allocations: 0.8088 MB / 0.6429 GB, free: 8.762 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00344/0.1779, allocations: 2.416 MB / 0.6452 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.178, allocations: 0 / 0.6452 GB, free: 6.324 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.193e-05/0.1781, allocations: 19.73 kB / 0.6452 GB, free: 6.305 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002211/0.1783, allocations: 51.61 kB / 0.6453 GB, free: 6.254 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.1796, allocations: 498.3 kB / 0.6458 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004139/0.18, allocations: 311.1 kB / 0.6461 GB, free: 5.461 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.18, allocations: 13.8 kB / 0.6461 GB, free: 5.449 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003324/0.1804, allocations: 155.6 kB / 0.6462 GB, free: 5.297 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002473/0.1806, allocations: 139.5 kB / 0.6464 GB, free: 5.16 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.698e-05/0.1807, allocations: 20 kB / 0.6464 GB, free: 5.141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007361/0.1814, allocations: 391.6 kB / 0.6468 GB, free: 4.758 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.553e-05/0.1815, allocations: 67.8 kB / 0.6468 GB, free: 4.691 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001278/0.1816, allocations: 99.61 kB / 0.6469 GB, free: 4.594 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008944/0.1825, allocations: 0.5724 MB / 0.6475 GB, free: 4.02 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.1825, allocations: 0 / 0.6475 GB, free: 4.02 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1825, allocations: 0 / 0.6475 GB, free: 4.02 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.1825, allocations: 0 / 0.6475 GB, free: 4.02 MB / 0.545 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.001454/0.184, allocations: 0.6156 MB / 0.6481 GB, free: 3.371 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.184, allocations: 8.031 kB / 0.6481 GB, free: 3.363 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001117/0.1852, allocations: 92.72 kB / 0.6482 GB, free: 3.273 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.1853, allocations: 138.9 kB / 0.6483 GB, free: 3.109 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/0.1855, allocations: 234.2 kB / 0.6485 GB, free: 2.832 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.535e-05/0.1856, allocations: 16.38 kB / 0.6485 GB, free: 2.816 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003945/0.186, allocations: 251.8 kB / 0.6488 GB, free: 2.527 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.186, allocations: 3.938 kB / 0.6488 GB, free: 2.523 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.186, allocations: 4 kB / 0.6488 GB, free: 2.52 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.186, allocations: 8 kB / 0.6488 GB, free: 2.512 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002511/0.1863, allocations: 111.8 kB / 0.6489 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004197/0.1867, allocations: 294.9 kB / 0.6492 GB, free: 2.051 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/0.1883, allocations: 487.3 kB / 0.6497 GB, free: 1.465 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.1885, allocations: 142.3 kB / 0.6498 GB, free: 1.289 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.15e-05/0.1885, allocations: 15.94 kB / 0.6498 GB, free: 1.273 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004908/0.189, allocations: 311.6 kB / 0.6501 GB, free: 0.918 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 3.287e-06/0.189, allocations: 0 / 0.6501 GB, free: 0.918 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0008682/0.1899, allocations: 421.6 kB / 0.6505 GB, free: 0.5 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002018/0.1901, allocations: 350.1 kB / 0.6508 GB, free: 80 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.1903, allocations: 173.6 kB / 0.651 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.757e-05/0.1903, allocations: 38.2 kB / 0.651 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.626e-05/0.1904, allocations: 93.14 kB / 0.6511 GB, free: 15.76 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.1905, allocations: 127 kB / 0.6512 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.1907, allocations: 90.17 kB / 0.6513 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1908, allocations: 338.8 kB / 0.6517 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002888/0.1911, allocations: 112.9 kB / 0.6518 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003256/0.1914, allocations: 164.4 kB / 0.6519 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005918/0.192, allocations: 272.4 kB / 0.6522 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.192, allocations: 0 / 0.6522 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008233/0.1929, allocations: 379.7 kB / 0.6525 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.1929, allocations: 15.92 kB / 0.6526 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1929, allocations: 0 / 0.6526 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.1929, allocations: 4 kB / 0.6526 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.1933, allocations: 71.89 kB / 0.6526 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.1933, allocations: 7.984 kB / 0.6526 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.1936, allocations: 43.77 kB / 0.6527 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.928e-05/0.1936, allocations: 19.98 kB / 0.6527 GB, free: 14.11 MB / 0.5606 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.0001663/0.1938, allocations: 164.9 kB / 0.6529 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.1939, allocations: 28.8 kB / 0.6529 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007066/0.1946, allocations: 370.5 kB / 0.6532 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.1946, allocations: 8 kB / 0.6532 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.1946, allocations: 4 kB / 0.6532 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.858e-06/0.1946, allocations: 7.922 kB / 0.6533 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000339/0.195, allocations: 252.9 kB / 0.6535 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.195, allocations: 0 / 0.6535 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002989/0.1953, allocations: 71.89 kB / 0.6536 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.544e-06/0.1953, allocations: 4 kB / 0.6536 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.108e-05/0.1953, allocations: 23.92 kB / 0.6536 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.056e-05/0.1953, allocations: 11.92 kB / 0.6536 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.1953, allocations: 8 kB / 0.6536 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007645/0.1961, allocations: 0.4887 MB / 0.6541 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001588/0.1962, allocations: 67.67 kB / 0.6542 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.071e-05/0.1963, allocations: 27.88 kB / 0.6542 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.1966, allocations: 27.98 kB / 0.6542 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.1967, allocations: 51.84 kB / 0.6543 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.1967, allocations: 23.94 kB / 0.6543 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001069/0.1968, allocations: 127.2 kB / 0.6544 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1968, allocations: 0 / 0.6544 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006119/0.1974, allocations: 231.2 kB / 0.6546 GB, free: 12.05 MB / 0.5606 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.0005996/0.198, allocations: 341 kB / 0.6549 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007095/0.1987, allocations: 322 kB / 0.6553 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1987, allocations: 0 / 0.6553 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003121/0.1991, allocations: 176.1 kB / 0.6554 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1993, allocations: 34.02 kB / 0.6555 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.2004, allocations: 0.557 MB / 0.656 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001518/0.2005, allocations: 151.7 kB / 0.6561 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001859/0.2007, allocations: 54.41 kB / 0.6562 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001284/0.2008, allocations: 44.48 kB / 0.6562 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of SimCode: time 4.91e-07/0.2008, allocations: 0 / 0.6562 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.01141/0.2122, allocations: 5.753 MB / 0.6619 GB, free: 4.594 MB / 0.5606 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.657308339024894] Failed to read output from testmodel.py, exit status != 0: 0.22110703901853412 0.23590302500000002 0.050223461000000004 Calling exit ...