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.0009253/0.0009253, allocations: 72.95 kB / 20.72 MB, free: 3.766 MB / 18.57 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.001029/0.001029, allocations: 169 kB / 24.14 MB, free: 352 kB / 18.57 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.057/1.057, allocations: 177.1 MB / 204.6 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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.6707/0.6707, allocations: 115 MB / 376 MB, free: 7.457 MB / 346.7 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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 428.7 MB, free: 2.805 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.482e-05, allocations: 2.312 kB / 428.7 MB, free: 2.801 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001397/0.001422, allocations: 0.8434 MB / 429.5 MB, free: 1.957 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002242/0.003664, allocations: 2.49 MB / 432 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.285e-05/0.003727, allocations: 0 / 432 MB, free: 15.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.958e-05/0.003767, allocations: 15.75 kB / 432 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000185/0.003952, allocations: 51.61 kB / 432.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/0.00469, allocations: 0.5097 MB / 432.6 MB, free: 14.87 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002453/0.004936, allocations: 327 kB / 432.9 MB, free: 14.55 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.00498, allocations: 14.45 kB / 432.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002529/0.005233, allocations: 195.7 kB / 433.1 MB, free: 14.34 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.005367, allocations: 123.7 kB / 433.2 MB, free: 14.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.405e-05/0.005401, allocations: 24 kB / 433.3 MB, free: 14.19 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.005842, allocations: 387.5 kB / 433.6 MB, free: 13.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.444e-05/0.005897, allocations: 67.78 kB / 433.7 MB, free: 13.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.224e-05/0.005969, allocations: 91.83 kB / 433.8 MB, free: 13.66 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005239/0.006493, allocations: 0.5841 MB / 434.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.006496, allocations: 0 / 434.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.006496, allocations: 0 / 434.4 MB, free: 13.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.0065, allocations: 0 / 434.4 MB, free: 13.07 MB / 410.7 MB 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.0006995/0.0072, allocations: 0.5596 MB / 434.9 MB, free: 12.49 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.007232, allocations: 12.03 kB / 435 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005838/0.007816, allocations: 144.5 kB / 435.1 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.911e-05/0.007915, allocations: 138.2 kB / 435.2 MB, free: 12.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.008035, allocations: 230.2 kB / 435.5 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.113e-05/0.008066, allocations: 28.36 kB / 435.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.008271, allocations: 208.2 kB / 435.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.00828, allocations: 4.188 kB / 435.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.008296, allocations: 8.125 kB / 435.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.008302, allocations: 4 kB / 435.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.991e-05/0.008392, allocations: 71.72 kB / 435.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002334/0.008625, allocations: 191.1 kB / 436 MB, free: 11.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006893/0.009315, allocations: 427.2 kB / 436.4 MB, free: 10.78 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.996e-05/0.009405, allocations: 114.3 kB / 436.5 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.009433, allocations: 15.94 kB / 436.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.009661, allocations: 267.6 kB / 436.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.254e-06/0.009663, allocations: 4 kB / 436.8 MB, free: 10.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003096/0.009973, allocations: 237.8 kB / 437 MB, free: 10.06 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/0.0101, allocations: 354.1 kB / 437.3 MB, free: 9.633 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.345e-05/0.01019, allocations: 179.1 kB / 437.5 MB, free: 9.445 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.01022, allocations: 37.7 kB / 437.6 MB, free: 9.402 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.573e-05/0.01026, allocations: 97.08 kB / 437.7 MB, free: 9.301 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.872e-05/0.01032, allocations: 115.1 kB / 437.8 MB, free: 9.188 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-05/0.01041, allocations: 94.56 kB / 437.9 MB, free: 9.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.01049, allocations: 334.8 kB / 438.2 MB, free: 8.754 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.01059, allocations: 69.66 kB / 438.3 MB, free: 8.684 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.858e-05/0.01067, allocations: 96.36 kB / 438.3 MB, free: 8.574 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.01085, allocations: 179.1 kB / 438.5 MB, free: 8.387 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.01085, allocations: 0 / 438.5 MB, free: 8.387 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002282/0.01108, allocations: 209.6 kB / 438.7 MB, free: 8.176 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.01109, allocations: 4 kB / 438.7 MB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.0111, allocations: 0 / 438.7 MB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.01111, allocations: 7.984 kB / 438.7 MB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001962/0.01131, allocations: 91.81 kB / 438.8 MB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.01131, allocations: 4.938 kB / 438.8 MB, free: 8.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.01142, allocations: 47.75 kB / 438.9 MB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.053e-05/0.01144, allocations: 11.98 kB / 438.9 MB, free: 8.012 MB / 410.7 MB 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.000109/0.01155, allocations: 149.7 kB / 439 MB, free: 7.855 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.042e-05/0.01159, allocations: 31.97 kB / 439.1 MB, free: 7.824 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003115/0.0119, allocations: 266.3 kB / 439.3 MB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.01191, allocations: 8 kB / 439.3 MB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.01191, allocations: 4 kB / 439.3 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.01192, allocations: 11.92 kB / 439.4 MB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.01212, allocations: 182.1 kB / 439.5 MB, free: 7.344 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01212, allocations: 8 kB / 439.5 MB, free: 7.336 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.01226, allocations: 71.84 kB / 439.6 MB, free: 7.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.01227, allocations: 8 kB / 439.6 MB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.747e-05/0.01229, allocations: 15.98 kB / 439.6 MB, free: 7.242 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.01229, allocations: 4 kB / 439.6 MB, free: 7.238 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.01229, allocations: 4 kB / 439.6 MB, free: 7.234 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.01257, allocations: 329.5 kB / 440 MB, free: 6.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.453e-05/0.01266, allocations: 63.58 kB / 440 MB, free: 6.793 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.0127, allocations: 16 kB / 440 MB, free: 6.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.0128, allocations: 28.22 kB / 440.1 MB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.756e-05/0.01287, allocations: 59.8 kB / 440.1 MB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.01288, allocations: 19.98 kB / 440.1 MB, free: 6.672 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.515e-05/0.01292, allocations: 48.8 kB / 440.2 MB, free: 6.621 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01292, allocations: 0 / 440.2 MB, free: 6.621 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004188/0.01334, allocations: 231.2 kB / 440.4 MB, free: 6.395 MB / 410.7 MB 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.0003947/0.01373, allocations: 345.2 kB / 440.8 MB, free: 6.051 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002496/0.01398, allocations: 217 kB / 441 MB, free: 5.832 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.01398, allocations: 0 / 441 MB, free: 5.832 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.01411, allocations: 141.5 kB / 441.1 MB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.01426, allocations: 35.94 kB / 441.1 MB, free: 5.656 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007738/0.01504, allocations: 0.5193 MB / 441.7 MB, free: 5.074 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.941e-05/0.0151, allocations: 105.7 kB / 441.8 MB, free: 4.945 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001219/0.01522, allocations: 60.44 kB / 441.8 MB, free: 4.891 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.01534, allocations: 103.3 kB / 441.9 MB, free: 4.789 MB / 410.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01534, allocations: 4 kB / 441.9 MB, free: 4.785 MB / 410.7 MB Notification: Performance of Templates: time 0.1751/0.1904, allocations: 6.422 MB / 448.3 MB, free: 29.88 MB / 410.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7253933027386665]