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.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.001435/0.001435, allocations: 75.05 kB / 20.51 MB, free: 1.281 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.001446/0.001446, allocations: 167 kB / 23.77 MB, free: 4.461 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.502/1.502, allocations: 177.2 MB / 204.1 MB, free: 8.957 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.9584/0.9584, allocations: 113.9 MB / 374.5 MB, free: 12.87 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.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: 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.002077/0.002077, allocations: 65.61 kB / 0.555 GB, free: 2.723 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1741, allocations: 89.14 MB / 0.6421 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002125/0.1763, allocations: 0.8243 MB / 0.6429 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003368/0.1796, allocations: 2.416 MB / 0.6452 GB, free: 6.285 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.127e-05/0.1797, allocations: 0 / 0.6452 GB, free: 6.285 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.079e-05/0.1797, allocations: 15.81 kB / 0.6453 GB, free: 6.27 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1799, allocations: 43.62 kB / 0.6453 GB, free: 6.227 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.181, allocations: 0.4983 MB / 0.6458 GB, free: 5.727 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.1813, allocations: 311.1 kB / 0.6461 GB, free: 5.422 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.853e-05/0.1814, allocations: 9.812 kB / 0.6461 GB, free: 5.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.1816, allocations: 159.6 kB / 0.6462 GB, free: 5.258 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.1819, allocations: 139.5 kB / 0.6464 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.418e-05/0.1819, allocations: 24 kB / 0.6464 GB, free: 5.098 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006492/0.1826, allocations: 379.7 kB / 0.6468 GB, free: 4.727 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 9.491e-05/0.1827, allocations: 67.84 kB / 0.6468 GB, free: 4.66 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.1828, allocations: 103.6 kB / 0.6469 GB, free: 4.559 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007836/0.1836, allocations: 0.5723 MB / 0.6475 GB, free: 3.984 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1836, allocations: 0 / 0.6475 GB, free: 3.984 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.1836, allocations: 4 kB / 0.6475 GB, free: 3.98 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.1836, allocations: 0 / 0.6475 GB, free: 3.98 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.00136/0.1849, allocations: 0.6103 MB / 0.6481 GB, free: 3.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.362e-05/0.185, allocations: 8.031 kB / 0.6481 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.1861, allocations: 92.72 kB / 0.6482 GB, free: 3.242 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.1862, allocations: 134.9 kB / 0.6483 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002381/0.1865, allocations: 238.2 kB / 0.6485 GB, free: 2.801 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.557e-05/0.1865, allocations: 20.38 kB / 0.6485 GB, free: 2.781 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/0.1869, allocations: 243.8 kB / 0.6488 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.1869, allocations: 0 / 0.6488 GB, free: 2.5 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.1869, allocations: 11.98 kB / 0.6488 GB, free: 2.488 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.1869, allocations: 8 kB / 0.6488 GB, free: 2.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002418/0.1872, allocations: 115.7 kB / 0.6489 GB, free: 2.367 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.1876, allocations: 291 kB / 0.6492 GB, free: 2.02 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.1891, allocations: 483.3 kB / 0.6496 GB, free: 1.438 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.1893, allocations: 150.3 kB / 0.6498 GB, free: 1.254 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.931e-05/0.1894, allocations: 11.98 kB / 0.6498 GB, free: 1.242 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004974/0.1899, allocations: 315.5 kB / 0.6501 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.823e-06/0.1899, allocations: 4 kB / 0.6501 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0008574/0.1907, allocations: 417 kB / 0.6505 GB, free: 476 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002103/0.1909, allocations: 354.5 kB / 0.6508 GB, free: 40 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.1911, allocations: 169.6 kB / 0.651 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.376e-05/0.1912, allocations: 41.7 kB / 0.651 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.83e-05/0.1912, allocations: 97.12 kB / 0.6511 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1913, allocations: 119.1 kB / 0.6513 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.1915, allocations: 98.16 kB / 0.6513 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1916, allocations: 330.8 kB / 0.6517 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002892/0.1919, allocations: 112.9 kB / 0.6518 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000333/0.1923, allocations: 168.3 kB / 0.6519 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005854/0.1929, allocations: 260.4 kB / 0.6522 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.1929, allocations: 8 kB / 0.6522 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000818/0.1937, allocations: 375.3 kB / 0.6525 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.1937, allocations: 14.12 kB / 0.6526 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1937, allocations: 0 / 0.6526 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1937, allocations: 4 kB / 0.6526 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004/0.1941, allocations: 79.81 kB / 0.6526 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1941, allocations: 7.938 kB / 0.6526 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002974/0.1944, allocations: 56.75 kB / 0.6527 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.1945, allocations: 19.98 kB / 0.6527 GB, free: 14.07 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.1946, allocations: 149.7 kB / 0.6529 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.907e-05/0.1947, allocations: 35.78 kB / 0.6529 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007043/0.1954, allocations: 362.2 kB / 0.6532 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.1954, allocations: 8.188 kB / 0.6532 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1954, allocations: 4 kB / 0.6533 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.1955, allocations: 11.97 kB / 0.6533 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.1958, allocations: 248.9 kB / 0.6535 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1958, allocations: 0 / 0.6535 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.1961, allocations: 75.84 kB / 0.6536 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.1961, allocations: 4 kB / 0.6536 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.521e-05/0.1961, allocations: 27.92 kB / 0.6536 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.303e-06/0.1961, allocations: 11.94 kB / 0.6536 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.1961, allocations: 0 / 0.6536 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007912/0.1969, allocations: 0.4887 MB / 0.6541 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.1971, allocations: 67.67 kB / 0.6542 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.1972, allocations: 23.89 kB / 0.6542 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.1974, allocations: 32.22 kB / 0.6542 GB, free: 12.44 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.1975, allocations: 47.86 kB / 0.6543 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.1976, allocations: 27.98 kB / 0.6543 GB, free: 12.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001055/0.1977, allocations: 131.2 kB / 0.6544 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.1977, allocations: 0 / 0.6544 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005873/0.1983, allocations: 227.2 kB / 0.6546 GB, free: 12.02 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.0005561/0.1988, allocations: 348.9 kB / 0.655 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006517/0.1995, allocations: 319.2 kB / 0.6553 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1995, allocations: 0 / 0.6553 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003045/0.1998, allocations: 167.7 kB / 0.6554 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.2001, allocations: 34.25 kB / 0.6555 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009678/0.201, allocations: 0.5531 MB / 0.656 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.2012, allocations: 155.7 kB / 0.6561 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001913/0.2014, allocations: 54.69 kB / 0.6562 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.2015, allocations: 48.47 kB / 0.6562 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.2015, allocations: 0 / 0.6562 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of Templates: time 0.01157/0.2131, allocations: 5.75 MB / 0.6619 GB, free: 4.559 MB / 0.5606 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.7161710320506245] Failed to read output from testmodel.py, exit status != 0: 0.22142888302914798 0.23827696699999995 0.051363529000000005 Calling exit ...