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.00195/0.00195, allocations: 92.72 kB / 20.21 MB, free: 4.227 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.002529/0.002529, allocations: 157.7 kB / 23.52 MB, free: 0.9219 MB / 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.488/1.488, allocations: 177.2 MB / 203.9 MB, free: 5.602 MB / 186.7 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.9679/0.9679, allocations: 115 MB / 375.3 MB, free: 7.562 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.325e-06/2.325e-06, allocations: 0 / 480.7 MB, free: 11.95 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.835e-05/3.068e-05, allocations: 6.688 kB / 480.8 MB, free: 11.94 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001646/0.001676, allocations: 0.8308 MB / 481.6 MB, free: 11.45 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002586/0.004262, allocations: 2.421 MB / 484 MB, free: 9.789 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.312e-05/0.004335, allocations: 2.156 kB / 484 MB, free: 9.789 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.157e-05/0.004377, allocations: 11.81 kB / 484 MB, free: 9.777 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.00459, allocations: 53.03 kB / 484.1 MB, free: 9.742 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009774/0.005567, allocations: 0.4955 MB / 484.6 MB, free: 9.504 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002832/0.005851, allocations: 328.7 kB / 484.9 MB, free: 9.355 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.005902, allocations: 8.25 kB / 484.9 MB, free: 9.352 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/0.00625, allocations: 204.8 kB / 485.1 MB, free: 9.273 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001759/0.006426, allocations: 126.7 kB / 485.2 MB, free: 9.238 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.051e-05/0.006477, allocations: 24.47 kB / 485.2 MB, free: 9.238 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006161/0.007093, allocations: 383.5 kB / 485.6 MB, free: 9.152 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.936e-05/0.007162, allocations: 69.16 kB / 485.7 MB, free: 9.113 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001039/0.007266, allocations: 86.52 kB / 485.8 MB, free: 9.078 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007494/0.008015, allocations: 0.6622 MB / 486.4 MB, free: 8.844 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.008018, allocations: 0 / 486.4 MB, free: 8.844 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.00802, allocations: 0.6562 kB / 486.4 MB, free: 8.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.008026, allocations: 1.344 kB / 486.4 MB, free: 8.844 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.001306/0.009332, allocations: 0.6062 MB / 487 MB, free: 8.414 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.058e-05/0.009372, allocations: 9.531 kB / 487 MB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.01041, allocations: 127.9 kB / 487.2 MB, free: 8.379 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.01051, allocations: 139.2 kB / 487.3 MB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001528/0.01066, allocations: 235.4 kB / 487.5 MB, free: 7.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.084e-05/0.01071, allocations: 17.53 kB / 487.6 MB, free: 7.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.01103, allocations: 248.8 kB / 487.8 MB, free: 7.781 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.01105, allocations: 5.562 kB / 487.8 MB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.478e-05/0.01107, allocations: 6.625 kB / 487.8 MB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.01108, allocations: 3.531 kB / 487.8 MB, free: 7.773 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.0113, allocations: 119 kB / 487.9 MB, free: 7.734 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.01163, allocations: 292.5 kB / 488.2 MB, free: 7.461 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.01292, allocations: 479.8 kB / 488.7 MB, free: 7.113 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000192/0.01311, allocations: 148.1 kB / 488.8 MB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.484e-05/0.01316, allocations: 9.969 kB / 488.8 MB, free: 6.988 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004383/0.0136, allocations: 310.7 kB / 489.1 MB, free: 6.785 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.813e-06/0.0136, allocations: 2.062 kB / 489.1 MB, free: 6.785 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.000848/0.01445, allocations: 438.6 kB / 489.6 MB, free: 6.613 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.31e-05/0.01454, allocations: 356.7 kB / 489.9 MB, free: 6.199 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.01466, allocations: 162.3 kB / 490.1 MB, free: 6.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.725e-05/0.0147, allocations: 38.58 kB / 490.1 MB, free: 6.039 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.01474, allocations: 104.2 kB / 490.2 MB, free: 5.938 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.682e-05/0.01483, allocations: 117.4 kB / 490.3 MB, free: 5.844 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.01497, allocations: 95.75 kB / 490.4 MB, free: 5.797 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.01503, allocations: 330.4 kB / 490.7 MB, free: 5.477 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.01529, allocations: 117.8 kB / 490.9 MB, free: 5.441 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002911/0.01558, allocations: 168.6 kB / 491 MB, free: 5.363 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005385/0.01612, allocations: 266.7 kB / 491.3 MB, free: 5.238 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.01613, allocations: 0 / 491.3 MB, free: 5.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007462/0.01687, allocations: 400 kB / 491.7 MB, free: 5.082 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.01689, allocations: 9.703 kB / 491.7 MB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.0169, allocations: 1.281 kB / 491.7 MB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/0.01693, allocations: 6.625 kB / 491.7 MB, free: 5.078 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003752/0.0173, allocations: 76.19 kB / 491.8 MB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.01731, allocations: 4.875 kB / 491.8 MB, free: 5.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.0176, allocations: 48.11 kB / 491.8 MB, free: 5.047 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.01764, allocations: 23.19 kB / 491.8 MB, free: 5.043 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.0002724/0.01791, allocations: 155 kB / 492 MB, free: 20.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.691e-05/0.018, allocations: 41.05 kB / 492 MB, free: 20.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006396/0.01863, allocations: 355.5 kB / 492.4 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.01865, allocations: 16.91 kB / 492.4 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.01866, allocations: 2.969 kB / 492.4 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.01867, allocations: 7.219 kB / 492.4 MB, free: 20.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.01899, allocations: 245.7 kB / 492.7 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/0.019, allocations: 2.219 kB / 492.7 MB, free: 20.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002819/0.01928, allocations: 77.88 kB / 492.7 MB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.01929, allocations: 4.5 kB / 492.7 MB, free: 20.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/0.01932, allocations: 19.45 kB / 492.8 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.01933, allocations: 5.094 kB / 492.8 MB, free: 20.51 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.01933, allocations: 11.19 kB / 492.8 MB, free: 20.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007162/0.02005, allocations: 0.5018 MB / 493.3 MB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.0202, allocations: 73.61 kB / 493.3 MB, free: 20.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.398e-05/0.02025, allocations: 27.31 kB / 493.4 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002355/0.02049, allocations: 25.69 kB / 493.4 MB, free: 20.16 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.02061, allocations: 55.77 kB / 493.4 MB, free: 20.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.02065, allocations: 23.47 kB / 493.5 MB, free: 20.14 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001295/0.02077, allocations: 122.9 kB / 493.6 MB, free: 20.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.02077, allocations: 0 / 493.6 MB, free: 20.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006976/0.02147, allocations: 236.9 kB / 493.8 MB, free: 19.98 MB / 426.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.0006361/0.02211, allocations: 357.2 kB / 494.2 MB, free: 19.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.02277, allocations: 317.6 kB / 494.5 MB, free: 19.72 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.02278, allocations: 2.281 kB / 494.5 MB, free: 19.72 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002864/0.02306, allocations: 170.2 kB / 494.6 MB, free: 19.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.02337, allocations: 44.48 kB / 494.7 MB, free: 19.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009533/0.02432, allocations: 0.565 MB / 495.3 MB, free: 19.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.02447, allocations: 154.9 kB / 495.4 MB, free: 19.17 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001972/0.02467, allocations: 51.23 kB / 495.5 MB, free: 19.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.02482, allocations: 55.61 kB / 495.5 MB, free: 19.14 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.02482, allocations: 2.188 kB / 495.5 MB, free: 19.14 MB / 426.7 MB Notification: Performance of Templates: time 0.01276/0.03758, allocations: 5.835 MB / 0.4896 GB, free: 18.49 MB / 426.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=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.784464065916836]