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.0009939/0.0009939, 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.00104/0.00104, allocations: 169.3 kB / 24.15 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.066/1.066, allocations: 177.1 MB / 204.6 MB, free: 5.488 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.6848/0.6848, allocations: 115 MB / 376 MB, free: 7.484 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.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: Performance of FrontEnd - loaded program: time 3.556e-06/3.556e-06, allocations: 0 / 428.7 MB, free: 2.785 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.768e-05/3.124e-05, allocations: 2.312 kB / 428.7 MB, free: 2.781 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002647/0.002679, allocations: 0.8982 MB / 429.6 MB, free: 1.883 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.005402, allocations: 2.486 MB / 432.1 MB, free: 15.38 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.005503, allocations: 3.938 kB / 432.1 MB, free: 15.37 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.934e-05/0.005542, allocations: 15.8 kB / 432.1 MB, free: 15.36 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002151/0.005758, allocations: 55.55 kB / 432.2 MB, free: 15.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009593/0.006717, allocations: 478 kB / 432.7 MB, free: 14.83 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003031/0.00702, allocations: 327 kB / 433 MB, free: 14.51 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.693e-05/0.007067, allocations: 6.469 kB / 433 MB, free: 14.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002924/0.007359, allocations: 199.7 kB / 433.2 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.007499, allocations: 127.7 kB / 433.3 MB, free: 14.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.637e-05/0.007535, allocations: 28 kB / 433.3 MB, free: 14.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000645/0.00818, allocations: 423.5 kB / 433.7 MB, free: 13.74 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.545e-05/0.008246, allocations: 63.84 kB / 433.8 MB, free: 13.68 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.015e-05/0.008326, allocations: 95.78 kB / 433.9 MB, free: 13.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007438/0.00907, allocations: 0.5802 MB / 434.5 MB, free: 13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.009074, allocations: 0 / 434.5 MB, free: 13 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.51e-07/0.009075, allocations: 3.938 kB / 434.5 MB, free: 13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.00908, allocations: 0 / 434.5 MB, free: 13 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.0007727/0.009853, allocations: 0.5674 MB / 435 MB, free: 12.41 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.009885, allocations: 8.031 kB / 435.1 MB, free: 12.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006169/0.0105, allocations: 140.5 kB / 435.2 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.01061, allocations: 138.2 kB / 435.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.01073, allocations: 234.2 kB / 435.6 MB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.01077, allocations: 28.38 kB / 435.6 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.01096, allocations: 200.3 kB / 435.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.01097, allocations: 4.188 kB / 435.8 MB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/0.01098, allocations: 16.05 kB / 435.8 MB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.01099, allocations: 4 kB / 435.8 MB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.846e-05/0.01108, allocations: 63.75 kB / 435.9 MB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.01132, allocations: 203.2 kB / 436.1 MB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/0.01201, allocations: 419.2 kB / 436.5 MB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.01212, allocations: 118.2 kB / 436.6 MB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.01215, allocations: 11.98 kB / 436.6 MB, free: 10.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002445/0.0124, allocations: 275.6 kB / 436.9 MB, free: 10.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 2.294e-06/0.0124, allocations: 0 / 436.9 MB, free: 10.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003344/0.01273, allocations: 233.2 kB / 437.1 MB, free: 9.984 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.01287, allocations: 358.1 kB / 437.4 MB, free: 9.555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.01297, allocations: 163.2 kB / 437.6 MB, free: 9.383 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.337e-05/0.013, allocations: 41.7 kB / 437.6 MB, free: 9.336 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.919e-05/0.01304, allocations: 97.06 kB / 437.7 MB, free: 9.234 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.749e-05/0.01313, allocations: 119.6 kB / 437.9 MB, free: 9.117 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.991e-05/0.01323, allocations: 98.06 kB / 438 MB, free: 9.016 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.959e-05/0.01332, allocations: 334.8 kB / 438.3 MB, free: 8.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.01343, allocations: 61.67 kB / 438.3 MB, free: 8.617 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.35e-05/0.01352, allocations: 104.3 kB / 438.4 MB, free: 8.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.01371, allocations: 171.2 kB / 438.6 MB, free: 8.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.01371, allocations: 1 kB / 438.6 MB, free: 8.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002407/0.01395, allocations: 221.4 kB / 438.8 MB, free: 8.098 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.01397, allocations: 4 kB / 438.8 MB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.01397, allocations: 0.75 kB / 438.8 MB, free: 8.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.01399, allocations: 8 kB / 438.8 MB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002276/0.01421, allocations: 91.86 kB / 438.9 MB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.01422, allocations: 7.938 kB / 438.9 MB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.01433, allocations: 43.77 kB / 439 MB, free: 7.945 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.01436, allocations: 15.98 kB / 439 MB, free: 7.93 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.0001108/0.01447, allocations: 153.6 kB / 439.1 MB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.335e-05/0.01451, allocations: 27.98 kB / 439.2 MB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003107/0.01482, allocations: 258.3 kB / 439.4 MB, free: 7.488 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.01483, allocations: 16.17 kB / 439.4 MB, free: 7.473 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01484, allocations: 4 kB / 439.4 MB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.01484, allocations: 7.922 kB / 439.5 MB, free: 7.461 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.01505, allocations: 190.1 kB / 439.6 MB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.01505, allocations: 0 / 439.6 MB, free: 7.258 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.01521, allocations: 83.83 kB / 439.7 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.01522, allocations: 4 kB / 439.7 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.884e-05/0.01524, allocations: 16 kB / 439.7 MB, free: 7.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.01524, allocations: 7.984 kB / 439.7 MB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.01525, allocations: 7.938 kB / 439.8 MB, free: 7.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002838/0.01553, allocations: 329.7 kB / 440.1 MB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.01563, allocations: 63.64 kB / 440.1 MB, free: 6.703 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.01567, allocations: 12 kB / 440.2 MB, free: 6.691 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.01577, allocations: 31.98 kB / 440.2 MB, free: 6.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.01585, allocations: 51.84 kB / 440.2 MB, free: 6.609 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.048e-05/0.01587, allocations: 20 kB / 440.3 MB, free: 6.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.856e-05/0.01591, allocations: 48.72 kB / 440.3 MB, free: 6.539 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01591, allocations: 0 / 440.3 MB, free: 6.539 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004713/0.01638, allocations: 235.1 kB / 440.5 MB, free: 6.309 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.0004242/0.0168, allocations: 345.2 kB / 440.9 MB, free: 5.965 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002954/0.0171, allocations: 217 kB / 441.1 MB, free: 5.746 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.0171, allocations: 4 kB / 441.1 MB, free: 5.742 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001339/0.01723, allocations: 141.5 kB / 441.2 MB, free: 5.602 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.01739, allocations: 31.94 kB / 441.3 MB, free: 5.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008051/0.01819, allocations: 0.515 MB / 441.8 MB, free: 4.992 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.106e-05/0.01826, allocations: 101.7 kB / 441.9 MB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000129/0.01838, allocations: 60.8 kB / 441.9 MB, free: 4.812 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000147/0.01853, allocations: 107.3 kB / 442 MB, free: 4.707 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/0.01853, allocations: 0 / 442 MB, free: 4.707 MB / 410.7 MB Notification: Performance of Templates: time 0.1825/0.2011, allocations: 6.429 MB / 448.5 MB, free: 29.88 MB / 410.7 MB " [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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.6464678929187357]