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.001225/0.001225, allocations: 72.95 kB / 20.72 MB, free: 3.77 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.001244/0.001244, allocations: 169 kB / 24.14 MB, free: 360 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.017/1.017, allocations: 177.2 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.6669/0.6669, allocations: 115 MB / 376 MB, free: 7.426 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.065e-06/3.065e-06, allocations: 0 / 428.7 MB, free: 2.797 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.183e-05/3.49e-05, allocations: 6.312 kB / 428.7 MB, free: 2.789 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002742/0.002777, allocations: 0.8512 MB / 429.5 MB, free: 1.938 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.004015/0.006792, allocations: 2.486 MB / 432 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.006935, allocations: 0 / 432 MB, free: 15.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.249e-05/0.006987, allocations: 15.75 kB / 432 MB, free: 15.41 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000267/0.007254, allocations: 43.56 kB / 432.1 MB, free: 15.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001362/0.008616, allocations: 0.5136 MB / 432.6 MB, free: 14.86 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004374/0.009053, allocations: 319.1 kB / 432.9 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.716e-05/0.00912, allocations: 10.45 kB / 432.9 MB, free: 14.53 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003641/0.009485, allocations: 203.6 kB / 433.1 MB, free: 14.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.009669, allocations: 123.7 kB / 433.2 MB, free: 14.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.831e-05/0.009718, allocations: 24 kB / 433.3 MB, free: 14.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007083/0.01043, allocations: 395.5 kB / 433.6 MB, free: 13.8 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.163e-05/0.0105, allocations: 63.84 kB / 433.7 MB, free: 13.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.399e-05/0.01059, allocations: 91.77 kB / 433.8 MB, free: 13.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001045/0.01164, allocations: 0.5802 MB / 434.4 MB, free: 13.06 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.01164, allocations: 0 / 434.4 MB, free: 13.06 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.01164, allocations: 0 / 434.4 MB, free: 13.06 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.606e-06/0.01164, allocations: 0 / 434.4 MB, free: 13.06 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.0007327/0.01238, allocations: 0.5674 MB / 434.9 MB, free: 12.47 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.01241, allocations: 12.03 kB / 435 MB, free: 12.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005508/0.01296, allocations: 136.5 kB / 435.1 MB, free: 12.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.805e-05/0.01306, allocations: 142.2 kB / 435.2 MB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.01318, allocations: 230.2 kB / 435.5 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.01321, allocations: 20.38 kB / 435.5 MB, free: 11.87 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001889/0.0134, allocations: 212.2 kB / 435.7 MB, free: 11.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.01341, allocations: 4.188 kB / 435.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.01343, allocations: 4.125 kB / 435.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.01343, allocations: 4 kB / 435.7 MB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.419e-05/0.01353, allocations: 83.64 kB / 435.8 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.01378, allocations: 191.1 kB / 436 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006956/0.01447, allocations: 423.2 kB / 436.4 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001009/0.01457, allocations: 114.2 kB / 436.5 MB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/0.01461, allocations: 15.94 kB / 436.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002352/0.01484, allocations: 271.6 kB / 436.8 MB, free: 10.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.644e-06/0.01484, allocations: 4 kB / 436.8 MB, free: 10.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003042/0.01515, allocations: 237.8 kB / 437 MB, free: 10.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003589/0.01551, allocations: 358.1 kB / 437.4 MB, free: 9.613 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.662e-05/0.0156, allocations: 171.1 kB / 437.5 MB, free: 9.434 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.01563, allocations: 41.7 kB / 437.6 MB, free: 9.387 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.629e-05/0.01567, allocations: 97.08 kB / 437.7 MB, free: 9.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.412e-05/0.01574, allocations: 111.1 kB / 437.8 MB, free: 9.176 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.83e-05/0.01582, allocations: 98.56 kB / 437.9 MB, free: 9.074 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.955e-05/0.0159, allocations: 334.8 kB / 438.2 MB, free: 8.738 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.633e-05/0.016, allocations: 69.66 kB / 438.3 MB, free: 8.668 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.039e-05/0.01609, allocations: 96.36 kB / 438.3 MB, free: 8.559 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.01627, allocations: 175.1 kB / 438.5 MB, free: 8.375 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.01627, allocations: 4 kB / 438.5 MB, free: 8.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002346/0.01651, allocations: 209.5 kB / 438.7 MB, free: 8.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.01652, allocations: 8 kB / 438.7 MB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.01653, allocations: 0 / 438.7 MB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.01654, allocations: 4 kB / 438.7 MB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001917/0.01673, allocations: 91.81 kB / 438.8 MB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.01673, allocations: 3.938 kB / 438.8 MB, free: 8.055 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.01684, allocations: 47.75 kB / 438.9 MB, free: 8.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/0.01687, allocations: 16.98 kB / 438.9 MB, free: 7.992 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.0001128/0.01698, allocations: 141.7 kB / 439 MB, free: 7.844 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.01703, allocations: 35.97 kB / 439.1 MB, free: 7.809 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003385/0.01737, allocations: 266.4 kB / 439.3 MB, free: 7.547 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/0.01738, allocations: 8 kB / 439.3 MB, free: 7.539 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.01738, allocations: 4 kB / 439.3 MB, free: 7.535 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.01739, allocations: 11.92 kB / 439.4 MB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.01761, allocations: 182.1 kB / 439.5 MB, free: 7.328 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.01762, allocations: 8 kB / 439.5 MB, free: 7.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001402/0.01776, allocations: 67.84 kB / 439.6 MB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.651e-06/0.01776, allocations: 8 kB / 439.6 MB, free: 7.246 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.84e-05/0.01778, allocations: 15.98 kB / 439.6 MB, free: 7.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.01779, allocations: 4 kB / 439.6 MB, free: 7.227 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01779, allocations: 4 kB / 439.6 MB, free: 7.223 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.01807, allocations: 329.5 kB / 440 MB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.7e-05/0.01816, allocations: 63.66 kB / 440 MB, free: 6.781 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.278e-05/0.0182, allocations: 16 kB / 440 MB, free: 6.766 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.717e-05/0.01829, allocations: 23.97 kB / 440.1 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.371e-05/0.01837, allocations: 59.8 kB / 440.1 MB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.01838, allocations: 20.23 kB / 440.1 MB, free: 6.664 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.216e-05/0.01842, allocations: 44.8 kB / 440.2 MB, free: 6.617 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01842, allocations: 0 / 440.2 MB, free: 6.617 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003963/0.01881, allocations: 231.1 kB / 440.4 MB, free: 6.391 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.0003777/0.01919, allocations: 353.2 kB / 440.8 MB, free: 6.039 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002542/0.01944, allocations: 221 kB / 441 MB, free: 5.816 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/0.01945, allocations: 0 / 441 MB, free: 5.816 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001275/0.01958, allocations: 145.9 kB / 441.1 MB, free: 5.672 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.01972, allocations: 35.94 kB / 441.1 MB, free: 5.637 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/0.02044, allocations: 0.515 MB / 441.7 MB, free: 5.059 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.285e-05/0.02051, allocations: 101.7 kB / 441.8 MB, free: 4.934 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000126/0.02063, allocations: 56.64 kB / 441.8 MB, free: 4.883 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.02076, allocations: 103.3 kB / 441.9 MB, free: 4.781 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02076, allocations: 0 / 441.9 MB, free: 4.781 MB / 410.7 MB Notification: Performance of Templates: time 0.1766/0.1973, allocations: 6.432 MB / 448.3 MB, free: 29.95 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 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5629373299889266]