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.001295/0.001295, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001428/0.001428, allocations: 207 kB / 23.74 MB, free: 4.543 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.442/1.442, allocations: 230.6 MB / 257.5 MB, free: 7.766 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.9663/0.9663, allocations: 149.9 MB / 463.8 MB, free: 10.39 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.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.002069/0.002069, allocations: 72.23 kB / 0.6423 GB, free: 9.652 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1906, allocations: 89.17 MB / 0.7294 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002053/0.1926, allocations: 0.8214 MB / 0.7302 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003252/0.1959, allocations: 2.42 MB / 0.7325 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.204e-05/0.1959, allocations: 0 / 0.7325 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.242e-05/0.196, allocations: 11.81 kB / 0.7325 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000229/0.1962, allocations: 51.56 kB / 0.7326 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.1973, allocations: 0.4983 MB / 0.7331 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003415/0.1977, allocations: 315.1 kB / 0.7334 GB, free: 12.42 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 6.249e-05/0.1977, allocations: 13.81 kB / 0.7334 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.198, allocations: 147.7 kB / 0.7335 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.1983, allocations: 135.5 kB / 0.7337 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.536e-05/0.1983, allocations: 20 kB / 0.7337 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006931/0.199, allocations: 391.7 kB / 0.7341 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.1991, allocations: 71.78 kB / 0.7341 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.1992, allocations: 99.61 kB / 0.7342 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.2, allocations: 0.5762 MB / 0.7348 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2, allocations: 0 / 0.7348 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2, allocations: 0 / 0.7348 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.197e-05/0.2, allocations: 0 / 0.7348 GB, free: 10.98 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.001388/0.2014, allocations: 0.6115 MB / 0.7354 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.2014, allocations: 11.97 kB / 0.7354 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/0.2024, allocations: 88.72 kB / 0.7355 GB, free: 10.24 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.2026, allocations: 135.9 kB / 0.7356 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002319/0.2028, allocations: 234.2 kB / 0.7358 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.97e-05/0.2028, allocations: 24.36 kB / 0.7358 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003891/0.2032, allocations: 243.9 kB / 0.7361 GB, free: 9.496 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.2032, allocations: 3.938 kB / 0.7361 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.306e-05/0.2033, allocations: 7.984 kB / 0.7361 GB, free: 9.484 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.2033, allocations: 8 kB / 0.7361 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.2035, allocations: 111.8 kB / 0.7362 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004145/0.2039, allocations: 290.9 kB / 0.7365 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.2054, allocations: 483.3 kB / 0.7369 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.2056, allocations: 146.3 kB / 0.7371 GB, free: 8.258 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.2057, allocations: 15.98 kB / 0.7371 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000533/0.2062, allocations: 307.5 kB / 0.7374 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.2062, allocations: 4 kB / 0.7374 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0008581/0.2071, allocations: 417.9 kB / 0.7378 GB, free: 7.473 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001999/0.2073, allocations: 350.1 kB / 0.7381 GB, free: 7.051 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.2074, allocations: 171.2 kB / 0.7383 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.903e-05/0.2075, allocations: 37.7 kB / 0.7383 GB, free: 6.828 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.937e-05/0.2076, allocations: 97.12 kB / 0.7384 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001166/0.2077, allocations: 123 kB / 0.7385 GB, free: 6.605 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001447/0.2078, allocations: 94.16 kB / 0.7386 GB, free: 6.504 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.208, allocations: 335.3 kB / 0.7389 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.2083, allocations: 116.9 kB / 0.7391 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.2086, allocations: 172.3 kB / 0.7392 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.2091, allocations: 261.8 kB / 0.7395 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2091, allocations: 0 / 0.7395 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007636/0.2099, allocations: 377.1 kB / 0.7398 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.2099, allocations: 15.88 kB / 0.7398 GB, free: 5.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.2099, allocations: 4 kB / 0.7399 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/0.21, allocations: 8 kB / 0.7399 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.2104, allocations: 75.88 kB / 0.7399 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.2104, allocations: 4 kB / 0.7399 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002776/0.2106, allocations: 51.7 kB / 0.74 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.959e-05/0.2107, allocations: 23.98 kB / 0.74 GB, free: 5.066 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.0002044/0.2109, allocations: 149.7 kB / 0.7401 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.638e-05/0.211, allocations: 35.78 kB / 0.7402 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000672/0.2116, allocations: 354.2 kB / 0.7405 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.2116, allocations: 8.188 kB / 0.7405 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.2116, allocations: 8 kB / 0.7405 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.2117, allocations: 7.922 kB / 0.7405 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003518/0.212, allocations: 256.9 kB / 0.7408 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.212, allocations: 0 / 0.7408 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.2123, allocations: 75.84 kB / 0.7409 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.613e-06/0.2123, allocations: 4 kB / 0.7409 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.2123, allocations: 23.92 kB / 0.7409 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.2123, allocations: 4 kB / 0.7409 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/0.2124, allocations: 8.188 kB / 0.7409 GB, free: 4.105 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007634/0.2131, allocations: 0.4925 MB / 0.7414 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001723/0.2133, allocations: 75.59 kB / 0.7415 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.41e-05/0.2133, allocations: 23.94 kB / 0.7415 GB, free: 3.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.2136, allocations: 31.97 kB / 0.7415 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.2137, allocations: 47.92 kB / 0.7416 GB, free: 3.379 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.2137, allocations: 23.98 kB / 0.7416 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001049/0.2138, allocations: 123.2 kB / 0.7417 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.2138, allocations: 0 / 0.7417 GB, free: 3.234 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006108/0.2144, allocations: 227.2 kB / 0.7419 GB, free: 3.012 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.0005619/0.215, allocations: 340 kB / 0.7422 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006546/0.2156, allocations: 323.2 kB / 0.7425 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.2157, allocations: 3.938 kB / 0.7425 GB, free: 2.352 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.216, allocations: 163.7 kB / 0.7427 GB, free: 2.191 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2162, allocations: 31.98 kB / 0.7427 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.2173, allocations: 0.5871 MB / 0.7433 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001453/0.2174, allocations: 147.6 kB / 0.7434 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.2175, allocations: 51.41 kB / 0.7435 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of SimCode: time 3.3e-07/0.2175, allocations: 0 / 0.7435 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of Templates: time 0.009172/0.2267, allocations: 5.636 MB / 0.749 GB, free: 11.69 MB / 0.5762 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: 8.451471974141896] Failed to read output from testmodel.py, exit status != 0: 0.23518975684419274 0.5882572629999999 0.385014875 Calling exit ...