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.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.001317/0.001317, allocations: 105 kB / 20.45 MB, free: 1.5 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.001447/0.001447, allocations: 219.1 kB / 23.76 MB, free: 4.711 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.988 MB / 206.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.9586/0.9586, allocations: 150 MB / 463.9 MB, free: 10.49 MB / 366.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.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: 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.002017/0.002017, allocations: 68.22 kB / 0.6425 GB, free: 9.891 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.176, allocations: 89.17 MB / 0.7296 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.00209/0.1781, allocations: 0.8917 MB / 0.7304 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00327/0.1814, allocations: 2.587 MB / 0.733 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.985e-05/0.1815, allocations: 0 / 0.733 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.578e-05/0.1815, allocations: 19.73 kB / 0.733 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.1817, allocations: 55.55 kB / 0.733 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1828, allocations: 0.4905 MB / 0.7335 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.1832, allocations: 315.2 kB / 0.7338 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.051e-05/0.1832, allocations: 13.73 kB / 0.7338 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002917/0.1835, allocations: 147.7 kB / 0.734 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.1837, allocations: 155.5 kB / 0.7341 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.1838, allocations: 24 kB / 0.7341 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006916/0.1845, allocations: 395.7 kB / 0.7345 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.223e-05/0.1845, allocations: 67.8 kB / 0.7346 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001193/0.1847, allocations: 115.5 kB / 0.7347 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007567/0.1854, allocations: 0.5723 MB / 0.7352 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1854, allocations: 0 / 0.7352 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.1854, allocations: 0 / 0.7352 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.1854, allocations: 0 / 0.7352 GB, free: 10.93 MB / 0.5606 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.001355/0.1868, allocations: 0.6115 MB / 0.7358 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1868, allocations: 8.031 kB / 0.7358 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/0.1879, allocations: 92.72 kB / 0.7359 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001456/0.188, allocations: 142.9 kB / 0.7361 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002183/0.1883, allocations: 234.2 kB / 0.7363 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.1883, allocations: 20.38 kB / 0.7363 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.1887, allocations: 247.9 kB / 0.7366 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.1887, allocations: 4 kB / 0.7366 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.1887, allocations: 8 kB / 0.7366 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.1887, allocations: 4 kB / 0.7366 GB, free: 9.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.189, allocations: 115.7 kB / 0.7367 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004679/0.1894, allocations: 362.3 kB / 0.737 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.1909, allocations: 483.3 kB / 0.7375 GB, free: 8.297 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.1911, allocations: 154.1 kB / 0.7376 GB, free: 8.109 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.1911, allocations: 11.98 kB / 0.7376 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005106/0.1917, allocations: 315.5 kB / 0.7379 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.934e-06/0.1917, allocations: 7.938 kB / 0.738 GB, free: 7.73 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0008427/0.1925, allocations: 413.3 kB / 0.7383 GB, free: 7.32 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002/0.1927, allocations: 354.1 kB / 0.7387 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1929, allocations: 163.2 kB / 0.7388 GB, free: 6.723 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/0.1929, allocations: 42.2 kB / 0.7389 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.193, allocations: 97.14 kB / 0.739 GB, free: 6.574 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1931, allocations: 119 kB / 0.7391 GB, free: 6.457 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/0.1932, allocations: 98.16 kB / 0.7392 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1934, allocations: 326.8 kB / 0.7395 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.1936, allocations: 117.9 kB / 0.7396 GB, free: 5.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000305/0.1939, allocations: 164.3 kB / 0.7398 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.1945, allocations: 270.4 kB / 0.74 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1945, allocations: 0 / 0.74 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007938/0.1953, allocations: 380.2 kB / 0.7404 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.1953, allocations: 4 kB / 0.7404 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.1953, allocations: 4 kB / 0.7404 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.1953, allocations: 3.938 kB / 0.7404 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003876/0.1957, allocations: 87.81 kB / 0.7405 GB, free: 5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.1957, allocations: 8 kB / 0.7405 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003281/0.1961, allocations: 47.75 kB / 0.7405 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.653e-05/0.1961, allocations: 19.98 kB / 0.7405 GB, free: 4.926 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.0001597/0.1963, allocations: 145.8 kB / 0.7407 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.1963, allocations: 31.73 kB / 0.7407 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006726/0.197, allocations: 358.7 kB / 0.7411 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.016e-06/0.197, allocations: 12 kB / 0.7411 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.197, allocations: 7.984 kB / 0.7411 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.768e-06/0.197, allocations: 4 kB / 0.7411 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003862/0.1974, allocations: 320.3 kB / 0.7414 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.1974, allocations: 7.938 kB / 0.7414 GB, free: 4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.1977, allocations: 75.84 kB / 0.7415 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.1977, allocations: 4 kB / 0.7415 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.1977, allocations: 19.98 kB / 0.7415 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.1977, allocations: 4 kB / 0.7415 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1977, allocations: 4 kB / 0.7415 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000738/0.1985, allocations: 0.4928 MB / 0.742 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001567/0.1986, allocations: 75.55 kB / 0.742 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.205e-05/0.1987, allocations: 23.88 kB / 0.7421 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002542/0.1989, allocations: 31.97 kB / 0.7421 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.199, allocations: 55.86 kB / 0.7422 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/0.1991, allocations: 27.92 kB / 0.7422 GB, free: 3.133 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001009/0.1992, allocations: 123.2 kB / 0.7423 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1992, allocations: 0 / 0.7423 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006106/0.1998, allocations: 227.2 kB / 0.7425 GB, free: 2.789 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.0005366/0.2003, allocations: 341 kB / 0.7428 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006544/0.201, allocations: 323.1 kB / 0.7432 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.201, allocations: 4 kB / 0.7432 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002971/0.2013, allocations: 163.7 kB / 0.7433 GB, free: 1.969 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.2016, allocations: 31.98 kB / 0.7433 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00097/0.2025, allocations: 0.5948 MB / 0.7439 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003841/0.2029, allocations: 0.7572 MB / 0.7447 GB, free: 500 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.203, allocations: 51.41 kB / 0.7447 GB, free: 448 kB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.203, allocations: 0 / 0.7447 GB, free: 448 kB / 0.5606 GB Notification: Performance of Templates: time 0.008304/0.2113, allocations: 5.537 MB / 0.7501 GB, free: 10.92 MB / 0.5762 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.331601129146293] Failed to read output from testmodel.py, exit status != 0: 0.22029503993690014 0.496216615 0.308004757 Calling exit ...