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.001484/0.001484, allocations: 111.3 kB / 17.12 MB, free: 5.926 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.001372/0.001372, allocations: 204 kB / 20.09 MB, free: 2.977 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.533/1.533, allocations: 230.6 MB / 253.5 MB, free: 15.12 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 1.005/1.005, allocations: 150 MB / 459.5 MB, free: 5.719 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.001988/0.001988, allocations: 63.94 kB / 0.6365 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.2016, allocations: 89.15 MB / 0.7236 GB, free: 3.586 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002382/0.204, allocations: 0.8765 MB / 0.7245 GB, free: 2.707 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003789/0.2078, allocations: 2.589 MB / 0.727 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.2079, allocations: 0 / 0.727 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 7.335e-05/0.208, allocations: 11.81 kB / 0.727 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002892/0.2083, allocations: 55.53 kB / 0.7271 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.2099, allocations: 0.4906 MB / 0.7275 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004723/0.2104, allocations: 323 kB / 0.7278 GB, free: 15.22 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.627e-05/0.2105, allocations: 13.67 kB / 0.7279 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003929/0.2109, allocations: 147.6 kB / 0.728 GB, free: 15.06 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000267/0.2111, allocations: 155.5 kB / 0.7281 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.2112, allocations: 24 kB / 0.7282 GB, free: 14.89 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007709/0.212, allocations: 395.7 kB / 0.7285 GB, free: 14.5 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.398e-05/0.212, allocations: 67.8 kB / 0.7286 GB, free: 14.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.2122, allocations: 119.5 kB / 0.7287 GB, free: 14.32 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009342/0.2131, allocations: 0.5646 MB / 0.7293 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.2132, allocations: 0 / 0.7293 GB, free: 13.75 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.947e-06/0.2132, allocations: 0 / 0.7293 GB, free: 13.75 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.127e-05/0.2132, allocations: 0 / 0.7293 GB, free: 13.75 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.001572/0.2147, allocations: 0.6791 MB / 0.7299 GB, free: 13.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.2148, allocations: 12.03 kB / 0.73 GB, free: 13.01 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.2158, allocations: 96.66 kB / 0.73 GB, free: 12.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.216, allocations: 196.8 kB / 0.7302 GB, free: 12.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.2162, allocations: 127.4 kB / 0.7304 GB, free: 12.53 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.939e-05/0.2162, allocations: 20.38 kB / 0.7304 GB, free: 12.51 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004488/0.2167, allocations: 243.9 kB / 0.7306 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.2167, allocations: 3.938 kB / 0.7306 GB, free: 12.23 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.2167, allocations: 8 kB / 0.7306 GB, free: 12.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.736e-06/0.2168, allocations: 4 kB / 0.7306 GB, free: 12.21 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.217, allocations: 111.8 kB / 0.7307 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/0.2176, allocations: 407.1 kB / 0.7311 GB, free: 11.62 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.2193, allocations: 487.3 kB / 0.7316 GB, free: 11.04 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.2195, allocations: 142.3 kB / 0.7317 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.035e-05/0.2195, allocations: 4 kB / 0.7317 GB, free: 10.86 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005269/0.2201, allocations: 335.4 kB / 0.732 GB, free: 10.48 MB / 0.545 GB Notification: Performance of pre-optimization done (n=40): time 2.324e-06/0.2201, allocations: 0 / 0.732 GB, free: 10.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=40): time 0.0008748/0.2209, allocations: 405.8 kB / 0.7324 GB, free: 10.08 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002284/0.2212, allocations: 358.6 kB / 0.7328 GB, free: 9.648 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.2213, allocations: 165.6 kB / 0.7329 GB, free: 9.477 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.086e-05/0.2214, allocations: 45.7 kB / 0.733 GB, free: 9.426 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.707e-05/0.2215, allocations: 93.14 kB / 0.7331 GB, free: 9.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.2216, allocations: 115 kB / 0.7332 GB, free: 9.219 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001525/0.2217, allocations: 98.22 kB / 0.7333 GB, free: 9.117 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2219, allocations: 326.8 kB / 0.7336 GB, free: 8.789 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002848/0.2222, allocations: 125 kB / 0.7337 GB, free: 8.664 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003298/0.2225, allocations: 161 kB / 0.7338 GB, free: 8.5 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/0.2231, allocations: 268.5 kB / 0.7341 GB, free: 8.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2231, allocations: 4 kB / 0.7341 GB, free: 8.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000797/0.2239, allocations: 392.6 kB / 0.7345 GB, free: 7.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.2239, allocations: 9.562 kB / 0.7345 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2239, allocations: 0 / 0.7345 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/0.224, allocations: 4 kB / 0.7345 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.2243, allocations: 75.88 kB / 0.7346 GB, free: 7.754 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.2244, allocations: 4 kB / 0.7346 GB, free: 7.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.2246, allocations: 51.7 kB / 0.7346 GB, free: 7.699 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.2247, allocations: 23.98 kB / 0.7346 GB, free: 7.676 MB / 0.545 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.0001941/0.2249, allocations: 153.7 kB / 0.7348 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.158e-05/0.2249, allocations: 27.8 kB / 0.7348 GB, free: 7.488 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007288/0.2257, allocations: 354.2 kB / 0.7352 GB, free: 7.137 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.2257, allocations: 8 kB / 0.7352 GB, free: 7.129 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.2257, allocations: 4 kB / 0.7352 GB, free: 7.125 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.2257, allocations: 11.92 kB / 0.7352 GB, free: 7.113 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.2262, allocations: 353.2 kB / 0.7355 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.2262, allocations: 15.88 kB / 0.7355 GB, free: 6.703 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.2265, allocations: 71.91 kB / 0.7356 GB, free: 6.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.2265, allocations: 4 kB / 0.7356 GB, free: 6.629 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.2265, allocations: 19.98 kB / 0.7356 GB, free: 6.609 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.902e-06/0.2265, allocations: 4 kB / 0.7356 GB, free: 6.605 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.54e-06/0.2265, allocations: 7.938 kB / 0.7356 GB, free: 6.598 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.2273, allocations: 498.2 kB / 0.7361 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.2275, allocations: 152.8 kB / 0.7363 GB, free: 5.883 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.423e-05/0.2275, allocations: 27.89 kB / 0.7363 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.2278, allocations: 31.97 kB / 0.7363 GB, free: 5.824 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.2279, allocations: 47.88 kB / 0.7364 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.2279, allocations: 23.98 kB / 0.7364 GB, free: 5.754 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001032/0.228, allocations: 127.2 kB / 0.7365 GB, free: 5.629 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.228, allocations: 3.938 kB / 0.7365 GB, free: 5.625 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006341/0.2286, allocations: 231.2 kB / 0.7367 GB, free: 5.398 MB / 0.545 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.0006044/0.2292, allocations: 345.2 kB / 0.7371 GB, free: 5.051 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007246/0.23, allocations: 318 kB / 0.7374 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.23, allocations: 0 / 0.7374 GB, free: 4.738 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003003/0.2303, allocations: 168.2 kB / 0.7375 GB, free: 4.574 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.2305, allocations: 31.98 kB / 0.7375 GB, free: 4.543 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001044/0.2316, allocations: 0.5609 MB / 0.7381 GB, free: 3.922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.232, allocations: 0.7571 MB / 0.7388 GB, free: 3.141 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.000183/0.2322, allocations: 61.42 kB / 0.7389 GB, free: 3.086 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.2323, allocations: 47.41 kB / 0.7389 GB, free: 3.039 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.2323, allocations: 0 / 0.7389 GB, free: 3.039 MB / 0.545 GB Notification: Performance of Templates: time 0.01096/0.2433, allocations: 5.884 MB / 0.7447 GB, free: 13.19 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.424095947993919] Failed to read output from testmodel.py, exit status != 0: 0.2508470939937979 0.26399794600000004 0.048039965000000004 Calling exit ...