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.0008776/0.0008776, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001296/0.002174, 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.0009836/0.0009836, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002864/0.003847, 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 1.001/1.001, allocations: 177.1 MB / 189.6 MB, free: 3.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1718/1.173, allocations: 53.65 MB / 243.2 MB, free: 2.375 MB / 234.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.632/0.632, allocations: 119.1 MB / 363.1 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06685/0.6988, allocations: 37.85 MB / 400.9 MB, free: 15.31 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.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 2.164e-06/2.164e-06, allocations: 0 / 402.2 MB, free: 14.05 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.264e-05, allocations: 6.109 kB / 402.2 MB, free: 14.05 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001539/0.001562, allocations: 0.8981 MB / 403.1 MB, free: 13.15 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.004058, allocations: 2.486 MB / 405.6 MB, free: 10.64 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.745e-05/0.004136, allocations: 3.938 kB / 405.6 MB, free: 10.64 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 3.443e-05/0.00417, allocations: 15.8 kB / 405.6 MB, free: 10.62 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 9.731e-05/0.004268, allocations: 47.56 kB / 405.6 MB, free: 10.57 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000682/0.00495, allocations: 481.9 kB / 406.1 MB, free: 10.1 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.005186, allocations: 318.9 kB / 406.4 MB, free: 9.789 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.878e-05/0.005235, allocations: 14.41 kB / 406.4 MB, free: 9.773 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002592/0.005494, allocations: 215.7 kB / 406.6 MB, free: 9.562 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.00563, allocations: 123.7 kB / 406.8 MB, free: 9.441 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.005664, allocations: 24 kB / 406.8 MB, free: 9.418 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004721/0.006137, allocations: 419.5 kB / 407.2 MB, free: 9.008 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.183e-05/0.006178, allocations: 47.86 kB / 407.2 MB, free: 8.961 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.25e-05/0.006241, allocations: 59.94 kB / 407.3 MB, free: 8.902 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004808/0.006722, allocations: 494.4 kB / 407.8 MB, free: 8.418 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.596e-05/0.006738, allocations: 4 kB / 407.8 MB, free: 8.414 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.006739, allocations: 0 / 407.8 MB, free: 8.414 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.006754, allocations: 0 / 407.8 MB, free: 8.414 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.0007718/0.007526, allocations: 0.6646 MB / 408.4 MB, free: 7.727 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.859e-05/0.007555, allocations: 8.031 kB / 408.5 MB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005608/0.008115, allocations: 217.6 kB / 408.7 MB, free: 7.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.342e-05/0.008209, allocations: 138.2 kB / 408.8 MB, free: 7.324 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.008326, allocations: 226.2 kB / 409 MB, free: 7.055 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.008352, allocations: 24.38 kB / 409 MB, free: 7.031 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.008542, allocations: 208.2 kB / 409.3 MB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.00855, allocations: 192 / 409.3 MB, free: 6.785 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.008567, allocations: 16.11 kB / 409.3 MB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.493e-06/0.008573, allocations: 4 kB / 409.3 MB, free: 6.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.465e-05/0.008658, allocations: 71.73 kB / 409.3 MB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002119/0.00887, allocations: 195.2 kB / 409.5 MB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006474/0.009517, allocations: 423.1 kB / 409.9 MB, free: 5.934 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.615e-05/0.009603, allocations: 110.3 kB / 410.1 MB, free: 5.789 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.412e-05/0.009637, allocations: 15.92 kB / 410.1 MB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002319/0.009869, allocations: 279.5 kB / 410.3 MB, free: 5.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 1.363e-06/0.009871, allocations: 0 / 410.3 MB, free: 5.449 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.0002958/0.01017, allocations: 234.8 kB / 410.6 MB, free: 5.215 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.01028, allocations: 358.1 kB / 410.9 MB, free: 4.785 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.794e-05/0.01038, allocations: 171.2 kB / 411.1 MB, free: 4.605 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.01041, allocations: 37.7 kB / 411.1 MB, free: 4.562 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.497e-05/0.01044, allocations: 93.11 kB / 411.2 MB, free: 4.469 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.615e-05/0.01052, allocations: 127.5 kB / 411.3 MB, free: 4.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.41e-05/0.0106, allocations: 98.11 kB / 411.4 MB, free: 4.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.115e-05/0.01069, allocations: 334.8 kB / 411.8 MB, free: 3.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.607e-05/0.01079, allocations: 65.72 kB / 411.8 MB, free: 3.84 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.178e-05/0.01088, allocations: 104.3 kB / 411.9 MB, free: 3.723 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.01105, allocations: 170 kB / 412.1 MB, free: 3.551 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01106, allocations: 0 / 412.1 MB, free: 3.551 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0004533/0.01151, allocations: 209.1 kB / 412.3 MB, free: 3.344 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.01153, allocations: 15.2 kB / 412.3 MB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.01153, allocations: 4 kB / 412.3 MB, free: 3.328 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.497e-06/0.01154, allocations: 4 kB / 412.3 MB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002318/0.01177, allocations: 103.8 kB / 412.4 MB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.942e-06/0.01178, allocations: 7.938 kB / 412.4 MB, free: 3.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.01189, allocations: 47.72 kB / 412.5 MB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.01191, allocations: 15.98 kB / 412.5 MB, free: 3.152 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 9.311e-05/0.012, allocations: 149.7 kB / 412.6 MB, free: 2.996 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.555e-05/0.01204, allocations: 27.92 kB / 412.7 MB, free: 2.969 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.01234, allocations: 270.3 kB / 412.9 MB, free: 2.695 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.01234, allocations: 8 kB / 412.9 MB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.01235, allocations: 4 kB / 412.9 MB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.01236, allocations: 11.92 kB / 413 MB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001828/0.01254, allocations: 182.1 kB / 413.1 MB, free: 2.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.01254, allocations: 4 kB / 413.1 MB, free: 2.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.01271, allocations: 84.08 kB / 413.2 MB, free: 2.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.209e-05/0.0128, allocations: 59.64 kB / 413.3 MB, free: 2.332 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.0128, allocations: 4 kB / 413.3 MB, free: 2.328 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.01282, allocations: 23.98 kB / 413.3 MB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.01283, allocations: 8 kB / 413.3 MB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.01283, allocations: 4 kB / 413.3 MB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.01308, allocations: 325.5 kB / 413.6 MB, free: 1.922 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.158e-05/0.01312, allocations: 16 kB / 413.6 MB, free: 1.906 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.01322, allocations: 31.97 kB / 413.7 MB, free: 1.875 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.179e-05/0.01329, allocations: 55.8 kB / 413.7 MB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.01331, allocations: 15.98 kB / 413.8 MB, free: 1.805 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.245e-05/0.01334, allocations: 48.78 kB / 413.8 MB, free: 1.754 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01334, allocations: 0 / 413.8 MB, free: 1.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003815/0.01372, allocations: 231.2 kB / 414 MB, free: 1.527 MB / 394.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.000379/0.0141, allocations: 365.3 kB / 414.4 MB, free: 1.164 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002472/0.01435, allocations: 221 kB / 414.6 MB, free: 0.9414 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.01436, allocations: 4 kB / 414.6 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001154/0.01447, allocations: 134.4 kB / 414.7 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001599/0.01463, allocations: 55.97 kB / 414.8 MB, free: 0.75 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002432/0.01707, allocations: 0.5424 MB / 415.3 MB, free: 152 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.683e-05/0.01712, allocations: 93.83 kB / 415.4 MB, free: 36 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.01727, allocations: 59.06 kB / 415.5 MB, free: 15.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.01739, allocations: 107.3 kB / 415.6 MB, free: 15.87 MB / 410.7 MB Notification: Performance of SimCode: time 8.42e-07/0.01739, allocations: 0 / 415.6 MB, free: 15.87 MB / 410.7 MB Notification: Performance of Templates: time 0.00769/0.02509, allocations: 6.488 MB / 422.1 MB, free: 9.457 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.566964785568416]