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.001088/0.001088, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001623/0.00271, allocations: 452 kB / 10.43 MB, free: 268 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.001058/0.001058, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002465, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.126/1.126, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1241/1.25, allocations: 53.68 MB / 243.4 MB, free: 15.5 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.7549/0.7549, allocations: 120.1 MB / 364.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07682/0.8317, allocations: 38.16 MB / 402.4 MB, free: 12.27 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 1.472e-06/1.472e-06, allocations: 0 / 403.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.198e-05/1.345e-05, allocations: 2.312 kB / 403.7 MB, free: 10.97 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.001157/0.001171, allocations: 0.8944 MB / 404.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.003219, allocations: 2.49 MB / 407.1 MB, free: 7.562 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.003278, allocations: 3.938 kB / 407.1 MB, free: 7.559 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 2.907e-05/0.003307, allocations: 15.8 kB / 407.1 MB, free: 7.543 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 8.196e-05/0.003389, allocations: 43.56 kB / 407.1 MB, free: 7.5 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007021/0.004091, allocations: 486 kB / 407.6 MB, free: 7.023 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.004335, allocations: 315 kB / 407.9 MB, free: 6.715 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.004375, allocations: 10.47 kB / 407.9 MB, free: 6.707 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002541/0.004629, allocations: 215.5 kB / 408.1 MB, free: 6.496 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.00476, allocations: 119.7 kB / 408.3 MB, free: 6.379 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 3.423e-05/0.004794, allocations: 28 kB / 408.3 MB, free: 6.352 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007616/0.005556, allocations: 423.5 kB / 408.7 MB, free: 5.938 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 4.673e-05/0.005602, allocations: 43.86 kB / 408.7 MB, free: 5.895 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 6.157e-05/0.005664, allocations: 63.88 kB / 408.8 MB, free: 5.832 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004922/0.006156, allocations: 0.4906 MB / 409.3 MB, free: 5.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/0.006168, allocations: 0 / 409.3 MB, free: 5.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006169, allocations: 0 / 409.3 MB, free: 5.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.006181, allocations: 0 / 409.3 MB, free: 5.34 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.000843/0.007024, allocations: 0.6608 MB / 410 MB, free: 4.652 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.119e-05/0.007055, allocations: 8.031 kB / 410 MB, free: 4.645 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006452/0.0077, allocations: 209.6 kB / 410.2 MB, free: 4.422 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.443e-05/0.007794, allocations: 134.2 kB / 410.3 MB, free: 4.262 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/0.007906, allocations: 234.2 kB / 410.5 MB, free: 3.984 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.918e-05/0.007935, allocations: 20.38 kB / 410.6 MB, free: 3.965 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.008117, allocations: 212.3 kB / 410.8 MB, free: 3.715 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.008128, allocations: 12.05 kB / 410.8 MB, free: 3.703 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.008143, allocations: 8.125 kB / 410.8 MB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.008151, allocations: 4 kB / 410.8 MB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.388e-05/0.008234, allocations: 71.8 kB / 410.9 MB, free: 3.621 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.008454, allocations: 199.1 kB / 411 MB, free: 3.375 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006194/0.009074, allocations: 423.2 kB / 411.5 MB, free: 2.852 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.665e-05/0.00916, allocations: 114.2 kB / 411.6 MB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.009188, allocations: 15.98 kB / 411.6 MB, free: 2.688 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002332/0.009422, allocations: 275.4 kB / 411.9 MB, free: 2.367 MB / 394.7 MB Notification: Performance of pre-optimization done (n=40): time 1.583e-06/0.009423, allocations: 4 kB / 411.9 MB, free: 2.363 MB / 394.7 MB Notification: Performance of matching and sorting (n=40): time 0.0003003/0.009724, allocations: 238.5 kB / 412.1 MB, free: 2.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.00985, allocations: 358.1 kB / 412.4 MB, free: 1.695 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.821e-05/0.009948, allocations: 159.2 kB / 412.6 MB, free: 1.527 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.068e-05/0.009979, allocations: 41.7 kB / 412.6 MB, free: 1.48 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.999e-05/0.01002, allocations: 101.1 kB / 412.7 MB, free: 1.379 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.767e-05/0.0101, allocations: 115 kB / 412.8 MB, free: 1.266 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.29e-05/0.01018, allocations: 94.11 kB / 412.9 MB, free: 1.168 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.083e-05/0.01027, allocations: 339.3 kB / 413.3 MB, free: 0.8281 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.344e-05/0.01036, allocations: 65.67 kB / 413.3 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.028e-05/0.01045, allocations: 104.3 kB / 413.4 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001707/0.01062, allocations: 167.2 kB / 413.6 MB, free: 484 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.01063, allocations: 4 kB / 413.6 MB, free: 480 kB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002261/0.01085, allocations: 213.9 kB / 413.8 MB, free: 260 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.01087, allocations: 8 kB / 413.8 MB, free: 252 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.01087, allocations: 4 kB / 413.8 MB, free: 248 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.01089, allocations: 4 kB / 413.8 MB, free: 244 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.0111, allocations: 107.8 kB / 413.9 MB, free: 136 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.01111, allocations: 11.88 kB / 413.9 MB, free: 124 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.01121, allocations: 43.77 kB / 414 MB, free: 80 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/0.01123, allocations: 11.98 kB / 414 MB, free: 68 kB / 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.0001092/0.01134, allocations: 141.8 kB / 414.1 MB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.01138, allocations: 31.98 kB / 414.2 MB, free: 15.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002954/0.01167, allocations: 262.6 kB / 414.4 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.01168, allocations: 12 kB / 414.4 MB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.01168, allocations: 7.938 kB / 414.4 MB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.01169, allocations: 7.938 kB / 414.5 MB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.01187, allocations: 190 kB / 414.6 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.01187, allocations: 0 / 414.6 MB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001521/0.01202, allocations: 79.89 kB / 414.7 MB, free: 15.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.915e-05/0.01211, allocations: 63.69 kB / 414.8 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.01212, allocations: 4 kB / 414.8 MB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.01213, allocations: 12.17 kB / 414.8 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.01214, allocations: 11.94 kB / 414.8 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.01214, allocations: 256 / 414.8 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.0124, allocations: 345.5 kB / 415.1 MB, free: 14.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.241e-05/0.01243, allocations: 19.95 kB / 415.2 MB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.405e-05/0.01252, allocations: 23.97 kB / 415.2 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.612e-05/0.01259, allocations: 55.86 kB / 415.2 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.01261, allocations: 19.92 kB / 415.3 MB, free: 14.71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003115/0.01292, allocations: 44.75 kB / 415.3 MB, free: 14.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01292, allocations: 0 / 415.3 MB, free: 14.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003873/0.01331, allocations: 227.2 kB / 415.5 MB, free: 14.44 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.0003784/0.01368, allocations: 358.2 kB / 415.9 MB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002593/0.01394, allocations: 225.1 kB / 416.1 MB, free: 13.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/0.01395, allocations: 7.984 kB / 416.1 MB, free: 13.85 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.0141, allocations: 162.6 kB / 416.3 MB, free: 13.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000169/0.01427, allocations: 63.97 kB / 416.3 MB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00239/0.01666, allocations: 0.5387 MB / 416.9 MB, free: 13.03 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.673e-05/0.01671, allocations: 97.83 kB / 417 MB, free: 12.92 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.01683, allocations: 57 kB / 417 MB, free: 12.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.01697, allocations: 107.3 kB / 417.1 MB, free: 12.76 MB / 410.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01697, allocations: 0 / 417.1 MB, free: 12.76 MB / 410.7 MB Notification: Performance of Templates: time 0.007372/0.02434, allocations: 6.528 MB / 423.6 MB, free: 6.219 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.6023616613820195]