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.001269/0.001269, allocations: 84.48 kB / 19.94 MB, free: 1.777 MB / 14.72 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.001356/0.001356, allocations: 161.5 kB / 23.21 MB, free: 4.902 MB / 14.72 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.377/1.377, allocations: 177.1 MB / 203.5 MB, free: 9.172 MB / 190.1 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.9168/0.9168, allocations: 114 MB / 373.9 MB, free: 13.26 MB / 350.1 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 1.633e-06/1.633e-06, allocations: 0 / 0.5546 GB, free: 2.672 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/2.141e-05, allocations: 2.281 kB / 0.5547 GB, free: 2.668 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetNegativeStartTime): time 0.001711/0.001732, allocations: 0.836 MB / 0.5555 GB, free: 1.832 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.003182/0.004914, allocations: 2.412 MB / 0.5578 GB, free: 15.4 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.122e-05/0.004986, allocations: 4 kB / 0.5578 GB, free: 15.39 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.787e-05/0.005023, allocations: 15.8 kB / 0.5578 GB, free: 15.38 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001913/0.005215, allocations: 43.56 kB / 0.5579 GB, free: 15.34 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.006225, allocations: 0.4981 MB / 0.5584 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.006575, allocations: 327 kB / 0.5587 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.00662, allocations: 9.812 kB / 0.5587 GB, free: 14.5 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003451/0.006966, allocations: 203.6 kB / 0.5589 GB, free: 14.3 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001983/0.007164, allocations: 127.7 kB / 0.559 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 5.683e-05/0.007221, allocations: 24 kB / 0.559 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006568/0.007877, allocations: 383.5 kB / 0.5594 GB, free: 13.78 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 8.094e-05/0.007958, allocations: 71.77 kB / 0.5595 GB, free: 13.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001139/0.008072, allocations: 91.78 kB / 0.5596 GB, free: 13.62 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008479/0.00892, allocations: 0.6582 MB / 0.5602 GB, free: 12.96 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.008925, allocations: 8 kB / 0.5602 GB, free: 12.95 MB / 478.1 MB Notification: Performance of FrontEnd: time 7.62e-07/0.008925, allocations: 0 / 0.5602 GB, free: 12.95 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.00893, allocations: 0 / 0.5602 GB, free: 12.95 MB / 478.1 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.001305/0.01023, allocations: 0.5999 MB / 0.5608 GB, free: 12.32 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.01027, allocations: 8.625 kB / 0.5608 GB, free: 12.31 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/0.01132, allocations: 96.72 kB / 0.5609 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.01146, allocations: 134.2 kB / 0.561 GB, free: 12.06 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002317/0.01169, allocations: 230.2 kB / 0.5612 GB, free: 11.79 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.688e-05/0.01173, allocations: 20.38 kB / 0.5613 GB, free: 11.77 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.01212, allocations: 244.3 kB / 0.5615 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.01213, allocations: 4.125 kB / 0.5615 GB, free: 11.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.681e-05/0.01216, allocations: 16.12 kB / 0.5615 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.01216, allocations: 4 kB / 0.5615 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002391/0.0124, allocations: 111.8 kB / 0.5616 GB, free: 11.35 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.0128, allocations: 294.9 kB / 0.5619 GB, free: 11 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.01427, allocations: 479.3 kB / 0.5624 GB, free: 10.42 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.0145, allocations: 146.3 kB / 0.5625 GB, free: 10.24 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.58e-05/0.01454, allocations: 11.94 kB / 0.5625 GB, free: 10.23 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000448/0.01498, allocations: 327.3 kB / 0.5628 GB, free: 9.859 MB / 478.1 MB Notification: Performance of pre-optimization done (n=40): time 2.044e-06/0.01499, allocations: 0 / 0.5628 GB, free: 9.859 MB / 478.1 MB Notification: Performance of matching and sorting (n=40): time 0.0009027/0.01589, allocations: 421.6 kB / 0.5632 GB, free: 9.441 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/0.01609, allocations: 358.6 kB / 0.5636 GB, free: 9.012 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.01625, allocations: 168.9 kB / 0.5637 GB, free: 8.836 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.952e-05/0.0163, allocations: 41.7 kB / 0.5638 GB, free: 8.789 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.896e-05/0.01636, allocations: 89.14 kB / 0.5638 GB, free: 8.699 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.01647, allocations: 119.1 kB / 0.564 GB, free: 8.582 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.01662, allocations: 102.1 kB / 0.5641 GB, free: 8.477 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.01676, allocations: 330.8 kB / 0.5644 GB, free: 8.145 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002858/0.01705, allocations: 113.9 kB / 0.5645 GB, free: 8.035 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000332/0.01738, allocations: 164.3 kB / 0.5646 GB, free: 7.855 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005823/0.01796, allocations: 264.6 kB / 0.5649 GB, free: 7.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01797, allocations: 4 kB / 0.5649 GB, free: 7.586 MB / 478.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008198/0.01879, allocations: 379.7 kB / 0.5653 GB, free: 7.211 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.0188, allocations: 8 kB / 0.5653 GB, free: 7.203 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.481e-06/0.01881, allocations: 3.938 kB / 0.5653 GB, free: 7.199 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.01883, allocations: 7.938 kB / 0.5653 GB, free: 7.191 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/0.0192, allocations: 75.88 kB / 0.5654 GB, free: 7.117 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.01921, allocations: 8 kB / 0.5654 GB, free: 7.109 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002987/0.01951, allocations: 55.75 kB / 0.5654 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.01955, allocations: 19.98 kB / 0.5654 GB, free: 7.035 MB / 478.1 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.0001599/0.01971, allocations: 154.7 kB / 0.5656 GB, free: 6.875 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.781e-05/0.01978, allocations: 27.86 kB / 0.5656 GB, free: 6.848 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007148/0.0205, allocations: 358.4 kB / 0.5659 GB, free: 6.492 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.02051, allocations: 11.94 kB / 0.566 GB, free: 6.48 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.02052, allocations: 4 kB / 0.566 GB, free: 6.477 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.02053, allocations: 7.984 kB / 0.566 GB, free: 6.469 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.02086, allocations: 245 kB / 0.5662 GB, free: 6.199 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.02086, allocations: 0 / 0.5662 GB, free: 6.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002981/0.02116, allocations: 75.84 kB / 0.5663 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.02117, allocations: 7.984 kB / 0.5663 GB, free: 6.117 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.0212, allocations: 20 kB / 0.5663 GB, free: 6.098 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.585e-06/0.02121, allocations: 8 kB / 0.5663 GB, free: 6.09 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.02121, allocations: 3.938 kB / 0.5663 GB, free: 6.086 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007648/0.02198, allocations: 0.4889 MB / 0.5668 GB, free: 5.543 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.02213, allocations: 71.62 kB / 0.5669 GB, free: 5.473 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.387e-05/0.02218, allocations: 16 kB / 0.5669 GB, free: 5.457 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.02243, allocations: 31.97 kB / 0.5669 GB, free: 5.426 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.02255, allocations: 51.8 kB / 0.567 GB, free: 5.375 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.678e-05/0.02258, allocations: 23.98 kB / 0.567 GB, free: 5.352 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001095/0.02269, allocations: 131.2 kB / 0.5671 GB, free: 5.223 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02269, allocations: 3.938 kB / 0.5671 GB, free: 5.219 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005814/0.02327, allocations: 227.2 kB / 0.5673 GB, free: 4.996 MB / 478.1 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.0006237/0.0239, allocations: 368.7 kB / 0.5677 GB, free: 4.629 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0006566/0.02455, allocations: 313.7 kB / 0.568 GB, free: 4.328 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.02456, allocations: 0 / 0.568 GB, free: 4.328 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.02486, allocations: 168.2 kB / 0.5681 GB, free: 4.164 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.02514, allocations: 40.02 kB / 0.5682 GB, free: 4.125 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009843/0.02613, allocations: 0.5451 MB / 0.5687 GB, free: 3.52 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001447/0.02627, allocations: 151.7 kB / 0.5688 GB, free: 3.352 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001761/0.02645, allocations: 53.44 kB / 0.5689 GB, free: 3.305 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.02658, allocations: 48.48 kB / 0.5689 GB, free: 3.258 MB / 478.1 MB Notification: Performance of SimCode: time 7.31e-07/0.02658, allocations: 4 kB / 0.5689 GB, free: 3.254 MB / 478.1 MB Notification: Performance of Templates: time 0.01128/0.03787, allocations: 5.788 MB / 0.5746 GB, free: 13.54 MB / 494.1 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.294745862483978] Failed to read output from testmodel.py, exit status != 0: 0.04684765636920929 0.061769508 0.049808593000000005 Calling exit ...