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.001324/0.001324, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001394/0.001394, allocations: 162.2 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.42/1.42, allocations: 177.2 MB / 204.1 MB, free: 8.883 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.9124/0.9124, 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.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.002078/0.002078, allocations: 65.33 kB / 0.555 GB, free: 2.781 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1786, allocations: 89.15 MB / 0.6421 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002205/0.1808, allocations: 0.8178 MB / 0.6429 GB, free: 8.773 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003478/0.1843, allocations: 2.416 MB / 0.6452 GB, free: 6.336 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.112e-05/0.1844, allocations: 3.938 kB / 0.6452 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.402e-05/0.1844, allocations: 15.8 kB / 0.6452 GB, free: 6.316 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000223/0.1847, allocations: 51.61 kB / 0.6453 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.1857, allocations: 0.4944 MB / 0.6458 GB, free: 5.77 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003562/0.1861, allocations: 307.2 kB / 0.6461 GB, free: 5.469 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.1861, allocations: 13.8 kB / 0.6461 GB, free: 5.457 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.1864, allocations: 155.6 kB / 0.6462 GB, free: 5.305 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.1866, allocations: 131.5 kB / 0.6464 GB, free: 5.176 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.1867, allocations: 28 kB / 0.6464 GB, free: 5.148 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006964/0.1874, allocations: 387.6 kB / 0.6468 GB, free: 4.77 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.617e-05/0.1875, allocations: 67.8 kB / 0.6468 GB, free: 4.703 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.1876, allocations: 103.6 kB / 0.6469 GB, free: 4.602 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000763/0.1884, allocations: 0.5724 MB / 0.6475 GB, free: 4.027 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.798e-06/0.1884, allocations: 0 / 0.6475 GB, free: 4.027 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1884, allocations: 0 / 0.6475 GB, free: 4.027 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.1884, allocations: 0 / 0.6475 GB, free: 4.027 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.001377/0.1898, allocations: 0.6116 MB / 0.6481 GB, free: 3.383 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.1898, allocations: 8.031 kB / 0.6481 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.1909, allocations: 92.72 kB / 0.6482 GB, free: 3.285 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.191, allocations: 135.7 kB / 0.6483 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.1913, allocations: 234.2 kB / 0.6485 GB, free: 2.848 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.093e-05/0.1913, allocations: 20.31 kB / 0.6485 GB, free: 2.828 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003875/0.1917, allocations: 243.8 kB / 0.6488 GB, free: 2.547 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.1917, allocations: 7.938 kB / 0.6488 GB, free: 2.539 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.1918, allocations: 4 kB / 0.6488 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.1918, allocations: 4 kB / 0.6488 GB, free: 2.531 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002476/0.192, allocations: 123.7 kB / 0.6489 GB, free: 2.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.1924, allocations: 291 kB / 0.6492 GB, free: 2.062 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/0.194, allocations: 491.3 kB / 0.6497 GB, free: 1.473 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.1942, allocations: 146.2 kB / 0.6498 GB, free: 1.293 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.114e-05/0.1943, allocations: 12 kB / 0.6498 GB, free: 1.281 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000531/0.1948, allocations: 315.5 kB / 0.6501 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 1.843e-06/0.1948, allocations: 0 / 0.6501 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0008886/0.1957, allocations: 413 kB / 0.6505 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000204/0.1959, allocations: 350.1 kB / 0.6508 GB, free: 92 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.1961, allocations: 169.8 kB / 0.651 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.1961, allocations: 41.7 kB / 0.651 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.682e-05/0.1962, allocations: 93.14 kB / 0.6511 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.1963, allocations: 127.5 kB / 0.6512 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/0.1965, allocations: 94.16 kB / 0.6513 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.1966, allocations: 334.8 kB / 0.6517 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.1969, allocations: 116.9 kB / 0.6518 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.1972, allocations: 164.4 kB / 0.6519 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005908/0.1978, allocations: 268.4 kB / 0.6522 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.1978, allocations: 0 / 0.6522 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008156/0.1986, allocations: 375.6 kB / 0.6525 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.1987, allocations: 15.94 kB / 0.6526 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1987, allocations: 0 / 0.6526 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.1987, allocations: 4.75 kB / 0.6526 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00043/0.1991, allocations: 80.81 kB / 0.6526 GB, free: 14.19 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.1991, allocations: 4 kB / 0.6526 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002967/0.1994, allocations: 47.75 kB / 0.6527 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.313e-05/0.1995, allocations: 23.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.0001552/0.1996, allocations: 157 kB / 0.6529 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.05e-05/0.1997, allocations: 31.8 kB / 0.6529 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.2004, allocations: 358.2 kB / 0.6532 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.2004, allocations: 16 kB / 0.6532 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.2004, allocations: 4 kB / 0.6532 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.2004, allocations: 4.172 kB / 0.6533 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.2007, allocations: 248.9 kB / 0.6535 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/0.2008, allocations: 7.984 kB / 0.6535 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.2011, allocations: 75.84 kB / 0.6536 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.2011, allocations: 4 kB / 0.6536 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.716e-05/0.2011, allocations: 23.92 kB / 0.6536 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.2011, allocations: 4 kB / 0.6536 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.2011, allocations: 7.938 kB / 0.6536 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/0.2019, allocations: 0.4887 MB / 0.6541 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001655/0.2021, allocations: 71.67 kB / 0.6542 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.665e-05/0.2021, allocations: 28.12 kB / 0.6542 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002506/0.2024, allocations: 23.97 kB / 0.6542 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.2025, allocations: 63.8 kB / 0.6543 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.2025, allocations: 23.98 kB / 0.6543 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001054/0.2026, allocations: 123.2 kB / 0.6544 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2026, allocations: 0 / 0.6544 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006302/0.2032, allocations: 227.2 kB / 0.6546 GB, free: 12.06 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.0005583/0.2038, allocations: 341 kB / 0.6549 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006893/0.2045, allocations: 322.2 kB / 0.6553 GB, free: 11.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.2045, allocations: 4 kB / 0.6553 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.2048, allocations: 163.7 kB / 0.6554 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.2051, allocations: 30.56 kB / 0.6554 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001/0.2061, allocations: 0.5609 MB / 0.656 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.2062, allocations: 151.6 kB / 0.6561 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001896/0.2064, allocations: 59.3 kB / 0.6562 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.2066, allocations: 52.47 kB / 0.6562 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.2066, allocations: 0 / 0.6562 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of Templates: time 0.01131/0.2179, allocations: 5.726 MB / 0.6618 GB, free: 4.617 MB / 0.5606 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 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.708817931008525] Failed to read output from testmodel.py, exit status != 0: 0.22626881604082882 0.240610392 0.049199320000000005 Calling exit ...