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.001335/0.001335, allocations: 105 kB / 20.44 MB, free: 1.504 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.001555/0.001555, allocations: 209.7 kB / 23.76 MB, free: 4.727 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.452/1.452, allocations: 230.6 MB / 257.5 MB, free: 8.008 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.9507/0.9507, allocations: 150 MB / 463.9 MB, free: 10.48 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.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.002213/0.002213, allocations: 67.45 kB / 0.6425 GB, free: 9.883 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1686, allocations: 89.17 MB / 0.7296 GB, free: 0.7812 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.00218/0.1708, allocations: 0.8824 MB / 0.7304 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00342/0.1742, allocations: 2.595 MB / 0.733 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1743, allocations: 0 / 0.733 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.69e-05/0.1744, allocations: 15.8 kB / 0.733 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002248/0.1746, allocations: 47.56 kB / 0.733 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.1759, allocations: 0.4983 MB / 0.7335 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004201/0.1763, allocations: 323.1 kB / 0.7338 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.1763, allocations: 5.812 kB / 0.7338 GB, free: 12.4 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.1767, allocations: 143.7 kB / 0.734 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.1769, allocations: 155.5 kB / 0.7341 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.416e-05/0.177, allocations: 24 kB / 0.7341 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007745/0.1778, allocations: 399.7 kB / 0.7345 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.521e-05/0.1778, allocations: 63.8 kB / 0.7346 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.178, allocations: 127.5 kB / 0.7347 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008902/0.1789, allocations: 0.5607 MB / 0.7352 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1789, allocations: 0 / 0.7352 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1789, allocations: 0 / 0.7352 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.898e-06/0.1789, allocations: 3.938 kB / 0.7352 GB, free: 10.94 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.001421/0.1803, allocations: 0.6116 MB / 0.7358 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1803, allocations: 8.031 kB / 0.7358 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.1814, allocations: 92.72 kB / 0.7359 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.1816, allocations: 135.9 kB / 0.7361 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.1818, allocations: 234.2 kB / 0.7363 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.1818, allocations: 16.38 kB / 0.7363 GB, free: 9.742 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003886/0.1822, allocations: 251.9 kB / 0.7365 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1822, allocations: 3.938 kB / 0.7365 GB, free: 9.449 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.1823, allocations: 8 kB / 0.7366 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.433e-06/0.1823, allocations: 4 kB / 0.7366 GB, free: 9.438 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002462/0.1825, allocations: 115.7 kB / 0.7367 GB, free: 9.324 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.183, allocations: 370.2 kB / 0.737 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.1845, allocations: 479.4 kB / 0.7375 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002275/0.1847, allocations: 150.2 kB / 0.7376 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.216e-05/0.1847, allocations: 19.91 kB / 0.7376 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000509/0.1852, allocations: 318.2 kB / 0.7379 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.635e-06/0.1852, allocations: 0 / 0.7379 GB, free: 7.746 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0008688/0.1861, allocations: 417.4 kB / 0.7383 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001917/0.1863, allocations: 354.6 kB / 0.7387 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.1865, allocations: 167.2 kB / 0.7388 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.1865, allocations: 41.7 kB / 0.7389 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.822e-05/0.1866, allocations: 93.12 kB / 0.739 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.1867, allocations: 123 kB / 0.7391 GB, free: 6.465 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.1868, allocations: 98.16 kB / 0.7392 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.187, allocations: 330.8 kB / 0.7395 GB, free: 6.027 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000283/0.1873, allocations: 116.9 kB / 0.7396 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.1876, allocations: 164.3 kB / 0.7398 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005624/0.1881, allocations: 266.1 kB / 0.74 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1881, allocations: 0 / 0.74 GB, free: 5.477 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007634/0.1889, allocations: 384.4 kB / 0.7404 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1889, allocations: 7.938 kB / 0.7404 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.964e-06/0.1889, allocations: 4 kB / 0.7404 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1889, allocations: 0 / 0.7404 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003849/0.1893, allocations: 79.88 kB / 0.7405 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.1893, allocations: 4 kB / 0.7405 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002717/0.1896, allocations: 47.75 kB / 0.7405 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.1897, allocations: 19.98 kB / 0.7405 GB, free: 4.938 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.0001679/0.1898, allocations: 158.5 kB / 0.7407 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.963e-05/0.1899, allocations: 35.78 kB / 0.7407 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000655/0.1905, allocations: 350.9 kB / 0.7411 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.1906, allocations: 8.188 kB / 0.7411 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.1906, allocations: 8 kB / 0.7411 GB, free: 4.375 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.1906, allocations: 7.984 kB / 0.7411 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003902/0.191, allocations: 316.3 kB / 0.7414 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.191, allocations: 7.938 kB / 0.7414 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/0.1913, allocations: 75.84 kB / 0.7415 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1913, allocations: 8 kB / 0.7415 GB, free: 3.926 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.1913, allocations: 19.98 kB / 0.7415 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.1913, allocations: 4 kB / 0.7415 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.1913, allocations: 7.938 kB / 0.7415 GB, free: 3.895 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007376/0.192, allocations: 0.4927 MB / 0.742 GB, free: 3.344 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.1922, allocations: 75.56 kB / 0.7421 GB, free: 3.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.577e-05/0.1923, allocations: 23.88 kB / 0.7421 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.1925, allocations: 31.97 kB / 0.7421 GB, free: 3.215 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.1926, allocations: 51.86 kB / 0.7422 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.1926, allocations: 23.98 kB / 0.7422 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001014/0.1927, allocations: 127.2 kB / 0.7423 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.1927, allocations: 0 / 0.7423 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006083/0.1933, allocations: 227.2 kB / 0.7425 GB, free: 2.793 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.000547/0.1939, allocations: 344 kB / 0.7428 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007057/0.1946, allocations: 321.9 kB / 0.7432 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1946, allocations: 0 / 0.7432 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003157/0.1949, allocations: 172.4 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.0002919/0.1952, allocations: 24 kB / 0.7433 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.1964, allocations: 0.5977 MB / 0.7439 GB, free: 1.281 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.1968, allocations: 0.7611 MB / 0.7447 GB, free: 500 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001463/0.197, allocations: 51.41 kB / 0.7447 GB, free: 448 kB / 0.5606 GB Notification: Performance of SimCode: time 1.472e-06/0.197, allocations: 0 / 0.7447 GB, free: 448 kB / 0.5606 GB Notification: Performance of Templates: time 0.008393/0.2054, allocations: 5.547 MB / 0.7501 GB, free: 10.93 MB / 0.5762 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.369572920026258] Failed to read output from testmodel.py, exit status != 0: 0.21484800498001277 0.49592616 0.314117382 Calling exit ...