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.0009436/0.0009436, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004678/0.005622, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.001028/0.001028, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002375, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9713/0.9713, allocations: 177.1 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1061/1.077, allocations: 53.65 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6849/0.6849, allocations: 119.1 MB / 363.1 MB, free: 3.719 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08061/0.7655, allocations: 37.86 MB / 400.9 MB, free: 13.74 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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 1.713e-06/1.713e-06, allocations: 0 / 402.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.34e-05/2.512e-05, allocations: 2.312 kB / 402.2 MB, free: 12.46 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.002191/0.002216, allocations: 0.8788 MB / 403.1 MB, free: 11.57 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.008461/0.01068, allocations: 2.49 MB / 405.6 MB, free: 9.062 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001592/0.01084, allocations: 3.938 kB / 405.6 MB, free: 9.059 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 4.976e-05/0.01089, allocations: 15.8 kB / 405.6 MB, free: 9.043 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001849/0.01107, allocations: 47.56 kB / 405.6 MB, free: 8.996 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.01249, allocations: 478 kB / 406.1 MB, free: 8.527 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.01283, allocations: 315 kB / 406.4 MB, free: 8.219 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.426e-05/0.01289, allocations: 14.45 kB / 406.4 MB, free: 8.207 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003495/0.01323, allocations: 211.6 kB / 406.6 MB, free: 8 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003282/0.01652, allocations: 123.7 kB / 406.8 MB, free: 7.879 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 5.785e-05/0.01658, allocations: 24 kB / 406.8 MB, free: 7.855 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009443/0.01752, allocations: 427.5 kB / 407.2 MB, free: 7.438 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 5.846e-05/0.01758, allocations: 39.92 kB / 407.2 MB, free: 7.398 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 9.468e-05/0.01767, allocations: 63.88 kB / 407.3 MB, free: 7.336 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007814/0.01845, allocations: 0.4906 MB / 407.8 MB, free: 6.844 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.025e-05/0.01847, allocations: 0 / 407.8 MB, free: 6.844 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.316e-06/0.01848, allocations: 3.984 kB / 407.8 MB, free: 6.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.088e-05/0.0185, allocations: 3.938 kB / 407.8 MB, free: 6.836 MB / 394.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.004242/0.02274, allocations: 0.6569 MB / 408.5 MB, free: 6.152 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.02278, allocations: 8.031 kB / 408.5 MB, free: 6.145 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009439/0.02373, allocations: 217.6 kB / 408.7 MB, free: 5.914 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.02386, allocations: 134.2 kB / 408.8 MB, free: 5.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001637/0.02402, allocations: 238 kB / 409 MB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.02406, allocations: 24.38 kB / 409.1 MB, free: 5.449 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.02433, allocations: 204.3 kB / 409.3 MB, free: 5.207 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.02434, allocations: 4.188 kB / 409.3 MB, free: 5.203 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.225e-05/0.02436, allocations: 16.11 kB / 409.3 MB, free: 5.188 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.02437, allocations: 4 kB / 409.3 MB, free: 5.184 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.02451, allocations: 71.73 kB / 409.4 MB, free: 5.113 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005723/0.02508, allocations: 199.2 kB / 409.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/0.02916, allocations: 423.1 kB / 410 MB, free: 4.348 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.0293, allocations: 110.2 kB / 410.1 MB, free: 4.203 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.251e-05/0.02934, allocations: 11.98 kB / 410.1 MB, free: 4.191 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003576/0.0297, allocations: 275.6 kB / 410.3 MB, free: 3.871 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 2.775e-06/0.0297, allocations: 0 / 410.3 MB, free: 3.871 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004727/0.03017, allocations: 241.2 kB / 410.6 MB, free: 3.629 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001446/0.03032, allocations: 354.1 kB / 410.9 MB, free: 3.203 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.03045, allocations: 171.2 kB / 411.1 MB, free: 3.023 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.03049, allocations: 37.7 kB / 411.1 MB, free: 2.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.03053, allocations: 93.11 kB / 411.2 MB, free: 2.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.03063, allocations: 119 kB / 411.3 MB, free: 2.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.03076, allocations: 98.06 kB / 411.4 MB, free: 2.668 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.03086, allocations: 334.8 kB / 411.8 MB, free: 2.332 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001326/0.031, allocations: 62.16 kB / 411.8 MB, free: 2.266 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003154/0.03415, allocations: 108.3 kB / 411.9 MB, free: 2.148 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.03443, allocations: 171.2 kB / 412.1 MB, free: 1.969 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.03443, allocations: 1 kB / 412.1 MB, free: 1.969 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0003652/0.0348, allocations: 213.7 kB / 412.3 MB, free: 1.754 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.03482, allocations: 7.984 kB / 412.3 MB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.03483, allocations: 4 kB / 412.3 MB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.03484, allocations: 0 / 412.3 MB, free: 1.742 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003902/0.03523, allocations: 103.8 kB / 412.4 MB, free: 1.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.03524, allocations: 11.94 kB / 412.4 MB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001945/0.03543, allocations: 43.77 kB / 412.5 MB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.03547, allocations: 15.98 kB / 412.5 MB, free: 1.57 MB / 394.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.0001326/0.0356, allocations: 154.4 kB / 412.6 MB, free: 1.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.156e-05/0.03566, allocations: 23.98 kB / 412.7 MB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004634/0.03613, allocations: 270.2 kB / 412.9 MB, free: 1.117 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.03614, allocations: 8 kB / 412.9 MB, free: 1.109 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.03614, allocations: 4 kB / 412.9 MB, free: 1.105 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.276e-05/0.03616, allocations: 15.92 kB / 413 MB, free: 1.09 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.03645, allocations: 178.1 kB / 413.1 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.03645, allocations: 4 kB / 413.1 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.03671, allocations: 87.83 kB / 413.2 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.03686, allocations: 55.66 kB / 413.3 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/0.03686, allocations: 4 kB / 413.3 MB, free: 0.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.03689, allocations: 23.92 kB / 413.3 MB, free: 0.7266 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.0369, allocations: 4 kB / 413.3 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.0369, allocations: 7.938 kB / 413.3 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004398/0.03734, allocations: 337.9 kB / 413.6 MB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.03739, allocations: 20 kB / 413.7 MB, free: 324 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001724/0.03757, allocations: 31.97 kB / 413.7 MB, free: 292 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.917e-05/0.03767, allocations: 51.86 kB / 413.7 MB, free: 240 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.183e-05/0.0377, allocations: 19.98 kB / 413.8 MB, free: 220 kB / 394.7 MB Notification: Performance of sorting global known variables: time 5.151e-05/0.03775, allocations: 36.81 kB / 413.8 MB, free: 180 kB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03775, allocations: 0 / 413.8 MB, free: 180 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006437/0.03839, allocations: 231.2 kB / 414 MB, free: 15.95 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.0006134/0.03901, allocations: 357.2 kB / 414.4 MB, free: 15.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003947/0.0394, allocations: 217 kB / 414.6 MB, free: 15.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-05/0.03942, allocations: 8 kB / 414.6 MB, free: 15.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001842/0.0396, allocations: 138 kB / 414.7 MB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.03983, allocations: 59.92 kB / 414.8 MB, free: 15.17 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/0.04683, allocations: 0.5384 MB / 415.3 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.04693, allocations: 101.7 kB / 415.4 MB, free: 14.45 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002892/0.04722, allocations: 56.2 kB / 415.5 MB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.04744, allocations: 107.3 kB / 415.6 MB, free: 14.29 MB / 410.7 MB Notification: Performance of SimCode: time 2.916e-06/0.04744, allocations: 0 / 415.6 MB, free: 14.29 MB / 410.7 MB Notification: Performance of Templates: time 0.01224/0.05968, allocations: 6.497 MB / 422.1 MB, free: 7.789 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.581200701184571]